From 1e9c629900fa30983e575e9fe9595d4293c53826 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Sun, 26 Mar 2006 22:27:02 +0000 Subject: [PATCH] - Split texinfo-tex from the texinfo package (#178406) - Ship COPYING, don't ship INSTALL --- texinfo.spec | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/texinfo.spec b/texinfo.spec index bbcdcd5..e4d7134 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -1,7 +1,7 @@ Summary: Tools needed to create Texinfo format documentation files. Name: texinfo Version: 4.8 -Release: 10 +Release: 11 License: GPL Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -13,8 +13,6 @@ Patch2: texinfo-CAN-2005-3011.patch Prereq: /sbin/install-info Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: zlib-devel, ncurses-devel -Requires: tetex - # 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 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 %setup -q %patch1 -p1 -b .zlib @@ -64,7 +76,7 @@ pushd ${RPM_BUILD_ROOT} install -m644 %{SOURCE2} .%{_mandir}/man1/texi2pdf.1 gzip -n -9f .%{_infodir}/*info* gzip -n -9f .%{_mandir}/*/* - install -m644 $RPM_SOURCE_DIR/info-dir .%{_infodir}/dir + install -m644 %{SOURCE1} .%{_infodir}/dir mv -f .%{_bindir}/install-info ./sbin popd @@ -94,22 +106,17 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog INSTALL INTRODUCTION NEWS README TODO +%doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO %{_bindir}/makeinfo -%{_bindir}/texindex -%{_bindir}/texi2dvi -%{_bindir}/texi2pdf %{_datadir}/texinfo %{_infodir}/texinfo* %{_mandir}/man1/makeinfo.1* -%{_mandir}/man1/texindex.1* -%{_mandir}/man1/texi2dvi.1* -%{_mandir}/man1/texi2pdf.1* %{_mandir}/man5/texinfo.5* %files -n info %defattr(-,root,root) %config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir +%doc COPYING %{_bindir}/info %{_bindir}/infokey %{_infodir}/info.info* @@ -120,7 +127,20 @@ fi %{_mandir}/man1/install-info.1* %{_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 +* Sat Mar 25 2006 Miloslav Trmac - 4.8-11 +- Split texinfo-tex from the texinfo package (#178406) +- Ship COPYING, don't ship INSTALL + * Sun Mar 19 2006 Miloslav Trmac - 4.8-10 - Remove incorrect Prefix: - Drop info/README