Summary: Tools needed to create Texinfo format documentation files. Name: texinfo Version: 6.0 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: perl >= 5.24.1-1 BuildRequires: gettext Requires: perl >= 5.24.1-1 Requires: gettext %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 Requires: gettext %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 %patch0 %build export PERL=/opt/freeware/bin/perl export CC=xlc_r ./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 < - 6.0-1 - updated to version 6.0 * Fri Mar 20 2015 Michael Perzl - 5.2-2 - fixed wrong Perl command in shell scripts * Thu Dec 26 2013 Michael Perzl - 5.2-1 - updated to version 5.2 * Wed Dec 04 2013 Michael Perzl - 5.1-2 - added missing files * Sat Apr 20 2013 Michael Perzl - 5.1-1 - updated to version 5.1 * Sat Mar 09 2013 Michael Perzl - 5.0-1 - updated to version 5.0 * Tue Jul 06 2010 Michael Perzl - 4.13a-2 - removed dependency on gettext >= 0.17 * Mon Mar 08 2010 Michael Perzl - 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