packages: PackageKit/PackageKit.spec - package yum backend files - gir bcon...

glen glen at pld-linux.org
Thu Jan 27 09:14:21 CET 2011


Author: glen                         Date: Thu Jan 27 08:14:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package yum backend files
- gir bcond (off)

---- Files affected:
packages/PackageKit:
   PackageKit.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: packages/PackageKit/PackageKit.spec
diff -u packages/PackageKit/PackageKit.spec:1.62 packages/PackageKit/PackageKit.spec:1.63
--- packages/PackageKit/PackageKit.spec:1.62	Thu Jan 27 08:20:38 2011
+++ packages/PackageKit/PackageKit.spec	Thu Jan 27 09:14:16 2011
@@ -3,13 +3,16 @@
 # - BASH command-not-found functionality disabled for now as it needs patched bash
 #   (details in bash from Fedora Rawhide)
 # - do not package browser plugin (it's flawed by concept)
-# - package: gir stuff
+# - package: gir stuff (invert bcond if works)
 #   /usr/lib/girepository-1.0/PackageKitGlib-1.0.typelib
 #   /usr/share/gir-1.0/PackageKitGlib-1.0.gir
+# - todo:
+#   configure: WARNING: unrecognized options: --disable-ruck
 #
 # Conditional build:
 %bcond_without	qt	# don't build packagekit-qt library
 %bcond_without	doc	# build without docs
+%bcond_with		gir	# gobject introspection, time to time broken
 %bcond_without	poldek	# build default backend as poldek
 %bcond_with	yum	# build default backend as yum
 
@@ -278,7 +281,9 @@
 	--disable-ruck \
 	--disable-command-not-found \
 	--disable-browser-plugin \
+	%{!?with_gir:--disable-introspection} \
 	%{?with_poldek:--enable-poldek} \
+	%{?with_yum:--enable-yum} \
 	--%{!?with_doc:dis}%{?with_doc:en}able-gtk-doc \
 	--%{?with_qt:en}%{!?with_qt:dis}able-qt \
 	--with-html-dir=%{_gtkdocdir} \
@@ -336,7 +341,6 @@
 %attr(755,root,root) %{_bindir}/pk-debuginfo-install
 %attr(750,root,root) /etc/cron.daily/packagekit-background.cron
 %dir %{_libdir}/packagekit-backend
-%attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so
 %attr(755,root,root) %{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.so
 %attr(755,root,root) %{_libdir}/packagekitd
 %attr(755,root,root) %{_sbindir}/pk-device-rebind
@@ -346,6 +350,7 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/packagekit-background
 /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf
 %dir %{_datadir}/PackageKit
+%dir %{_datadir}/PackageKit/helpers
 %attr(755,root,root) %{_datadir}/PackageKit/pk-upgrade-distro.sh
 %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy
 %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service
@@ -362,6 +367,25 @@
 %dir /var/lib/PackageKit
 %ghost /var/lib/PackageKit/transactions.db
 
+# backend: poldek
+%if %{with poldek}
+%attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so
+%endif
+
+# backend: yum
+%if %{with yum}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Yum.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf
+%attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_yum.so
+%{_libdir}/yum-plugins/refresh-packagekit.py
+%dir %{_datadir}/PackageKit/helpers/yum
+%{_datadir}/PackageKit/helpers/yum/licenses.txt
+%{_datadir}/PackageKit/helpers/yum/yum-comps-groups.conf
+%{_datadir}/PackageKit/helpers/yum/yumBackend.py
+%{_datadir}/PackageKit/helpers/yum/yumComps.py
+%{_datadir}/PackageKit/helpers/yum/yumFilter.py
+%endif
+
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpackagekit-glib2.so.*.*.*
@@ -437,6 +461,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2011/01/27 08:14:16  glen
+- package yum backend files
+- gir bcond (off)
+
 Revision 1.62  2011/01/27 07:20:38  glen
 - yum/poldek backend bconds, not tested as current gir changes break build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/PackageKit/PackageKit.spec?r1=1.62&r2=1.63&f=u



More information about the pld-cvs-commit mailing list