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