2006-12-19 00:17:05 +01:00
|
|
|
#
|
2011-04-21 11:50:00 +02:00
|
|
|
# spec file for package make
|
2006-12-19 00:17:05 +01:00
|
|
|
#
|
2013-02-03 14:43:32 +01:00
|
|
|
# Copyright (c) 2013 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/
|
|
|
|
#
|
|
|
|
|
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
|
2006-12-19 00:17:05 +01:00
|
|
|
Provides: gmake
|
|
|
|
PreReq: %install_info_prereq
|
2013-11-22 15:22:00 +01:00
|
|
|
Version: 4.0
|
2012-04-10 14:27:12 +02:00
|
|
|
Release: 0
|
2006-12-19 00:17:05 +01:00
|
|
|
Summary: GNU make
|
2012-04-10 14:27:12 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Tools/Building
|
2013-03-21 11:14:45 +01:00
|
|
|
Source: http://ftp.gnu.org/gnu/make/make-%version.tar.bz2
|
|
|
|
Source1: http://ftp.gnu.org/gnu/make/make-%version.tar.bz2.sig
|
2013-03-21 11:15:25 +01:00
|
|
|
# keyring downloaded from http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=make
|
2013-03-21 11:14:45 +01:00
|
|
|
Source2: %name.keyring
|
2006-12-19 00:17:05 +01:00
|
|
|
Patch64: make-library-search-path.diff
|
2013-06-18 10:45:47 +02:00
|
|
|
#BuildRequires: gpg-offline
|
2006-12-19 00:17:05 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU make command with extensive documentation.
|
|
|
|
|
|
|
|
%prep
|
2012-04-10 14:27:28 +02:00
|
|
|
%setup -q
|
2006-12-19 00:17:05 +01:00
|
|
|
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
|
2013-11-22 15:22:00 +01:00
|
|
|
# gnumake.h was introduced in 4.0, looks useless
|
|
|
|
rm $RPM_BUILD_ROOT/usr/include/gnumake.h
|
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
|