]> git.pld-linux.org Git - packages/accountsservice.git/blame - accountsservice.spec
- use newer systemd macros
[packages/accountsservice.git] / accountsservice.spec
CommitLineData
4baa78bc 1Summary: D-Bus interface for user accounts management
7a647270 2Summary(pl.UTF-8): Interfejs D-Bus do zarządzania kontami użytkowników
4baa78bc 3Name: accountsservice
3a7ce425 4Version: 0.6.15
fc7cea7f 5Release: 3
4c353993 6License: GPL v3
4baa78bc
AF
7Group: Applications/System
8Source0: http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.bz2
3a7ce425 9# Source0-md5: 939e58e57334801ca578b182a09141c4
4baa78bc 10URL: http://cgit.freedesktop.org/accountsservice/
4e60aced 11BuildRequires: autoconf
12BuildRequires: automake
4baa78bc 13BuildRequires: dbus-glib-devel
4e60aced 14BuildRequires: docbook-dtd412-xml
15BuildRequires: gettext-devel
4baa78bc 16BuildRequires: glib2-devel >= 1:2.26.0
4c353993 17BuildRequires: gobject-introspection-devel >= 0.10.0
4baa78bc 18BuildRequires: intltool >= 0.40.0
4e60aced 19BuildRequires: libtool
4baa78bc 20BuildRequires: libxslt-progs
4e60aced 21BuildRequires: pkgconfig
4bad0b4d 22BuildRequires: polkit-devel >= 0.102
fc7cea7f 23BuildRequires: rpmbuild(macros) >= 1.626
4baa78bc 24BuildRequires: xmlto
607cec3c 25Requires: ConsoleKit
4bad0b4d 26Requires: polkit >= 0.102
4baa78bc
AF
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
4e60aced 30The AccountsService project provides:
31- A set of D-Bus interfaces for querying and manipulating user account
32 information.
33- An implementation of these interfaces based on the usermod(8),
34 useradd(8) and userdel(8) commands.
4baa78bc 35
7a647270
ŁK
36%description -l pl.UTF-8
37Projekt AccountsService dostarcza:
38- Zbiór interfejsów D-Bus do odpytywania i manipulowania informacjami
39 o kontach użytkowników.
40- Implementacje tych interfejsów oparte o komendy usermod(8),
41 useradd(8) i userdel(8).
42
cf4130a7
AF
43%package systemd
44Summary: systemd unit for accountsservice
45Group: Daemons
46Requires: %{name} = %{version}-%{release}
47Requires: systemd-units
48
49%description systemd
50systemd unit for accountsservice.
51
4baa78bc
AF
52%package devel
53Summary: accountsservice includes, and more
54Summary(pl.UTF-8): Pliki nagłówkowe biblioteki accountsservice
55Group: Development/Libraries
56Requires: %{name} = %{version}-%{release}
57
58%description devel
59accountsservice includes, and more
60
61%description devel -l pl.UTF-8
62Pliki nagłówkowe biblioteki accountsservice.
63
64%package static
65Summary: accountsservice static library
66Summary(pl.UTF-8): Statyczna biblioteka accountsservice
67Group: Development/Libraries
68Requires: %{name}-devel = %{version}-%{release}
69
70%description static
71accountsservice static library.
72
73%description static -l pl.UTF-8
74Statyczna biblioteka accountsservice.
75
76%prep
77%setup -q
78
79%build
80%{__intltoolize}
81%{__libtoolize}
82%{__aclocal}
83%{__autoconf}
84%{__autoheader}
85%{__automake}
86%configure \
87 XMLTO_FLAGS="--skip-validation" \
4c353993 88 --disable-silent-rules \
cf4130a7 89 --with-systemdsystemunitdir=%{systemdunitdir} \
4baa78bc
AF
90 --enable-docbook-docs
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
95
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
98
99%{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la
100%{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html
101
102%find_lang accounts-service
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
109
cf4130a7 110%post systemd
fc7cea7f 111%systemd_post accounts-daemon.service
cf4130a7
AF
112
113%preun systemd
114%systemd_preun accounts-daemon.service
115
116%postun systemd
fc7cea7f 117%systemd_reload
cf4130a7 118
4baa78bc
AF
119%files -f accounts-service.lang
120%defattr(644,root,root,755)
121%doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html
4c353993
MB
122%attr(755,root,root) %{_libexecdir}/accounts-daemon
123%attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.*
4baa78bc 124%attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0
4c353993
MB
125%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
126/etc/dbus-1/system.d/org.freedesktop.Accounts.conf
4baa78bc
AF
127%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
128%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
607cec3c
MB
129%dir /var/lib/AccountsService
130%dir /var/lib/AccountsService/icons
131%dir /var/lib/AccountsService/users
4baa78bc 132
cf4130a7
AF
133%files systemd
134%defattr(644,root,root,755)
135%{systemdunitdir}/accounts-daemon.service
136
4baa78bc
AF
137%files devel
138%defattr(644,root,root,755)
4baa78bc
AF
139%attr(755,root,root) %{_libdir}/libaccountsservice.so
140%{_includedir}/accountsservice-1.0
4c353993
MB
141%{_pkgconfigdir}/accountsservice.pc
142%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
143%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
144%{_datadir}/gir-1.0/AccountsService-1.0.gir
4baa78bc
AF
145
146%files static
147%defattr(644,root,root,755)
148%{_libdir}/libaccountsservice.a
This page took 0.124688 seconds and 4 git commands to generate.