]> git.pld-linux.org Git - packages/PackageKit.git/blobdiff - PackageKit.spec
- versioned obsoletes
[packages/PackageKit.git] / PackageKit.spec
index fba3d3d5af4e737a2bd988108a413f13dcf4c13c..58bb1e6d4645d2eb87632f9e93c31ef07aab646c 100644 (file)
@@ -6,9 +6,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
@@ -126,17 +127,6 @@ Static packagekit-glib library.
 %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
@@ -148,11 +138,32 @@ Conflicts:        %{name} < 0.6.8-3
 %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
 Group:         Libraries
-Obsoletes:     qpackagekit
+Obsoletes:     packagekit-qt < 0.4.0
+Obsoletes:     qpackagekit < 0.4.0
 
 %description qt
 packagekit-qt library.
@@ -170,7 +181,7 @@ Requires:   QtDBus-devel >= 4.4.0
 Requires:      QtGui-devel >= 4.4.0
 Requires:      QtSql-devel >= 4.4.0
 Requires:      QtXml-devel >= 4.4.0
-Obsoletes:     qpackagekit-devel
+Obsoletes:     qpackagekit-devel < 0.4.0
 
 %description qt-devel
 Header files for packagekit-qt library.
@@ -327,6 +338,7 @@ Wtyczka PackageKit do przeglÄ…darek WWW.
        %{!?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} \
@@ -456,6 +468,14 @@ fi
 %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)
This page took 0.044224 seconds and 4 git commands to generate.