]>
Commit | Line | Data |
---|---|---|
4baa78bc AF |
1 | Summary: D-Bus interface for user accounts management |
2 | Name: accountsservice | |
def38d0a | 3 | Version: 0.6.5 |
4baa78bc AF |
4 | Release: 0.1 |
5 | License: LGPL | |
6 | Group: Applications/System | |
7 | Source0: http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.bz2 | |
def38d0a | 8 | # Source0-md5: 81f5298e9c7c572f3cf6d88490a08743 |
4baa78bc | 9 | URL: http://cgit.freedesktop.org/accountsservice/ |
4e60aced | 10 | BuildRequires: autoconf |
11 | BuildRequires: automake | |
4baa78bc | 12 | BuildRequires: dbus-glib-devel |
4e60aced | 13 | BuildRequires: docbook-dtd412-xml |
14 | BuildRequires: gettext-devel | |
4baa78bc AF |
15 | BuildRequires: glib2-devel >= 1:2.26.0 |
16 | BuildRequires: intltool >= 0.40.0 | |
4e60aced | 17 | BuildRequires: libtool |
4baa78bc | 18 | BuildRequires: libxslt-progs |
4e60aced | 19 | BuildRequires: pkgconfig |
4baa78bc AF |
20 | BuildRequires: polkit-devel |
21 | BuildRequires: xmlto | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
4e60aced | 25 | The AccountsService project provides: |
26 | - A set of D-Bus interfaces for querying and manipulating user account | |
27 | information. | |
28 | - An implementation of these interfaces based on the usermod(8), | |
29 | useradd(8) and userdel(8) commands. | |
4baa78bc AF |
30 | |
31 | %package devel | |
32 | Summary: accountsservice includes, and more | |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki accountsservice | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | ||
37 | %description devel | |
38 | accountsservice includes, and more | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe biblioteki accountsservice. | |
42 | ||
43 | %package static | |
44 | Summary: accountsservice static library | |
45 | Summary(pl.UTF-8): Statyczna biblioteka accountsservice | |
46 | Group: Development/Libraries | |
47 | Requires: %{name}-devel = %{version}-%{release} | |
48 | ||
49 | %description static | |
50 | accountsservice static library. | |
51 | ||
52 | %description static -l pl.UTF-8 | |
53 | Statyczna biblioteka accountsservice. | |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | %{__intltoolize} | |
60 | %{__libtoolize} | |
61 | %{__aclocal} | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
65 | %configure \ | |
66 | XMLTO_FLAGS="--skip-validation" \ | |
67 | --enable-docbook-docs | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la | |
77 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html | |
78 | ||
79 | %find_lang accounts-service | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files -f accounts-service.lang | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html | |
90 | /etc/dbus-1/system.d/org.freedesktop.Accounts.conf | |
91 | %attr(755,root,root) %{_libdir}/accounts-daemon | |
92 | %{_libdir}/girepository-1.0/AccountsService-1.0.typelib | |
93 | %attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0 | |
94 | %attr(755,root,root) %{_libdir}/libaccountsservice.so.0.0.0 | |
95 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml | |
96 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml | |
97 | %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service | |
98 | %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %{_datadir}/gir-1.0/AccountsService-1.0.gir | |
103 | %{_pkgconfigdir}/accountsservice.pc | |
104 | %attr(755,root,root) %{_libdir}/libaccountsservice.so | |
105 | %{_includedir}/accountsservice-1.0 | |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/libaccountsservice.a |