- Add noarch to -doc subpackage

f41
supercyper 15 years ago
parent c62da8c182
commit 95a5fd1046

@ -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 <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
- 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
* 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
* 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 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
- 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

Loading…
Cancel
Save