[amarok] nepomukcollection subpkg

Rex Dieter rdieter at fedoraproject.org
Mon Apr 14 18:08:18 UTC 2014


commit e0c9c79d3acc88ce44b5b7c98e5eee4c21a7bd1b
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Apr 14 13:08:06 2014 -0500

    nepomukcollection subpkg

 amarok.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 45 insertions(+), 4 deletions(-)
---
diff --git a/amarok.spec b/amarok.spec
index 2f24154..8383743 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -2,7 +2,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.8.0
-Release: 3%{?dist}.1
+Release: 4%{?dist}
 
 # KDE e.V. may determine that future GPL versions are accepted
 License: GPLv2 or GPLv3
@@ -36,7 +36,6 @@ BuildRequires: mariadb-embedded-devel
 # extra libaio linkage comes from use of mysql_config --libs
 BuildRequires: mysql-embedded-devel libaio-devel
 %endif
-BuildRequires: nepomuk-core-devel
 BuildRequires: pkgconfig(libgpod-1.0) >= 0.7.0
 BuildRequires: pkgconfig(libmtp) >= 0.3.0
 BuildRequires: pkgconfig(libmygpo-qt) >= 1.0.7
@@ -93,6 +92,16 @@ BuildArch: noarch
 %description doc
 %{summary}.
 
+%package nepomukcollection
+Summary: Nepomuk collection plugin for %{name}
+BuildRequires: nepomuk-core-devel
+BuildRequires: pkgconfig(soprano)
+# for upgrade path
+Obsoletes: amarok < 2.8.0-4
+Requires: %{name} = %{version}-%{release}
+%description nepomukcollection
+%{summary}.
+
 
 %prep
 %setup -q 
@@ -161,12 +170,37 @@ fi
 %{_kde4_datadir}/applications/kde4/amarok_containers.desktop
 %{_kde4_datadir}/applications/kde4/amzdownloader.desktop
 %{_kde4_datadir}/config.kcfg/amarokconfig.kcfg
-%{_kde4_datadir}/kde4/services/*.desktop
+%{_kde4_datadir}/kde4/services/amarok-containment-*.desktop
+%{_kde4_datadir}/kde4/services/amarok-context-applet-*.desktop
+%{_kde4_datadir}/kde4/services/amarok-data-engine-*.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-audiocdcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-daapcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-ipodcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-mtpcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-mysqlservercollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-playdarcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-umscollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_collection-upnpcollection.desktop
+%{_kde4_datadir}/kde4/services/amarok_service_*.desktop
 %{_kde4_datadir}/kde4/services/*.protocol
 %{_kde4_datadir}/kde4/services/ServiceMenus/amarok_append.desktop
 %{_kde4_datadir}/kde4/servicetypes/*.desktop
 %{_kde4_iconsdir}/hicolor/*/*/*
-%{_kde4_libdir}/kde4/*.so
+%{_kde4_libdir}/kde4/amarok_collection-audiocdcollection.so
+%{_kde4_libdir}/kde4/amarok_collection-daapcollection.so
+%{_kde4_libdir}/kde4/amarok_collection-ipodcollection.so
+%{_kde4_libdir}/kde4/amarok_collection-mtpcollection.so
+%{_kde4_libdir}/kde4/amarok_collection-mysqlecollection.so
+%{_kde4_libdir}/kde4/amarok_collection-mysqlservercollection.so
+%{_kde4_libdir}/kde4/amarok_collection-playdarcollection.so
+%{_kde4_libdir}/kde4/amarok_collection-umscollection.so
+%{_kde4_libdir}/kde4/amarok_collection-upnpcollection.so
+%{_kde4_libdir}/kde4/amarok_containment_*.so
+%{_kde4_libdir}/kde4/amarok_context_applet_*.so
+%{_kde4_libdir}/kde4/amarok_data_engine_*.so
+%{_kde4_libdir}/kde4/amarok_service_*.so
+%{_kde4_libdir}/kde4/kcm_amarok_service*.so
 %{_datadir}/dbus-1/interfaces/*.xml
 %{_datadir}/mime/packages/amzdownloader.xml
 
@@ -190,8 +224,15 @@ fi
 
 %files doc -f amarok-doc.lang
 
+%files nepomukcollection
+%{_kde4_libdir}/kde4/amarok_collection-nepomukcollection.so
+%{_kde4_datadir}/kde4/services/amarok_collection-nepomukcollection.desktop
+
 
 %changelog
+* Mon Apr 14 2014 Rex Dieter <rdieter at fedoraproject.org> 2.8.0-4
+- -nepomukcollection subpkg
+
 * Tue Aug 27 2013 Rex Dieter <rdieter at fedoraproject.org> 2.8.0-3.1
 - BR: libmygpo-qt-devel >= 1.0.7
 


More information about the scm-commits mailing list