]>
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 |
d7bb3bf5 | 4 | Version: 0.6.40 |
f181f8b3 | 5 | Release: 2 |
4c353993 | 6 | License: GPL v3 |
4baa78bc | 7 | Group: Applications/System |
81ef5f4a | 8 | Source0: http://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz |
d7bb3bf5 | 9 | # Source0-md5: 8b21fe2fbb2b0cf1ba8329596898b203 |
4baa78bc | 10 | URL: http://cgit.freedesktop.org/accountsservice/ |
81ef5f4a | 11 | BuildRequires: autoconf >= 2.50 |
4e60aced | 12 | BuildRequires: automake |
4baa78bc | 13 | BuildRequires: dbus-glib-devel |
4e60aced | 14 | BuildRequires: docbook-dtd412-xml |
90a0387f | 15 | BuildRequires: gettext-tools |
74ad9d2e | 16 | BuildRequires: glib2-devel >= 1:2.38.0 |
4c353993 | 17 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
c408edc1 | 18 | BuildRequires: gtk-doc >= 1.15 |
4baa78bc | 19 | BuildRequires: intltool >= 0.40.0 |
81ef5f4a | 20 | BuildRequires: libtool >= 2:2 |
4baa78bc | 21 | BuildRequires: libxslt-progs |
4e60aced | 22 | BuildRequires: pkgconfig |
4bad0b4d | 23 | BuildRequires: polkit-devel >= 0.102 |
224e728c | 24 | BuildRequires: rpmbuild(macros) >= 1.641 |
ecbf8e18 | 25 | BuildRequires: systemd-devel >= 186 |
79fe1c6a | 26 | BuildRequires: tar >= 1:1.22 |
4baa78bc | 27 | BuildRequires: xmlto |
79fe1c6a | 28 | BuildRequires: xz |
310c4a00 | 29 | Requires(post,preun,postun): systemd-units >= 38 |
81ef5f4a | 30 | Requires: %{name}-libs = %{version}-%{release} |
4bad0b4d | 31 | Requires: polkit >= 0.102 |
224e728c | 32 | Requires: systemd-units >= 0.38 |
79fe1c6a | 33 | Suggests: ConsoleKit |
23ef61da | 34 | Obsoletes: accountsservice-systemd |
74ad9d2e | 35 | Obsoletes: vala-accountsservice |
4baa78bc AF |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
4e60aced | 39 | The AccountsService project provides: |
40 | - A set of D-Bus interfaces for querying and manipulating user account | |
41 | information. | |
42 | - An implementation of these interfaces based on the usermod(8), | |
43 | useradd(8) and userdel(8) commands. | |
4baa78bc | 44 | |
7a647270 ŁK |
45 | %description -l pl.UTF-8 |
46 | Projekt AccountsService dostarcza: | |
47 | - Zbiór interfejsów D-Bus do odpytywania i manipulowania informacjami | |
48 | o kontach użytkowników. | |
49 | - Implementacje tych interfejsów oparte o komendy usermod(8), | |
50 | useradd(8) i userdel(8). | |
51 | ||
81ef5f4a JB |
52 | %package libs |
53 | Summary: Shared accountsservice library | |
54 | Summary(pl.UTF-8): Biblioteka współdzielona accountsservice | |
55 | Group: Libraries | |
56 | Requires: glib2 >= 1:2.38.0 | |
57 | Conflicts: accountsservice < 0.6.39 | |
58 | ||
59 | %description libs | |
60 | Shared accountsservice library. | |
61 | ||
62 | %description libs -l pl.UTF-8 | |
63 | Biblioteka współdzielona accountsservice. | |
64 | ||
4baa78bc | 65 | %package devel |
81ef5f4a JB |
66 | Summary: Development files for accountsservice |
67 | Summary(pl.UTF-8): Pliki programistyczne biblioteki accountsservice | |
4baa78bc | 68 | Group: Development/Libraries |
81ef5f4a JB |
69 | Requires: %{name}-libs = %{version}-%{release} |
70 | Requires: glib2-devel >= 1:2.38.0 | |
4baa78bc AF |
71 | |
72 | %description devel | |
81ef5f4a JB |
73 | Development files for accountsservice (headers, GObject API, D-Bus |
74 | interface description). | |
4baa78bc AF |
75 | |
76 | %description devel -l pl.UTF-8 | |
81ef5f4a JB |
77 | Pliki programistyczne biblioteki accountsservice (pliki nagłówkowe, |
78 | API GObject, opis interfejsu D-Bus). | |
4baa78bc AF |
79 | |
80 | %package static | |
81 | Summary: accountsservice static library | |
82 | Summary(pl.UTF-8): Statyczna biblioteka accountsservice | |
83 | Group: Development/Libraries | |
84 | Requires: %{name}-devel = %{version}-%{release} | |
85 | ||
86 | %description static | |
87 | accountsservice static library. | |
88 | ||
89 | %description static -l pl.UTF-8 | |
90 | Statyczna biblioteka accountsservice. | |
91 | ||
81ef5f4a JB |
92 | %package apidocs |
93 | Summary: API documentation for accountsservice | |
94 | Summary(pl.UTF-8): Dokumentacja API accountsservice | |
95 | Group: Documentation | |
96 | Requires: gtk-doc-common | |
97 | ||
98 | %description apidocs | |
99 | API documentation for accountsservice. | |
100 | ||
101 | %description apidocs -l pl.UTF-8 | |
102 | Dokumentacja API accountsservice. | |
103 | ||
4baa78bc AF |
104 | %prep |
105 | %setup -q | |
106 | ||
107 | %build | |
108 | %{__intltoolize} | |
109 | %{__libtoolize} | |
c408edc1 | 110 | %{__gtkdocize} |
81ef5f4a | 111 | %{__aclocal} -I m4 |
4baa78bc AF |
112 | %{__autoconf} |
113 | %{__autoheader} | |
114 | %{__automake} | |
115 | %configure \ | |
116 | XMLTO_FLAGS="--skip-validation" \ | |
81ef5f4a | 117 | --enable-admin-group=wheel \ |
1393c2e4 | 118 | --enable-docbook-docs \ |
81ef5f4a JB |
119 | --disable-silent-rules \ |
120 | --with-html-dir=%{_gtkdocdir} \ | |
121 | --with-systemdsystemunitdir=%{systemdunitdir} | |
4baa78bc AF |
122 | %{__make} |
123 | ||
124 | %install | |
125 | rm -rf $RPM_BUILD_ROOT | |
126 | ||
127 | %{__make} install \ | |
128 | DESTDIR=$RPM_BUILD_ROOT | |
129 | ||
130 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la | |
131 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html | |
132 | ||
81ef5f4a JB |
133 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{bg_BG,bg} |
134 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fa_IR,fa} | |
135 | ||
4baa78bc AF |
136 | %find_lang accounts-service |
137 | ||
138 | %clean | |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
224e728c | 141 | %post |
fc7cea7f | 142 | %systemd_post accounts-daemon.service |
cf4130a7 | 143 | |
224e728c | 144 | %preun |
cf4130a7 AF |
145 | %systemd_preun accounts-daemon.service |
146 | ||
224e728c | 147 | %postun |
fc7cea7f | 148 | %systemd_reload |
cf4130a7 | 149 | |
224e728c JR |
150 | %triggerpostun -- accountsservice < 0.6.15-5 |
151 | %systemd_trigger accounts-daemon.service | |
152 | ||
81ef5f4a JB |
153 | %post libs -p /sbin/ldconfig |
154 | %postun libs -p /sbin/ldconfig | |
155 | ||
4baa78bc AF |
156 | %files -f accounts-service.lang |
157 | %defattr(644,root,root,755) | |
158 | %doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html | |
4c353993 | 159 | %attr(755,root,root) %{_libexecdir}/accounts-daemon |
4c353993 | 160 | /etc/dbus-1/system.d/org.freedesktop.Accounts.conf |
224e728c | 161 | %{systemdunitdir}/accounts-daemon.service |
4baa78bc AF |
162 | %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service |
163 | %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy | |
607cec3c MB |
164 | %dir /var/lib/AccountsService |
165 | %dir /var/lib/AccountsService/icons | |
166 | %dir /var/lib/AccountsService/users | |
4baa78bc | 167 | |
81ef5f4a JB |
168 | %files libs |
169 | %defattr(644,root,root,755) | |
170 | %attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.* | |
171 | %attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0 | |
172 | %{_libdir}/girepository-1.0/AccountsService-1.0.typelib | |
173 | ||
4baa78bc AF |
174 | %files devel |
175 | %defattr(644,root,root,755) | |
4baa78bc AF |
176 | %attr(755,root,root) %{_libdir}/libaccountsservice.so |
177 | %{_includedir}/accountsservice-1.0 | |
4c353993 MB |
178 | %{_pkgconfigdir}/accountsservice.pc |
179 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml | |
180 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml | |
181 | %{_datadir}/gir-1.0/AccountsService-1.0.gir | |
4baa78bc AF |
182 | |
183 | %files static | |
184 | %defattr(644,root,root,755) | |
185 | %{_libdir}/libaccountsservice.a | |
81ef5f4a JB |
186 | |
187 | %files apidocs | |
188 | %defattr(644,root,root,755) | |
189 | %{_gtkdocdir}/libaccountsservice |