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