]> git.pld-linux.org Git - packages/accountsservice.git/blame - accountsservice.spec
- rel 6
[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
23ef61da 5Release: 6
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
224e728c 23BuildRequires: rpmbuild(macros) >= 1.641
4baa78bc 24BuildRequires: xmlto
607cec3c 25Requires: ConsoleKit
4bad0b4d 26Requires: polkit >= 0.102
224e728c 27Requires: systemd-units >= 0.38
23ef61da 28Obsoletes: accountsservice-systemd
4baa78bc
AF
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
4e60aced 32The AccountsService project provides:
33- A set of D-Bus interfaces for querying and manipulating user account
34 information.
35- An implementation of these interfaces based on the usermod(8),
36 useradd(8) and userdel(8) commands.
4baa78bc 37
7a647270
ŁK
38%description -l pl.UTF-8
39Projekt AccountsService dostarcza:
40- Zbiór interfejsów D-Bus do odpytywania i manipulowania informacjami
41 o kontach użytkowników.
42- Implementacje tych interfejsów oparte o komendy usermod(8),
43 useradd(8) i userdel(8).
44
4baa78bc
AF
45%package devel
46Summary: accountsservice includes, and more
47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki accountsservice
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description devel
52accountsservice includes, and more
53
54%description devel -l pl.UTF-8
55Pliki nagłówkowe biblioteki accountsservice.
56
57%package static
58Summary: accountsservice static library
59Summary(pl.UTF-8): Statyczna biblioteka accountsservice
60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
62
63%description static
64accountsservice static library.
65
66%description static -l pl.UTF-8
67Statyczna biblioteka accountsservice.
68
69%prep
70%setup -q
71
72%build
73%{__intltoolize}
74%{__libtoolize}
75%{__aclocal}
76%{__autoconf}
77%{__autoheader}
78%{__automake}
79%configure \
80 XMLTO_FLAGS="--skip-validation" \
4c353993 81 --disable-silent-rules \
cf4130a7 82 --with-systemdsystemunitdir=%{systemdunitdir} \
4baa78bc
AF
83 --enable-docbook-docs
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
92%{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la
93%{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html
94
95%find_lang accounts-service
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
224e728c 100%post
67cf3466 101/sbin/ldconfig
fc7cea7f 102%systemd_post accounts-daemon.service
cf4130a7 103
224e728c 104%preun
cf4130a7
AF
105%systemd_preun accounts-daemon.service
106
224e728c 107%postun
67cf3466 108/sbin/ldconfig
fc7cea7f 109%systemd_reload
cf4130a7 110
224e728c
JR
111%triggerpostun -- accountsservice < 0.6.15-5
112%systemd_trigger accounts-daemon.service
113
4baa78bc
AF
114%files -f accounts-service.lang
115%defattr(644,root,root,755)
116%doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html
4c353993
MB
117%attr(755,root,root) %{_libexecdir}/accounts-daemon
118%attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.*
4baa78bc 119%attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0
4c353993
MB
120%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
121/etc/dbus-1/system.d/org.freedesktop.Accounts.conf
224e728c 122%{systemdunitdir}/accounts-daemon.service
4baa78bc
AF
123%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
124%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
607cec3c
MB
125%dir /var/lib/AccountsService
126%dir /var/lib/AccountsService/icons
127%dir /var/lib/AccountsService/users
4baa78bc
AF
128
129%files devel
130%defattr(644,root,root,755)
4baa78bc
AF
131%attr(755,root,root) %{_libdir}/libaccountsservice.so
132%{_includedir}/accountsservice-1.0
4c353993
MB
133%{_pkgconfigdir}/accountsservice.pc
134%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
135%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
136%{_datadir}/gir-1.0/AccountsService-1.0.gir
4baa78bc
AF
137
138%files static
139%defattr(644,root,root,755)
140%{_libdir}/libaccountsservice.a
This page took 0.117674 seconds and 4 git commands to generate.