]>
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 |
11087318 | 4 | Version: 0.2.7 |
90bb3606 | 5 | Release: 1 |
4f0b59a3 JB |
6 | License: GPL v2+ |
7 | Group: Applications/System | |
11087318 JB |
8 | Source0: https://www.freedesktop.org/software/cups-pk-helper/releases/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 0cdadec9ea8f88b7fc7af8ca206da2bd | |
10 | BuildRequires: cups-devel >= 1:1.6 | |
4f0b59a3 | 11 | BuildRequires: gettext-devel |
11087318 JB |
12 | BuildRequires: glib2-devel >= 1:2.36.0 |
13 | BuildRequires: meson >= 0.49.2 | |
14 | BuildRequires: ninja >= 1.5 | |
089e833a MB |
15 | BuildRequires: pkgconfig |
16 | BuildRequires: polkit-devel >= 0.97 | |
11087318 | 17 | BuildRequires: rpmbuild(macros) >= 1.736 |
4f0b59a3 JB |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
11087318 | 20 | Requires: cups-lib >= 1:1.6 |
089e833a | 21 | Requires: dbus |
11087318 | 22 | Requires: glib2 >= 1:2.36.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 | |
11087318 JB |
38 | %meson build |
39 | ||
40 | %ninja_build -C build | |
089e833a MB |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
11087318 | 45 | %ninja_install -C build |
089e833a MB |
46 | |
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files -f %{name}.lang | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog HACKING NEWS README | |
11087318 | 55 | %attr(755,root,root) %{_libexecdir}/cups-pk-helper-mechanism |
089e833a | 56 | %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service |
11087318 | 57 | %{_datadir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf |
089e833a | 58 | %{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy |