From 95a5fd1046f625be60d61afe7bb100f82bb07840 Mon Sep 17 00:00:00 2001 From: supercyper Date: Sat, 30 Jan 2010 06:43:41 +0000 Subject: [PATCH] - Add noarch to -doc subpackage --- libwps.spec | 86 ++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/libwps.spec b/libwps.spec index e464c60..2274849 100644 --- a/libwps.spec +++ b/libwps.spec @@ -1,55 +1,55 @@ -Name: libwps -Version: 0.1.2 -Release: 6%{?dist} -Summary: Library for reading and converting Microsoft Works word processor documents +Name: libwps +Version: 0.1.2 +Release: 7%{?dist} +Summary: Library for reading and converting Microsoft Works word processor documents -Group: System Environment/Libraries -License: LGPLv2+ -URL: http://libwps.sourceforge.net/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://libwps.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: doxygen -BuildRequires: libwpd-devel -BuildRequires: glibc-devel -BuildRequires: cppunit-devel +BuildRequires: doxygen +BuildRequires: libwpd-devel +BuildRequires: glibc-devel +BuildRequires: cppunit-devel %description Library that handles Microsoft Works documents. -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: libwpd-devel -Requires: pkgconfig +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libwpd-devel +Requires: pkgconfig -%description devel +%description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package tools -Summary: Tools to transform Works documents into other formats -Group: Applications/Publishing -Requires: %{name} = %{version}-%{release} +%package tools +Summary: Tools to transform Works documents into other formats +Group: Applications/Publishing +Requires: %{name} = %{version}-%{release} -%description tools +%description tools Tools to transform Works documents into other formats. Currently supported: html, raw, text -%package doc -Summary: Documentation of %{name} API -Group: Documentation -Requires: %{name} = %{version}-%{release} +%package doc +Summary: Documentation of %{name} API +Group: Documentation +Requires: %{name} = %{version}-%{release} +BuildArch: noarch - -%description doc +%description doc The %{name}-doc package contains documentation files for %{name} @@ -94,14 +94,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) +%dir %{_docdir}/%{name}-%{version} %{_libdir}/*.so.* -%{_docdir}/%{name}-%{version}/ -%exclude %{_docdir}/%{name}-%{version}/html/ - +%{_docdir}/%{name}-%{version}/CHANGES +%{_docdir}/%{name}-%{version}/COPYING +%{_docdir}/%{name}-%{version}/CREDITS +%{_docdir}/%{name}-%{version}/README %files devel %defattr(-,root,root,-) -%doc HACKING +%{_docdir}/%{name}-%{version}/HACKING %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}* @@ -109,7 +111,6 @@ rm -rf %{buildroot} %files tools %defattr(-,root,root,-) -%doc README %{_bindir}/wps2* @@ -119,22 +120,25 @@ rm -rf %{buildroot} %changelog +* Sat Jan 30 2010 Chen Lei - 0.1.2-7 +- Add noarch to -doc subpackage + * Sat Jul 25 2009 Fedora Release Engineering - 0.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -* Tue Mar 10 2009 2009 Simon Wesp - 0.1.2-5 +* Tue Mar 10 2009 Simon Wesp - 0.1.2-5 - Correct DOC issues (again) RHBZ: #484933 / C14 -* Sun Feb 15 2009 2009 Simon Wesp - 0.1.2-4 +* Sun Feb 15 2009 Simon Wesp - 0.1.2-4 - Correct path for CHECK section -* Sun Feb 15 2009 2009 Simon Wesp - 0.1.2-3 +* Sun Feb 15 2009 Simon Wesp - 0.1.2-3 - Add CHECK section - Add cppunit-devel to BuildRequires -* Sun Feb 15 2009 2009 Simon Wesp - 0.1.2-2 +* Sun Feb 15 2009 Simon Wesp - 0.1.2-2 - Correct DOC issues - Delete wrong pkgconfig pathes -* Tue Feb 10 2009 2009 Simon Wesp - 0.1.2-1 +* Tue Feb 10 2009 Simon Wesp - 0.1.2-1 - Initial Package build