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