]> git.pld-linux.org Git - packages/accountsservice.git/blame - accountsservice.spec
- updated to 0.6.37
[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
7feb6b91 4Version: 0.6.37
7ef9ea83 5Release: 1
4c353993 6License: GPL v3
4baa78bc 7Group: Applications/System
79fe1c6a 8Source0: http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.xz
7feb6b91 9# Source0-md5: d4842f2a054459746947f85476144077
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
74ad9d2e 16BuildRequires: glib2-devel >= 1:2.38.0
4c353993 17BuildRequires: gobject-introspection-devel >= 0.10.0
c408edc1 18BuildRequires: gtk-doc >= 1.15
4baa78bc 19BuildRequires: intltool >= 0.40.0
4e60aced 20BuildRequires: libtool
4baa78bc 21BuildRequires: libxslt-progs
4e60aced 22BuildRequires: pkgconfig
4bad0b4d 23BuildRequires: polkit-devel >= 0.102
224e728c 24BuildRequires: rpmbuild(macros) >= 1.641
ecbf8e18 25BuildRequires: systemd-devel >= 186
79fe1c6a 26BuildRequires: tar >= 1:1.22
4baa78bc 27BuildRequires: xmlto
79fe1c6a 28BuildRequires: xz
310c4a00 29Requires(post,preun,postun): systemd-units >= 38
4bad0b4d 30Requires: polkit >= 0.102
224e728c 31Requires: systemd-units >= 0.38
79fe1c6a 32Suggests: ConsoleKit
23ef61da 33Obsoletes: accountsservice-systemd
74ad9d2e 34Obsoletes: vala-accountsservice
4baa78bc
AF
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
4e60aced 38The AccountsService project provides:
39- A set of D-Bus interfaces for querying and manipulating user account
40 information.
41- An implementation of these interfaces based on the usermod(8),
42 useradd(8) and userdel(8) commands.
4baa78bc 43
7a647270
ŁK
44%description -l pl.UTF-8
45Projekt AccountsService dostarcza:
46- Zbiór interfejsów D-Bus do odpytywania i manipulowania informacjami
47 o kontach użytkowników.
48- Implementacje tych interfejsów oparte o komendy usermod(8),
49 useradd(8) i userdel(8).
50
4baa78bc
AF
51%package devel
52Summary: accountsservice includes, and more
53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki accountsservice
54Group: Development/Libraries
55Requires: %{name} = %{version}-%{release}
56
57%description devel
58accountsservice includes, and more
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe biblioteki accountsservice.
62
63%package static
64Summary: accountsservice static library
65Summary(pl.UTF-8): Statyczna biblioteka accountsservice
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70accountsservice static library.
71
72%description static -l pl.UTF-8
73Statyczna biblioteka accountsservice.
74
75%prep
76%setup -q
77
78%build
79%{__intltoolize}
80%{__libtoolize}
c408edc1 81%{__gtkdocize}
4baa78bc
AF
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} \
1393c2e4
ŁK
90 --enable-docbook-docs \
91 --enable-admin-group=wheel
4baa78bc
AF
92%{__make}
93
94%install
95rm -rf $RPM_BUILD_ROOT
96
97%{__make} install \
98 DESTDIR=$RPM_BUILD_ROOT
99
100%{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la
101%{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html
102
103%find_lang accounts-service
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
224e728c 108%post
67cf3466 109/sbin/ldconfig
fc7cea7f 110%systemd_post accounts-daemon.service
cf4130a7 111
224e728c 112%preun
cf4130a7
AF
113%systemd_preun accounts-daemon.service
114
224e728c 115%postun
67cf3466 116/sbin/ldconfig
fc7cea7f 117%systemd_reload
cf4130a7 118
224e728c
JR
119%triggerpostun -- accountsservice < 0.6.15-5
120%systemd_trigger accounts-daemon.service
121
4baa78bc
AF
122%files -f accounts-service.lang
123%defattr(644,root,root,755)
124%doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html
4c353993
MB
125%attr(755,root,root) %{_libexecdir}/accounts-daemon
126%attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.*
4baa78bc 127%attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0
4c353993
MB
128%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
129/etc/dbus-1/system.d/org.freedesktop.Accounts.conf
224e728c 130%{systemdunitdir}/accounts-daemon.service
4baa78bc
AF
131%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
132%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
607cec3c
MB
133%dir /var/lib/AccountsService
134%dir /var/lib/AccountsService/icons
135%dir /var/lib/AccountsService/users
4baa78bc
AF
136
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.248084 seconds and 4 git commands to generate.