1.21, %check: (advisory) 'make check'

epel9
Rex Dieter 9 years ago
parent eaf7abac5a
commit 3980d69b64

1
.gitignore vendored

@ -2,3 +2,4 @@ libaccounts-glib-0.45.tar.gz
/libaccounts-glib-1.8.tar.gz /libaccounts-glib-1.8.tar.gz
/libaccounts-glib-1.16.tar.gz /libaccounts-glib-1.16.tar.gz
/libaccounts-glib-1.18.tar.gz /libaccounts-glib-1.18.tar.gz
/libaccounts-glib-1.21.tar.gz

@ -1,11 +1,17 @@
%global commit0 00254a604a7c7bd38c41794a80ad8930e90f21aa
%global gittag0 VERSION_%{version}
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global snap0 20160216
Name: libaccounts-glib Name: libaccounts-glib
Version: 1.18 Version: 1.21
Release: 4%{?dist} Release: 1%{?dist}
Summary: Accounts framework for Linux and POSIX based platforms Summary: Accounts framework for Linux and POSIX based platforms
License: LGPLv2 License: LGPLv2
URL: https://gitlab.com/accounts-sso/libaccounts-glib URL: https://gitlab.com/accounts-sso/libaccounts-glib
Source0: https://gitlab.com/accounts-sso/%{name}/repository/archive.tar.gz?ref=VERSION_%{version}#/%{name}-%{version}.tar.gz Source0: https://gitlab.com/accounts-sso/%{name}/repository/archive.tar.gz?ref=%{gittag0}#/%{name}-%{version}.tar.gz
BuildRequires: dbus-glib-devel BuildRequires: dbus-glib-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
@ -22,7 +28,6 @@ BuildRequires: gtk-doc
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -30,48 +35,51 @@ developing applications that use %{name}.
%package docs %package docs
Summary: Documentation for %{name} Summary: Documentation for %{name}
BuildArch: noarch BuildArch: noarch
%description docs %description docs
The %{name}-docs package contains documentation for %{name}. The %{name}-docs package contains documentation for %{name}.
%prep %prep
%setup -q %autosetup -n %{name}-%{gittag0}-%{commit0}
%build %build
gtkdocize NOCONFIGURE=1 \
autoreconf -i --force ./autogen.sh
%configure --disable-static \ %configure \
--disable-gtk-doc --disable-static \
--enable-gtk-doc
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/*.la rm -fv %{buildroot}%{_libdir}/lib*.la
# create/own data dirs # create/own data dirs
mkdir -p %{buildroot}%{_datadir}/accounts/{applications,providers,services,service_types} mkdir -p %{buildroot}%{_datadir}/accounts/{applications,providers,services,service_types}
# add docs manuall to %%doc instead # add docs manuall to %%doc instead
rm -rf %{buildroot}%{_prefix}/doc/reference rm -rfv %{buildroot}%{_prefix}/doc/reference
# remove tests for now %check
rm -f %{buildroot}%{_bindir}/*test* # advisory and non-fatal for now
rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test make check || cat tests/test-suite.log ||:
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%license COPYING %license COPYING
%doc AUTHORS INSTALL ChangeLog README NEWS %doc AUTHORS ChangeLog README NEWS
%{_bindir}/ag-backup %{_bindir}/ag-backup
%{_bindir}/ag-tool %{_bindir}/ag-tool
%{_mandir}/man1/ag-backup.1.gz %{_mandir}/man1/ag-backup.1*
%{_mandir}/man1/ag-tool.1.gz %{_mandir}/man1/ag-tool.1*
%dir %{_datadir}/backup-framework %dir %{_datadir}/backup-framework
%dir %{_datadir}/backup-framework/applications %dir %{_datadir}/backup-framework/applications
%{_datadir}/backup-framework/applications/*.conf %{_datadir}/backup-framework/applications/*.conf
@ -93,16 +101,21 @@ rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test
%{_libdir}/pkgconfig/libaccounts-glib.pc %{_libdir}/pkgconfig/libaccounts-glib.pc
%{_includedir}/libaccounts-glib %{_includedir}/libaccounts-glib
%{_datadir}/gir-1.0/Accounts-1.0.gir %{_datadir}/gir-1.0/Accounts-1.0.gir
%{_libdir}/libaccounts-glib/
%{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/dbus-1/interfaces/*.xml
%{_datadir}/libaccounts-glib/
%{_datadir}/vala/vapi/libaccounts-glib.deps %{_datadir}/vala/vapi/libaccounts-glib.deps
%{_datadir}/vala/vapi/libaccounts-glib.vapi %{_datadir}/vala/vapi/libaccounts-glib.vapi
## testing bits
%{_datadir}/libaccounts-glib/
%{_libdir}/libaccounts-glib/
%files docs %files docs
%doc %{_datadir}/gtk-doc/html/libaccounts-glib/ %doc %{_datadir}/gtk-doc/html/libaccounts-glib/
%changelog %changelog
* Tue Feb 23 2016 Rex Dieter <rdieter@fedoraproject.org> 1.21-1
- 1.21, %%check: (advisory) 'make check'
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

@ -1 +1 @@
fa37ebbe1cc1e8b738368ba86142c197 libaccounts-glib-1.18.tar.gz 88184b9d613e04ae17b164019661d35d libaccounts-glib-1.21.tar.gz

Loading…
Cancel
Save