]>
Commit | Line | Data |
---|---|---|
4f0b59a3 JB |
1 | Summary: PolicyKit helper to configure CUPS with fine-grained privileges |
2 | Summary(pl.UTF-8): Program pomocniczy PolicyKit do konfiguracji CUPS-a z właściwymi uprawnieniami | |
089e833a | 3 | Name: cups-pk-helper |
4f0b59a3 | 4 | Version: 0.2.5 |
6e200e43 | 5 | Release: 2 |
4f0b59a3 JB |
6 | License: GPL v2+ |
7 | Group: Applications/System | |
8 | Source0: http://www.freedesktop.org/software/cups-pk-helper/releases/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: f14fb79da9c85f71e3e29101e179f2fc | |
10 | BuildRequires: autoconf >= 2.50 | |
11 | BuildRequires: automake >= 1:1.11 | |
089e833a | 12 | BuildRequires: cups-devel |
4f0b59a3 | 13 | BuildRequires: gettext-devel |
089e833a MB |
14 | BuildRequires: glib2-devel >= 1:2.30.0 |
15 | BuildRequires: gnome-common | |
16 | BuildRequires: intltool >= 0.40.6 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: polkit-devel >= 0.97 | |
4f0b59a3 JB |
19 | BuildRequires: tar >= 1:1.22 |
20 | BuildRequires: xz | |
089e833a MB |
21 | Requires: dbus |
22 | Requires: glib2 >= 1:2.30.0 | |
4f0b59a3 | 23 | Requires: polkit >= 0.97 |
089e833a MB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | cups-pk-helper is an application which makes cups configuration | |
28 | interfaces available under control of PolicyKit. | |
29 | ||
4f0b59a3 JB |
30 | %description -l pl.UTF-8 |
31 | cups-pk-helper to aplikacja udostępniająca interfejsy konfiguracyjne | |
32 | CUPS-a pod kontrolą usługi PolicyKit. | |
33 | ||
089e833a MB |
34 | %prep |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %{__intltoolize} | |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure \ | |
44 | --disable-silent-rules | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %find_lang %{name} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files -f %{name}.lang | |
59 | %defattr(644,root,root,755) | |
60 | %doc AUTHORS ChangeLog HACKING NEWS README | |
61 | %attr(755,root,root) %{_libdir}/cups-pk-helper-mechanism | |
62 | %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service | |
63 | %{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy | |
64 | /etc/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf |