]>
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 |
74ad9d2e | 4 | Version: 0.6.35 |
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 |
74ad9d2e | 9 | # Source0-md5: 964fc29d26cc0897f48970c9773fd6f1 |
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 | |
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 |
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 |
74ad9d2e | 34 | Obsoletes: vala-accountsservice |
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 | ||
75 | %prep | |
76 | %setup -q | |
77 | ||
78 | %build | |
79 | %{__intltoolize} | |
80 | %{__libtoolize} | |
c408edc1 | 81 | %{__gtkdocize} |
4baa78bc AF |
82 | %{__aclocal} |
83 | %{__autoconf} | |
84 | %{__autoheader} | |
85 | %{__automake} | |
86 | %configure \ | |
87 | XMLTO_FLAGS="--skip-validation" \ | |
4c353993 | 88 | --disable-silent-rules \ |
cf4130a7 | 89 | --with-systemdsystemunitdir=%{systemdunitdir} \ |
1393c2e4 ŁK |
90 | --enable-docbook-docs \ |
91 | --enable-admin-group=wheel | |
4baa78bc AF |
92 | %{__make} |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %{__make} install \ | |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
100 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la | |
101 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html | |
102 | ||
103 | %find_lang accounts-service | |
104 | ||
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
224e728c | 108 | %post |
67cf3466 | 109 | /sbin/ldconfig |
fc7cea7f | 110 | %systemd_post accounts-daemon.service |
cf4130a7 | 111 | |
224e728c | 112 | %preun |
cf4130a7 AF |
113 | %systemd_preun accounts-daemon.service |
114 | ||
224e728c | 115 | %postun |
67cf3466 | 116 | /sbin/ldconfig |
fc7cea7f | 117 | %systemd_reload |
cf4130a7 | 118 | |
224e728c JR |
119 | %triggerpostun -- accountsservice < 0.6.15-5 |
120 | %systemd_trigger accounts-daemon.service | |
121 | ||
4baa78bc AF |
122 | %files -f accounts-service.lang |
123 | %defattr(644,root,root,755) | |
124 | %doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html | |
4c353993 MB |
125 | %attr(755,root,root) %{_libexecdir}/accounts-daemon |
126 | %attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.* | |
4baa78bc | 127 | %attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0 |
4c353993 MB |
128 | %{_libdir}/girepository-1.0/AccountsService-1.0.typelib |
129 | /etc/dbus-1/system.d/org.freedesktop.Accounts.conf | |
224e728c | 130 | %{systemdunitdir}/accounts-daemon.service |
4baa78bc AF |
131 | %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service |
132 | %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy | |
607cec3c MB |
133 | %dir /var/lib/AccountsService |
134 | %dir /var/lib/AccountsService/icons | |
135 | %dir /var/lib/AccountsService/users | |
4baa78bc AF |
136 | |
137 | %files devel | |
138 | %defattr(644,root,root,755) | |
4baa78bc AF |
139 | %attr(755,root,root) %{_libdir}/libaccountsservice.so |
140 | %{_includedir}/accountsservice-1.0 | |
4c353993 MB |
141 | %{_pkgconfigdir}/accountsservice.pc |
142 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml | |
143 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml | |
144 | %{_datadir}/gir-1.0/AccountsService-1.0.gir | |
4baa78bc AF |
145 | |
146 | %files static | |
147 | %defattr(644,root,root,755) | |
148 | %{_libdir}/libaccountsservice.a |