- Add noarch to -doc subpackage

f41
supercyper 15 years ago
parent c62da8c182
commit 95a5fd1046

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

Loading…
Cancel
Save