- Initial Fedora Release

- Modified Files: devel/.cvsignore devel/sources
- Added Files: devel/cups-pk-helper.spec devel/dependencies.patch
    devel/import.log
This commit is contained in:
mkasik 2009-01-20 12:30:21 +00:00
parent 7b821c54a1
commit e26ec72633
5 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1 @@
cups-pk-helper-0.0.3.tar.bz2

63
cups-pk-helper.spec Normal file
View File

@ -0,0 +1,63 @@
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 <mkasik@redhat.com> 0.0.3-1
- Initial spec file.

16
dependencies.patch Normal file
View File

@ -0,0 +1,16 @@
diff -up ./configure.ac.orig ./configure.ac
--- ./configure.ac.orig 2008-11-21 07:33:43.000000000 +0100
+++ ./configure.ac 2009-01-14 13:49:17.000000000 +0100
@@ -56,9 +56,9 @@ PKG_CHECK_MODULES(CUPS_PK, glib-2.0 >= $
AC_SUBST(CUPS_PK_CFLAGS)
AC_SUBST(CUPS_PK_LIBS)
-PKG_CHECK_MODULES(CUPS_PK_GNOME, gtk+-2.0 >= $GTK_REQUIRED \
- dbus-1 >= $DBUS_REQUIRED \
- dbus-glib-1 >= $DBUS_GLIB_REQUIRED)
+PKG_CHECK_MODULES(CUPS_PK_GNOME, gtk2 >= $GTK_REQUIRED \
+ dbus >= $DBUS_REQUIRED \
+ dbus-glib >= $DBUS_GLIB_REQUIRED)
AC_SUBST(CUPS_PK_GNOME_CFLAGS)
AC_SUBST(CUPS_PK_GNOME_LIBS)

1
import.log Normal file
View File

@ -0,0 +1 @@
cups-pk-helper-0_0_3-1_fc11:HEAD:cups-pk-helper-0.0.3-1.fc11.src.rpm:1232454368

View File

@ -0,0 +1 @@
db1c91dcb3c9f7ef3270fe29c25178a4 cups-pk-helper-0.0.3.tar.bz2