- Split texinfo-tex from the texinfo package (#178406)

- Ship COPYING, don't ship INSTALL
This commit is contained in:
Miloslav Trmac 2006-03-26 22:27:02 +00:00
parent 3e8f289479
commit 1e9c629900

View File

@ -1,7 +1,7 @@
Summary: Tools needed to create Texinfo format documentation files. Summary: Tools needed to create Texinfo format documentation files.
Name: texinfo Name: texinfo
Version: 4.8 Version: 4.8
Release: 10 Release: 11
License: GPL License: GPL
Group: Applications/Publishing Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/ Url: http://www.gnu.org/software/texinfo/
@ -13,8 +13,6 @@ Patch2: texinfo-CAN-2005-3011.patch
Prereq: /sbin/install-info Prereq: /sbin/install-info
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: zlib-devel, ncurses-devel BuildRequires: zlib-devel, ncurses-devel
Requires: tetex
# Redefine this so "dir" in the info directory isn't compressed # Redefine this so "dir" in the info directory isn't compressed
@ -44,6 +42,20 @@ The GNU project uses the texinfo file format for much of its
documentation. The info package provides a standalone TTY-based documentation. The info package provides a standalone TTY-based
browser program for viewing texinfo files. browser program for viewing texinfo files.
%package tex
Summary: Tools for fromating Texinfo documentation files using TeX
Group: Applications/Publishing
Requires: texinfo = %{version}-%{release}
Requires: tetex
%description tex
Texinfo is a documentation system that can produce both online
information and printed output from a single source file. The GNU
Project uses the Texinfo file format for most of its documentation.
The texinfo-tex package provides tools to format Texinfo documents
for printing using TeX.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .zlib %patch1 -p1 -b .zlib
@ -64,7 +76,7 @@ pushd ${RPM_BUILD_ROOT}
install -m644 %{SOURCE2} .%{_mandir}/man1/texi2pdf.1 install -m644 %{SOURCE2} .%{_mandir}/man1/texi2pdf.1
gzip -n -9f .%{_infodir}/*info* gzip -n -9f .%{_infodir}/*info*
gzip -n -9f .%{_mandir}/*/* gzip -n -9f .%{_mandir}/*/*
install -m644 $RPM_SOURCE_DIR/info-dir .%{_infodir}/dir install -m644 %{SOURCE1} .%{_infodir}/dir
mv -f .%{_bindir}/install-info ./sbin mv -f .%{_bindir}/install-info ./sbin
popd popd
@ -94,22 +106,17 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog INSTALL INTRODUCTION NEWS README TODO %doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
%{_bindir}/makeinfo %{_bindir}/makeinfo
%{_bindir}/texindex
%{_bindir}/texi2dvi
%{_bindir}/texi2pdf
%{_datadir}/texinfo %{_datadir}/texinfo
%{_infodir}/texinfo* %{_infodir}/texinfo*
%{_mandir}/man1/makeinfo.1* %{_mandir}/man1/makeinfo.1*
%{_mandir}/man1/texindex.1*
%{_mandir}/man1/texi2dvi.1*
%{_mandir}/man1/texi2pdf.1*
%{_mandir}/man5/texinfo.5* %{_mandir}/man5/texinfo.5*
%files -n info %files -n info
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir %config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
%doc COPYING
%{_bindir}/info %{_bindir}/info
%{_bindir}/infokey %{_bindir}/infokey
%{_infodir}/info.info* %{_infodir}/info.info*
@ -120,7 +127,20 @@ fi
%{_mandir}/man1/install-info.1* %{_mandir}/man1/install-info.1*
%{_mandir}/man5/info.5* %{_mandir}/man5/info.5*
%files tex
%defattr(-,root,root)
%{_bindir}/texindex
%{_bindir}/texi2dvi
%{_bindir}/texi2pdf
%{_mandir}/man1/texindex.1*
%{_mandir}/man1/texi2dvi.1*
%{_mandir}/man1/texi2pdf.1*
%changelog %changelog
* Sat Mar 25 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-11
- Split texinfo-tex from the texinfo package (#178406)
- Ship COPYING, don't ship INSTALL
* Sun Mar 19 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-10 * Sun Mar 19 2006 Miloslav Trmac <mitr@redhat.com> - 4.8-10
- Remove incorrect Prefix: - Remove incorrect Prefix:
- Drop info/README - Drop info/README