- tighten subpkg dependencies
- -devel: drop hard-coded glib2 dep (pkgconfig auto deps handles it)
- .spec cosmetics
- own %_datadir/accounts (and children)
epel9
Rex Dieter 9 years ago
parent 1e3a835409
commit aaa795a823

@ -1,7 +1,6 @@
Name: libaccounts-glib Name: libaccounts-glib
Version: 1.18 Version: 1.18
Release: 2%{?dist} Release: 3%{?dist}
Group: System Environment/Libraries
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
@ -22,9 +21,7 @@ BuildRequires: gtk-doc
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
@ -54,6 +51,9 @@ make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
# create/own data dirs
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 -rf %{buildroot}%{_prefix}/doc/reference
@ -75,23 +75,27 @@ rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test
%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
%{_libdir}/%{name}.so.* %{_libdir}/libaccounts-glib.so.0*
%{_libdir}/girepository-1.0/Accounts-1.0.typelib %{_libdir}/girepository-1.0/Accounts-1.0.typelib
%dir %{_datadir}/xml/ %dir %{_datadir}/xml/
%dir %{_datadir}/xml/accounts/ %dir %{_datadir}/xml/accounts/
%dir %{_datadir}/xml/accounts/schema/ %dir %{_datadir}/xml/accounts/schema/
%dir %{_datadir}/xml/accounts/schema/dtd %dir %{_datadir}/xml/accounts/schema/dtd
%{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd %{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd
%dir %{_datadir}/accounts/
%dir %{_datadir}/accounts/applications/
%dir %{_datadir}/accounts/providers/
%dir %{_datadir}/accounts/services/
%dir %{_datadir}/accounts/service_types/
%files devel %files devel
%defattr(-,root,root,-) %{_libdir}/libaccounts-glib.so
%{_libdir}/%{name}.so %{_libdir}/pkgconfig/libaccounts-glib.pc
%{_libdir}/pkgconfig/%{name}.pc %{_includedir}/libaccounts-glib
%{_includedir}/%{name}
%{_datadir}/gir-1.0/Accounts-1.0.gir %{_datadir}/gir-1.0/Accounts-1.0.gir
%{_libdir}/libaccounts-glib %{_libdir}/libaccounts-glib/
%{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/dbus-1/interfaces/*.xml
%{_datadir}/libaccounts-glib %{_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
@ -99,6 +103,12 @@ rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test
%doc %{_datadir}/gtk-doc/html/libaccounts-glib/ %doc %{_datadir}/gtk-doc/html/libaccounts-glib/
%changelog %changelog
* Mon Sep 28 2015 Rex Dieter <rdieter@fedoraproject.org> - 1.18-3
- tighten subpkg dependencies
- -devel: drop hard-coded glib2 dep (pkgconfig auto deps handles it)
- .spec cosmetics
- own %%_datadir/accounts (and children)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save