Split most docs into -docs subpackage.

epel9
Matthew D Truch 16 years ago
parent 34e4fccf67
commit 11a8c5e27d

@ -1,6 +1,6 @@
Name: cfitsio Name: cfitsio
Version: 3.130 Version: 3.130
Release: 4%{?dist} Release: 5%{?dist}
Summary: Library for manipulating FITS data files Summary: Library for manipulating FITS data files
Group: Development/Libraries Group: Development/Libraries
@ -40,6 +40,14 @@ Summary: Static cfitsio library
%description static %description static
Static cfitsio library; avoid use if possible. Static cfitsio library; avoid use if possible.
%package docs
Summary: Documentation for cfitsio
Group: Development/Libraries
BuildArch: noarch
%description docs
Stand-alone documentation for cfitsio.
%prep %prep
%setup -q -n cfitsio %setup -q -n cfitsio
%patch -p1 %patch -p1
@ -85,7 +93,7 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README License.txt changes.txt fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps %doc README License.txt changes.txt
%{_libdir}/libcfitsio.so.* %{_libdir}/libcfitsio.so.*
%files devel %files devel
@ -95,9 +103,18 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/cfitsio.pc %{_libdir}/pkgconfig/cfitsio.pc
%files static %files static
%defattr(-,root,root,-)
%{_libdir}/libcfitsio.a %{_libdir}/libcfitsio.a
%files docs
%defattr(-,root,root,-)
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
%changelog %changelog
* Wed Jun 17 2009 Matthew Truch <matt at truch.net> - 3.130-5
- Separate -docs noarch subpackage as per BZ 492438.
- Explicitly set file attributes correctly.
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4 * Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
- Set correct version in pkgconfig .pc file. - Set correct version in pkgconfig .pc file.

Loading…
Cancel
Save