%define real_name make Summary: A GNU tool which simplifies the build process for users Name: make_64 Epoch: 1 Version: 3.80 Release: 3 License: GPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/make/ Source0: ftp://ftp.gnu.org/gnu/make/%{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{real_name}-%{version}-%{release}-root BuildRequires: /sbin/install-info, info BuildRequires: gettext Requires: /sbin/install-info, info Requires: gettext Provides: %{real_name} %description A GNU tool for controlling the generation of executables and other non-source files of a program from the program's source files. Make allows users to build and install packages without any significant knowledge about the details of the build process. The details about how the program should be built are provided for make in the program's makefile. %prep %setup -q -n %{real_name}-%{version} %build export OBJECT_MODE=64 ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} export OBJECT_MODE=64 make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : ln -sf make ${RPM_BUILD_ROOT}%{_bindir}/gmake ln -sf make.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/gmake.1 chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* gzip --best ${RPM_BUILD_ROOT}%{_infodir}/make.info* rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir cd ${RPM_BUILD_ROOT} mkdir -p usr/linux/bin ln -sf ../../..%{_bindir}/make usr/linux/bin mkdir -p usr/bin ln -sf ../..%{_bindir}/make usr/bin/gmake %post /sbin/install-info %{_infodir}/%{real_name}.info.gz %{_infodir}/dir --entry="* Make: (make). The GNU make utility." || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{real_name}.info.gz %{_infodir}/dir --entry="* Make: (make). The GNU make utility." || : fi %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc NEWS README COPYING AUTHORS %{_bindir}/* %{_mandir}/man?/* %{_infodir}/*.info* %{_datadir}/locale/*/*/* /usr/bin/* /usr/linux/bin/* %changelog * Fri Jun 14 2013 Michael Perzl - 3.80-3 - rebuilt as 64-bit version and renamed to 'make_64' * Thu Jul 01 2010 Michael Perzl - 3.80-3 - removed dependency on gettext * Mon Sep 15 2008 Michael Perzl - 3.80-2 - first version for AIX V5.1 and higher