[amarok] doc subpkg for large'ish application handbook and translations

Rex Dieter rdieter at fedoraproject.org
Fri Jan 27 18:45:54 UTC 2012


commit 7055c5c7f208fe0ac446adc43dce37a97926cdb4
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Fri Jan 27 12:44:22 2012 -0600

    doc subpkg for large'ish application handbook and translations

 amarok.spec |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/amarok.spec b/amarok.spec
index bf49f61..27687ad 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -2,7 +2,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.5.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 Group: 	 Applications/Multimedia
 # KDE e.V. may determine that future GPL versions are accepted
@@ -73,6 +73,15 @@ Obsoletes: amarok-utilities < 2.0.96
 %description utils 
 %{summary}, including amarokcollectionscanner.
 
+%package doc
+Summary: Application handbook, documentation, and translations
+# for upgrade path
+Obsoletes: amarok < 2.5.0-4
+Requires:  amarok = %{version}-%{release}
+BuildArch: noarch
+%description doc
+%{summary}.
+
 
 %prep
 %setup -q 
@@ -97,10 +106,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 %find_lang amarok --with-kde
 %find_lang amarokcollectionscanner_qt 
-%find_lang amarokpkg 
-%find_lang amarok_scriptengine_qscript 
-cat amarokpkg.lang >> amarok.lang
-cat amarok_scriptengine_qscript.lang >> amarok.lang
+%find_lang amarokpkg && cat amarokpkg.lang >> amarok.lang
+%find_lang amarok_scriptengine_qscript && cat amarok_scriptengine_qscript.lang >> amarok.lang
 
 # unpackaged files
 rm -fv %{buildroot}%{_kde4_libdir}/libamarok{-sqlcollection,_taglib,core,lib,plasma,pud,ocsclient,-transcoding}.so
@@ -134,7 +141,7 @@ fi
 %postun libs -p /sbin/ldconfig
 
 
-%files -f amarok.lang
+%files 
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog README
 %{_kde4_bindir}/amarok
@@ -174,8 +181,13 @@ fi
 %defattr(-,root,root,-)
 %{_kde4_bindir}/amarokcollectionscanner
 
+%files doc -f %{name}.lang
+
 
 %changelog
+* Fri Jan 27 2012 Rex Dieter <rdieter at fedoraproject.org> 2.5.0-4
+- -doc subpkg for large'ish application handbook and translations
+
 * Fri Jan 27 2012 Rex Dieter <rdieter at fedoraproject.org> 2.5.0-3
 - fix context view when on kde48 (kde#290123)
 


More information about the scm-commits mailing list