packages: PackageKit/PackageKit.spec - add smart backend, sort package order

glen glen at pld-linux.org
Thu Mar 24 14:02:32 CET 2011


Author: glen                         Date: Thu Mar 24 13:02:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add smart backend, sort package order

---- Files affected:
packages/PackageKit:
   PackageKit.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: packages/PackageKit/PackageKit.spec
diff -u packages/PackageKit/PackageKit.spec:1.67 packages/PackageKit/PackageKit.spec:1.68
--- packages/PackageKit/PackageKit.spec:1.67	Tue Mar 22 23:09:20 2011
+++ packages/PackageKit/PackageKit.spec	Thu Mar 24 14:02:26 2011
@@ -7,9 +7,10 @@
 %bcond_without	qt	# don't build packagekit-qt library
 %bcond_without	doc	# build without docs
 %bcond_without	gir	# gobject introspection, time to time broken
-%bcond_without	poldek	# build poldek backend
-%bcond_without	yum		# build yum backend
-%bcond_with	browser	# build browser plugin (glen say: it's flawed by concept)
+%bcond_without	poldek	# build Poldek backend
+%bcond_without	smart	# build SMART backend
+%bcond_without	yum		# build YUM backend
+%bcond_with	browser	# build browser plugin (patrys says: it's flawed by concept)
 
 # default backend, configurable at runtime
 %define		backend	poldek
@@ -127,17 +128,6 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka packagekit-glib.
 
-%package backend-yum
-Summary:	PackageKit YUM backend
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	python-packagekit = %{version}-%{release}
-Requires:	yum >= 3.2.19
-Provides:	%{name}-backend
-
-%description backend-yum
-A backend for PackageKit to enable yum functionality.
-
 %package backend-poldek
 Summary:	PackageKit Poldek backend
 Group:		Libraries
@@ -149,6 +139,26 @@
 %description backend-poldek
 A backend for PackageKit to enable Poldek functionality.
 
+%package backend-smart
+Summary:	PackageKit SMART backend
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	smart
+
+%description backend-smart
+A backend for PackageKit to enable SMART functionality.
+
+%package backend-yum
+Summary:	PackageKit YUM backend
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-packagekit = %{version}-%{release}
+Requires:	yum >= 3.2.19
+Provides:	%{name}-backend
+
+%description backend-yum
+A backend for PackageKit to enable yum functionality.
+
 %package qt
 Summary:	packagekit-qt library
 Summary(pl.UTF-8):	Biblioteka packagekit-qt
@@ -328,6 +338,7 @@
 	%{!?with_gir:--disable-introspection} \
 	%{__enable_disable browser browser-plugin} \
 	%{__enable_disable poldek} \
+	%{__enable_disable smart} \
 	%{__enable_disable yum} \
 	%{__enable_disable dok gtk-doc}\
 	%{__enable_disable qt} \
@@ -457,6 +468,14 @@
 %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so
 %endif
 
+%if %{with smart}
+%files backend-smart
+%defattr(644,root,root,755)
+%{_libdir}/packagekit-backend/libpk_backend_smart.so
+%dir %{_datadir}/PackageKit/helpers/smart
+%{_datadir}/PackageKit/helpers/smart/*
+%endif
+
 %if %{with yum}
 %files backend-yum
 %defattr(644,root,root,755)
@@ -540,6 +559,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2011/03/24 13:02:26  glen
+- add smart backend, sort package order
+
 Revision 1.67  2011/03/22 22:09:20  wiget
 - start update to 0.6.13
 - use %{__rm} and %{__enable_disable} macros
================================================================

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



More information about the pld-cvs-commit mailing list