]>
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 |
3a7ce425 | 4 | Version: 0.6.15 |
fc7cea7f | 5 | Release: 3 |
4c353993 | 6 | License: GPL v3 |
4baa78bc AF |
7 | Group: Applications/System |
8 | Source0: http://cgit.freedesktop.org/accountsservice/snapshot/%{name}-%{version}.tar.bz2 | |
3a7ce425 | 9 | # Source0-md5: 939e58e57334801ca578b182a09141c4 |
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 |
fc7cea7f | 23 | BuildRequires: rpmbuild(macros) >= 1.626 |
4baa78bc | 24 | BuildRequires: xmlto |
607cec3c | 25 | Requires: ConsoleKit |
4bad0b4d | 26 | Requires: polkit >= 0.102 |
4baa78bc AF |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
4e60aced | 30 | The AccountsService project provides: |
31 | - A set of D-Bus interfaces for querying and manipulating user account | |
32 | information. | |
33 | - An implementation of these interfaces based on the usermod(8), | |
34 | useradd(8) and userdel(8) commands. | |
4baa78bc | 35 | |
7a647270 ŁK |
36 | %description -l pl.UTF-8 |
37 | Projekt AccountsService dostarcza: | |
38 | - Zbiór interfejsów D-Bus do odpytywania i manipulowania informacjami | |
39 | o kontach użytkowników. | |
40 | - Implementacje tych interfejsów oparte o komendy usermod(8), | |
41 | useradd(8) i userdel(8). | |
42 | ||
cf4130a7 AF |
43 | %package systemd |
44 | Summary: systemd unit for accountsservice | |
45 | Group: Daemons | |
46 | Requires: %{name} = %{version}-%{release} | |
47 | Requires: systemd-units | |
48 | ||
49 | %description systemd | |
50 | systemd unit for accountsservice. | |
51 | ||
4baa78bc AF |
52 | %package devel |
53 | Summary: accountsservice includes, and more | |
54 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki accountsservice | |
55 | Group: Development/Libraries | |
56 | Requires: %{name} = %{version}-%{release} | |
57 | ||
58 | %description devel | |
59 | accountsservice includes, and more | |
60 | ||
61 | %description devel -l pl.UTF-8 | |
62 | Pliki nagłówkowe biblioteki accountsservice. | |
63 | ||
64 | %package static | |
65 | Summary: accountsservice static library | |
66 | Summary(pl.UTF-8): Statyczna biblioteka accountsservice | |
67 | Group: Development/Libraries | |
68 | Requires: %{name}-devel = %{version}-%{release} | |
69 | ||
70 | %description static | |
71 | accountsservice static library. | |
72 | ||
73 | %description static -l pl.UTF-8 | |
74 | Statyczna biblioteka accountsservice. | |
75 | ||
76 | %prep | |
77 | %setup -q | |
78 | ||
79 | %build | |
80 | %{__intltoolize} | |
81 | %{__libtoolize} | |
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} \ |
4baa78bc AF |
90 | --enable-docbook-docs |
91 | %{__make} | |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %{__make} install \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
99 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libaccountsservice.la | |
100 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/accountsservice/spec/AccountsService.html | |
101 | ||
102 | %find_lang accounts-service | |
103 | ||
104 | %clean | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %post -p /sbin/ldconfig | |
108 | %postun -p /sbin/ldconfig | |
109 | ||
cf4130a7 | 110 | %post systemd |
fc7cea7f | 111 | %systemd_post accounts-daemon.service |
cf4130a7 AF |
112 | |
113 | %preun systemd | |
114 | %systemd_preun accounts-daemon.service | |
115 | ||
116 | %postun systemd | |
fc7cea7f | 117 | %systemd_reload |
cf4130a7 | 118 | |
4baa78bc AF |
119 | %files -f accounts-service.lang |
120 | %defattr(644,root,root,755) | |
121 | %doc AUTHORS NEWS README TODO doc/dbus/AccountsService.html | |
4c353993 MB |
122 | %attr(755,root,root) %{_libexecdir}/accounts-daemon |
123 | %attr(755,root,root) %{_libdir}/libaccountsservice.so.*.*.* | |
4baa78bc | 124 | %attr(755,root,root) %ghost %{_libdir}/libaccountsservice.so.0 |
4c353993 MB |
125 | %{_libdir}/girepository-1.0/AccountsService-1.0.typelib |
126 | /etc/dbus-1/system.d/org.freedesktop.Accounts.conf | |
4baa78bc AF |
127 | %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service |
128 | %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy | |
607cec3c MB |
129 | %dir /var/lib/AccountsService |
130 | %dir /var/lib/AccountsService/icons | |
131 | %dir /var/lib/AccountsService/users | |
4baa78bc | 132 | |
cf4130a7 AF |
133 | %files systemd |
134 | %defattr(644,root,root,755) | |
135 | %{systemdunitdir}/accounts-daemon.service | |
136 | ||
4baa78bc AF |
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 |