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