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