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