[goldendict] Add -docs

Mosaab Alzoubi moceap at fedoraproject.org
Sun Dec 14 17:27:58 UTC 2014


commit b3555579fd172e65f5ff4e18565b8c1cfd70d2ba
Author: Mosaab Alzoubi <moceap at hotmail.com>
Date:   Sun Dec 14 20:28:02 2014 +0300

    Add -docs

 goldendict.spec |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/goldendict.spec b/goldendict.spec
index 639d54a..45633dd 100644
--- a/goldendict.spec
+++ b/goldendict.spec
@@ -30,6 +30,13 @@ Support of multiple dictionary file formats;
 Support MediaWiki-based sites to perform search;
 Scan popup functionality.
 
+%package docs
+Summary: Documentation for %{name}
+BuildArch: noarch
+
+%description docs
+Contain doc files of %{name}.
+
 %prep
 %setup -q -n %{name}-%{commit}
 
@@ -51,11 +58,16 @@ desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/goldendict.png
 %{_datadir}/goldendict/locale/*.qm
 
+%files docs
+%dir %{_datadir}/goldendict/help
+%{_datadir}/goldendict/help/*
+
 %changelog
 * Sun Dec 14 2014 Mosaab Alzoubi <moceap at hotmail.com> - 1.5-0.5.RC2
 - Update on 20141214
 - Add libtiff-devel as BR
 - Add eb-devel as BR
+- Add -docs subpackage
 
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-0.4.RC1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list