Name: cups-pk-helper Version: 0.0.3 Release: 1%{?dist} Summary: A helper that makes system-config-printer use PolicyKit Group: System Environment/Base License: GPLv2+ URL: http://www.vuntz.net/download/cups-pk-helper/ Source0: http://www.vuntz.net/download/cups-pk-helper/cups-pk-helper-%{version}.tar.bz2 Patch0: dependencies.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 BuildRequires: glib2-devel >= 2.14.0 BuildRequires: gtk2-devel >= 2.12.0 BuildRequires: dbus-glib-devel >= 0.74 BuildRequires: PolicyKit-devel >= 0.8 BuildRequires: intltool >= 0.40.0 BuildRequires: gettext-devel >= 0.17 Requires: python >= 2.4 %description cups-pk-helper is an application which makes cups configuration interfaces available under control of PolicyKit. %prep %setup -q %patch0 -p0 -b .dependencies %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libexecdir}/cups-pk-helper-mechanism %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf %{_datadir}/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service %{_datadir}/PolicyKit/policy/org.opensuse.cupspkhelper.mechanism.policy %doc AUTHORS COPYING NEWS %changelog * Tue Jan 13 2009 Marek Kasik 0.0.3-1 - Initial spec file.