]> git.pld-linux.org Git - packages/accountsservice.git/commitdiff
- rel 5
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 5 Feb 2012 16:03:09 +0000 (16:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- merge systemd stuff into main package

Changed files:
    accountsservice.spec -> 1.20

accountsservice.spec

index afac9e962ddc80204c63b9bf25bec017ad3f2739..9837f2f6111f4a65b18fbef81200f8e0b756fb73 100644 (file)
@@ -2,7 +2,7 @@ Summary:        D-Bus interface for user accounts management
 Summary(pl.UTF-8):     Interfejs D-Bus do zarządzania kontami użytkowników
 Name:          accountsservice
 Version:       0.6.15
-Release:       4
+Release:       5
 License:       GPL v3
 Group:         Applications/System
 Source0:       http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.bz2
@@ -20,10 +20,11 @@ BuildRequires:      libtool
 BuildRequires: libxslt-progs
 BuildRequires: pkgconfig
 BuildRequires: polkit-devel >= 0.102
-BuildRequires: rpmbuild(macros) >= 1.629
+BuildRequires: rpmbuild(macros) >= 1.641
 BuildRequires: xmlto
 Requires:      ConsoleKit
 Requires:      polkit >= 0.102
+Requires:      systemd-units >= 0.38
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,15 +41,6 @@ Projekt AccountsService dostarcza:
 - Implementacje tych interfejsów oparte o komendy usermod(8),
   useradd(8) i userdel(8).
 
-%package systemd
-Summary:       systemd unit for accountsservice
-Group:         Daemons
-Requires:      %{name} = %{version}-%{release}
-Requires:      systemd-units
-
-%description systemd
-systemd unit for accountsservice.
-
 %package devel
 Summary:       accountsservice includes, and more
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki accountsservice
@@ -107,15 +99,18 @@ rm -rf $RPM_BUILD_ROOT
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%post systemd
+%post
 %systemd_post accounts-daemon.service
 
-%preun systemd
+%preun
 %systemd_preun accounts-daemon.service
 
-%postun systemd
+%postun
 %systemd_reload
 
+%triggerpostun -- accountsservice < 0.6.15-5
+%systemd_trigger accounts-daemon.service
+
 %files -f accounts-service.lang
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html
@@ -124,16 +119,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0
 %{_libdir}/girepository-1.0/AccountsService-1.0.typelib
 /etc/dbus-1/system.d/org.freedesktop.Accounts.conf
+%{systemdunitdir}/accounts-daemon.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
 %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
 %dir /var/lib/AccountsService
 %dir /var/lib/AccountsService/icons
 %dir /var/lib/AccountsService/users
 
-%files systemd
-%defattr(644,root,root,755)
-%{systemdunitdir}/accounts-daemon.service
-
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libaccountsservice.so
This page took 0.146736 seconds and 4 git commands to generate.