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