%define api_version 1.11 Summary: A GNU tool for automatically creating Makefiles Name: automake Version: %{api_version}.2 Release: 1 License: GPLv2+ and GFDL and MIT Group: Development/Tools Source0: http://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.bz2 Source1: http://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.bz2.sig URL: http://sources.redhat.com/automake Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root Buildrequires: autoconf >= 2.60 Requires: info, /sbin/install-info Requires: autoconf >= 2.60 %description Automake is a tool for automatically generating `Makefile.in' files compliant with the GNU Coding Standards. You should install Automake if you are developing software and would like to use its ability to automatically generate GNU standard Makefiles. If you install Automake, you will also need to install GNU's Autoconf package. %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ --infodir=%{_infodir} \ --mandir=%{_mandir} # build not smp safe: make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install # create this dir empty so we can own it mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/aclocal gzip --best ${RPM_BUILD_ROOT}%{_infodir}/*.info rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS README THANKS NEWS %{_bindir}/* %{_infodir}/*.info* %{_datadir}/automake-%{api_version} %{_datadir}/aclocal-%{api_version} %{_mandir}/man1/* %dir %{_datadir}/aclocal /usr/bin/* %changelog * Thu Dec 22 2011 Michael Perzl - 1.11.2-1 - updated to version 1.11.2 * Fri Dec 11 2009 Michael Perzl - 1.11.1-1 - updated to version 1.11.1 * Thu Jun 18 2009 Michael Perzl - 1.11-1 - updated to version 1.11 * Fri Oct 10 2008 Michael Perzl - 1.10.1-1 - first version for AIX V5.1 and higher