]> git.pld-linux.org Git - packages/accountsservice.git/blobdiff - accountsservice.spec
- updated to 0.6.24
[packages/accountsservice.git] / accountsservice.spec
index 2ccf242de6f6d75effb0f7f4968fd045f90afc3f..c4553fb70b2786efc05d469902d43ae68e08fb8f 100644 (file)
@@ -1,12 +1,12 @@
 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.13
+Version:       0.6.24
 Release:       1
 License:       GPL v3
 Group:         Applications/System
-Source0:       http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.bz2
-# Source0-md5: 204b19e4522d5fdd3381b1ea14cd8263
+Source0:       http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.xz
+# Source0-md5: 0c6b2029e780bc1cd17def111f89ef37
 URL:           http://cgit.freedesktop.org/accountsservice/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -20,9 +20,16 @@ BuildRequires:       libtool
 BuildRequires: libxslt-progs
 BuildRequires: pkgconfig
 BuildRequires: polkit-devel >= 0.102
+BuildRequires: rpmbuild(macros) >= 1.641
+BuildRequires: systemd-devel
+BuildRequires: tar >= 1:1.22
 BuildRequires: xmlto
-Requires:      ConsoleKit
+BuildRequires: xz
+Requires(post,preun,postun):   systemd-units >= 38
 Requires:      polkit >= 0.102
+Requires:      systemd-units >= 0.38
+Suggests:      ConsoleKit
+Obsoletes:     accountsservice-systemd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,6 +70,18 @@ accountsservice static library.
 %description static -l pl.UTF-8
 Statyczna biblioteka accountsservice.
 
+%package -n vala-accountsservice
+Summary:       accountsservice API for Vala language
+Summary(pl.UTF-8):     API accountsservice dla języka Vala
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description -n vala-accountsservice
+accountsservice API for Vala language.
+
+%description -n vala-accountsservice -l pl.UTF-8
+API accountsservice dla języka Vala.
+
 %prep
 %setup -q
 
@@ -76,6 +95,7 @@ Statyczna biblioteka accountsservice.
 %configure \
        XMLTO_FLAGS="--skip-validation" \
        --disable-silent-rules \
+       --with-systemdsystemunitdir=%{systemdunitdir} \
        --enable-docbook-docs
 %{__make}
 
@@ -93,8 +113,19 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%systemd_post accounts-daemon.service
+
+%preun
+%systemd_preun accounts-daemon.service
+
+%postun
+/sbin/ldconfig
+%systemd_reload
+
+%triggerpostun -- accountsservice < 0.6.15-5
+%systemd_trigger accounts-daemon.service
 
 %files -f accounts-service.lang
 %defattr(644,root,root,755)
@@ -104,6 +135,7 @@ 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
@@ -122,3 +154,8 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libaccountsservice.a
+
+%files -n vala-accountsservice
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/accountsservice.deps
+%{_datadir}/vala/vapi/accountsservice.vapi
This page took 0.541992 seconds and 4 git commands to generate.