Summary: Tools needed to create Texinfo format documentation files. Name: texinfo Version: 4.13a Release: 1 License: GPL Group: Applications/Publishing URL: http://www.gnu.org/software/texinfo/ Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig Patch0: %{name}-%{version}-aix.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root Prereq: /sbin/install-info, info BuildRequires: gettext >= 0.17 Requires: gettext >= 0.17 %description 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. Install texinfo if you want a documentation system for producing both online and print documentation from the same source file and/or if you are going to write documentation for the GNU Project. %package -n info Summary: A stand-alone TTY-based reader for GNU texinfo documentation. Group: System Environment/Base # By making info prereq bash, other packages which have triggers based on # info don't run those triggers until bash is in place as well. This is an # ugly method of doing it (triggers which fire on set intersection would # be better), but it's the best we can do for now. Talk to Erik before # removing this. Prereq: bash BuildRequires: gettext >= 0.17 Requires: gettext >= 0.17 %description -n info 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. You should install info, because GNU's texinfo documentation is a valuable source of information about the software on your system. %prep %setup -q -n %{name}-4.13 ###%patch0 %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install mkdir -p ${RPM_BUILD_ROOT}/etc mkdir -p ${RPM_BUILD_ROOT}/sbin /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : gzip --best ${RPM_BUILD_ROOT}%{_infodir}/*info* cd ${RPM_BUILD_ROOT} mkdir -p sbin ln -sf ..%{_bindir}/install-info ./sbin mkdir -p etc cp ${RPM_BUILD_ROOT}%{_infodir}/dir ./etc/info-dir rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir chmod 0644 ./etc/info-dir ln -sf /etc/info-dir ${RPM_BUILD_ROOT}%{_infodir}/dir mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . cd - ln -sf ..%{_infodir} ./usr/info mkdir -p etc/X11/applnk/Utilities cat > ./etc/X11/applnk/Utilities/info.desktop < - 4.13a-1 - updated to version 4.13a * Sat Aug 16 2008 Michael Perzl - 4.12-1 - first version for AIX V5.1 and higher