16ce52de69
Copy from Base:System/make based on submit request 28050 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/28050 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/make?expand=0&rev=6
85 lines
2.1 KiB
RPMSpec
85 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package make (Version 3.81)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: make
|
|
Url: http://www.gnu.org/software/make/make.html
|
|
License: GPLv2+
|
|
Group: Development/Tools/Building
|
|
Provides: gmake
|
|
PreReq: %install_info_prereq
|
|
AutoReqProv: on
|
|
Version: 3.81
|
|
Release: 129
|
|
Summary: GNU make
|
|
Source: make-3.81.tar.bz2
|
|
Patch1: make-memory-hog-2.diff
|
|
Patch2: make-slowdown-parallelism.diff
|
|
Patch64: make-library-search-path.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The GNU make command with extensive documentation.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Richard Stallman
|
|
Roland McGrath
|
|
Paul Smith
|
|
|
|
%prep
|
|
%setup
|
|
#%patch1 -p1
|
|
%patch2
|
|
if [ %_lib == lib64 ]; then
|
|
%patch64
|
|
fi
|
|
|
|
%build
|
|
CFLAGS=$RPM_OPT_FLAGS \
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
|
|
make %{?jobs:-j%jobs}
|
|
make check
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
ln -s make $RPM_BUILD_ROOT/usr/bin/gmake
|
|
%find_lang %name
|
|
|
|
%files -f %name.lang
|
|
%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
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%changelog
|