]> git.pld-linux.org Git - packages/accountsservice.git/blame - accountsservice.spec
Add -fdo57343.patch to fix segfault on 32bit systems. Release 2
[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
c408edc1 4Version: 0.6.29
b778f679 5Release: 2
4c353993 6License: GPL v3
4baa78bc 7Group: Applications/System
79fe1c6a 8Source0: http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.xz
c408edc1 9# Source0-md5: af6c309935b697d0cb8f7af66a088518
b778f679 10Patch0: %{name}-fdo57343.patch
4baa78bc 11URL: http://cgit.freedesktop.org/accountsservice/
4e60aced 12BuildRequires: autoconf
13BuildRequires: automake
4baa78bc 14BuildRequires: dbus-glib-devel
4e60aced 15BuildRequires: docbook-dtd412-xml
16BuildRequires: gettext-devel
4baa78bc 17BuildRequires: glib2-devel >= 1:2.26.0
4c353993 18BuildRequires: gobject-introspection-devel >= 0.10.0
c408edc1 19BuildRequires: gtk-doc >= 1.15
4baa78bc 20BuildRequires: intltool >= 0.40.0
4e60aced 21BuildRequires: libtool
4baa78bc 22BuildRequires: libxslt-progs
4e60aced 23BuildRequires: pkgconfig
4bad0b4d 24BuildRequires: polkit-devel >= 0.102
224e728c 25BuildRequires: rpmbuild(macros) >= 1.641
ecbf8e18 26BuildRequires: systemd-devel >= 186
79fe1c6a 27BuildRequires: tar >= 1:1.22
4baa78bc 28BuildRequires: xmlto
79fe1c6a 29BuildRequires: xz
310c4a00 30Requires(post,preun,postun): systemd-units >= 38
4bad0b4d 31Requires: polkit >= 0.102
224e728c 32Requires: systemd-units >= 0.38
79fe1c6a 33Suggests: ConsoleKit
23ef61da 34Obsoletes: accountsservice-systemd
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
79fe1c6a
MB
75%package -n vala-accountsservice
76Summary: accountsservice API for Vala language
77Summary(pl.UTF-8): API accountsservice dla języka Vala
78Group: Development/Libraries
79Requires: %{name}-devel = %{version}-%{release}
80
81%description -n vala-accountsservice
82accountsservice API for Vala language.
83
84%description -n vala-accountsservice -l pl.UTF-8
85API accountsservice dla języka Vala.
86
4baa78bc
AF
87%prep
88%setup -q
b778f679 89%patch0 -p1
4baa78bc
AF
90
91%build
92%{__intltoolize}
93%{__libtoolize}
c408edc1 94%{__gtkdocize}
4baa78bc
AF
95%{__aclocal}
96%{__autoconf}
97%{__autoheader}
98%{__automake}
99%configure \
100 XMLTO_FLAGS="--skip-validation" \
4c353993 101 --disable-silent-rules \
cf4130a7 102 --with-systemdsystemunitdir=%{systemdunitdir} \
4baa78bc
AF
103 --enable-docbook-docs
104%{__make}
105
106%install
107rm -rf $RPM_BUILD_ROOT
108
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
111
112%{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la
113%{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html
114
115%find_lang accounts-service
116
117%clean
118rm -rf $RPM_BUILD_ROOT
119
224e728c 120%post
67cf3466 121/sbin/ldconfig
fc7cea7f 122%systemd_post accounts-daemon.service
cf4130a7 123
224e728c 124%preun
cf4130a7
AF
125%systemd_preun accounts-daemon.service
126
224e728c 127%postun
67cf3466 128/sbin/ldconfig
fc7cea7f 129%systemd_reload
cf4130a7 130
224e728c
JR
131%triggerpostun -- accountsservice < 0.6.15-5
132%systemd_trigger accounts-daemon.service
133
4baa78bc
AF
134%files -f accounts-service.lang
135%defattr(644,root,root,755)
136%doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html
4c353993
MB
137%attr(755,root,root) %{_libexecdir}/accounts-daemon
138%attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.*
4baa78bc 139%attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0
4c353993
MB
140%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
141/etc/dbus-1/system.d/org.freedesktop.Accounts.conf
224e728c 142%{systemdunitdir}/accounts-daemon.service
4baa78bc
AF
143%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
144%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
607cec3c
MB
145%dir /var/lib/AccountsService
146%dir /var/lib/AccountsService/icons
147%dir /var/lib/AccountsService/users
4baa78bc
AF
148
149%files devel
150%defattr(644,root,root,755)
4baa78bc
AF
151%attr(755,root,root) %{_libdir}/libaccountsservice.so
152%{_includedir}/accountsservice-1.0
4c353993
MB
153%{_pkgconfigdir}/accountsservice.pc
154%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
155%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
156%{_datadir}/gir-1.0/AccountsService-1.0.gir
4baa78bc
AF
157
158%files static
159%defattr(644,root,root,755)
160%{_libdir}/libaccountsservice.a
79fe1c6a
MB
161
162%files -n vala-accountsservice
163%defattr(644,root,root,755)
164%{_datadir}/vala/vapi/accountsservice.deps
165%{_datadir}/vala/vapi/accountsservice.vapi
This page took 0.071079 seconds and 4 git commands to generate.