]> git.pld-linux.org Git - packages/cups-pk-helper.git/blob - cups-pk-helper.spec
- new
[packages/cups-pk-helper.git] / cups-pk-helper.spec
1 Summary:        PolicyKit helper to configure cups with fine-grained privileges
2 Name:           cups-pk-helper
3 Version:        0.2.1
4 Release:        1
5 License:        GPL v2
6 Group:          Applications
7 Source0:        http://www.freedesktop.org/software/cups-pk-helper/releases/%{name}-%{version}.tar.bz2
8 # Source0-md5:  26dc2db9566804930a7f1dad37ac4a78
9 BuildRequires:  autoconf
10 BuildRequires:  automake >= 1:1.9
11 BuildRequires:  cups-devel
12 BuildRequires:  glib2-devel >= 1:2.30.0
13 BuildRequires:  gnome-common
14 BuildRequires:  intltool >= 0.40.6
15 BuildRequires:  pkgconfig
16 BuildRequires:  polkit-devel >= 0.97
17 Requires:       dbus
18 Requires:       glib2 >= 1:2.30.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 cups-pk-helper is an application which makes cups configuration
23 interfaces available under control of PolicyKit.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__intltoolize}
30 %{__aclocal}
31 %{__autoconf}
32 %{__autoheader}
33 %{__automake}
34 %configure \
35         --disable-silent-rules
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %find_lang %{name}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}.lang
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog HACKING NEWS README
52 %attr(755,root,root) %{_libdir}/cups-pk-helper-mechanism
53 %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
54 %{_datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
55 /etc/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
This page took 0.032782 seconds and 4 git commands to generate.