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
|
|
|
#
|
2022-04-19 15:30:25 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2020-01-20 12:28:36 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:17:05 +01:00
|
|
|
#
|
|
|
|
|
2008-10-23 04:39:35 +02:00
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
Name: make
|
2022-11-02 10:37:49 +01:00
|
|
|
Version: 4.4
|
2012-04-10 14:27:12 +02:00
|
|
|
Release: 0
|
2006-12-19 00:17:05 +01:00
|
|
|
Summary: GNU make
|
2018-07-18 15:45:28 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-04-10 14:27:12 +02:00
|
|
|
Group: Development/Tools/Building
|
2022-04-19 15:30:25 +02:00
|
|
|
URL: https://www.gnu.org/software/make/make.html
|
|
|
|
Source: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz.sig
|
2020-01-20 12:28:36 +01:00
|
|
|
# keyring downloaded from https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=make&download=1
|
2014-11-17 18:03:44 +01:00
|
|
|
Source2: %{name}.keyring
|
2022-11-02 17:31:19 +01:00
|
|
|
Patch: reset-sigpipe.patch
|
2006-12-19 00:17:05 +01:00
|
|
|
Patch64: make-library-search-path.diff
|
2018-01-23 11:09:55 +01:00
|
|
|
BuildRequires: pkgconfig
|
2014-11-17 18:03:44 +01:00
|
|
|
Requires(post): %{install_info_prereq}
|
2022-08-22 16:00:30 +02:00
|
|
|
Requires(preun):%{install_info_prereq}
|
2014-11-17 18:03:44 +01:00
|
|
|
Provides: gmake
|
2006-12-19 00:17:05 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU make command with extensive documentation.
|
|
|
|
|
2014-11-17 18:03:44 +01:00
|
|
|
%lang_package
|
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
%prep
|
2012-04-10 14:27:28 +02:00
|
|
|
%setup -q
|
2022-11-02 17:31:19 +01:00
|
|
|
%patch -p1
|
2018-07-30 09:39:26 +02:00
|
|
|
if [ %{_lib} = lib64 ]; then
|
2014-10-16 07:59:51 +02:00
|
|
|
%patch64 -p1
|
2006-12-19 00:17:05 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
%build
|
2014-11-17 18:03:44 +01:00
|
|
|
%configure
|
2022-10-26 10:19:34 +02:00
|
|
|
%make_build
|
2010-08-25 18:25:13 +02:00
|
|
|
|
|
|
|
%check
|
2022-10-26 10:19:34 +02:00
|
|
|
%make_build check || {
|
2017-09-12 10:33:36 +02:00
|
|
|
for f in tests/work/*/*.diff; do
|
|
|
|
test -f "$f" || continue
|
|
|
|
printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}"
|
|
|
|
cat "$f"
|
|
|
|
done
|
|
|
|
}
|
2006-12-19 00:17:05 +01:00
|
|
|
|
|
|
|
%install
|
2018-01-23 11:09:55 +01:00
|
|
|
%make_install
|
2014-11-17 18:03:44 +01:00
|
|
|
ln -s make %{buildroot}%{_bindir}/gmake
|
|
|
|
%find_lang %{name}
|
2013-11-22 15:22:00 +01:00
|
|
|
# gnumake.h was introduced in 4.0, looks useless
|
2014-11-17 18:03:44 +01:00
|
|
|
rm %{buildroot}%{_includedir}/gnumake.h
|
2006-12-19 00:17:05 +01:00
|
|
|
|
2014-11-17 18:03:44 +01:00
|
|
|
%files
|
|
|
|
%{_bindir}/make
|
|
|
|
%{_bindir}/gmake
|
2016-06-13 09:04:12 +02:00
|
|
|
%{_infodir}/make.info-*%{ext_info}
|
|
|
|
%{_infodir}/make.info%{ext_info}
|
|
|
|
%{_mandir}/man1/make.1%{ext_man}
|
2006-12-19 00:17:05 +01:00
|
|
|
|
2014-11-17 18:03:44 +01:00
|
|
|
%files lang -f %{name}.lang
|
2008-10-23 04:39:35 +02:00
|
|
|
|
2006-12-19 00:17:05 +01:00
|
|
|
%post
|
2016-06-13 09:04:12 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2006-12-19 00:17:05 +01:00
|
|
|
|
2016-06-02 16:14:26 +02:00
|
|
|
%preun
|
2016-06-13 09:04:12 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2006-12-19 00:17:05 +01:00
|
|
|
|
2007-05-17 11:44:48 +02:00
|
|
|
%changelog
|