2006-12-19 00:17:05 +01:00
|
|
|
#
|
|
|
|
# spec file for package make (Version 3.81)
|
|
|
|
#
|
2010-01-08 17:33:31 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:05 +01:00
|
|
|
#
|
2008-10-23 04:39:35 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:39:35 +02:00
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
Name: make
|
2008-10-23 04:39:35 +02:00
|
|
|
Url: http://www.gnu.org/software/make/make.html
|
2010-01-08 17:33:31 +01:00
|
|
|
License: GPLv2+
|
2006-12-19 00:17:05 +01:00
|
|
|
Group: Development/Tools/Building
|
|
|
|
Provides: gmake
|
|
|
|
PreReq: %install_info_prereq
|
2008-10-23 04:39:35 +02:00
|
|
|
AutoReqProv: on
|
2010-08-25 18:25:13 +02:00
|
|
|
Version: 3.82
|
2010-07-20 20:42:44 +02:00
|
|
|
Release: 131
|
2006-12-19 00:17:05 +01:00
|
|
|
Summary: GNU make
|
2010-08-25 18:25:13 +02:00
|
|
|
Source: make-%version.tar.bz2
|
2006-12-19 00:17:05 +01:00
|
|
|
Patch2: make-slowdown-parallelism.diff
|
|
|
|
Patch64: make-library-search-path.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU make command with extensive documentation.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch2
|
|
|
|
if [ %_lib == lib64 ]; then
|
|
|
|
%patch64
|
|
|
|
fi
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS=$RPM_OPT_FLAGS \
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
|
2010-07-20 20:42:44 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-08-25 18:25:13 +02:00
|
|
|
|
|
|
|
%check
|
2006-12-19 00:17:05 +01:00
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
ln -s make $RPM_BUILD_ROOT/usr/bin/gmake
|
2007-05-17 11:44:48 +02:00
|
|
|
%find_lang %name
|
2006-12-19 00:17:05 +01:00
|
|
|
|
2007-05-17 11:44:48 +02:00
|
|
|
%files -f %name.lang
|
2006-12-19 00:17:05 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/make
|
|
|
|
/usr/bin/gmake
|
|
|
|
%doc /usr/share/info/make.info-*.gz
|
|
|
|
%doc /usr/share/info/make.info.gz
|
|
|
|
%doc /usr/share/man/man1/make.1.gz
|
|
|
|
|
2008-10-23 04:39:35 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2007-05-17 11:44:48 +02:00
|
|
|
%changelog
|