summaryrefslogtreecommitdiff
path: root/make.spec
blob: 9e1ce374f9768c7a32a1e1db6441b827ca9c04bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
%bcond_with guile
Name:		make
Epoch: 		1
Version:	4.4.1
Release:	2
Summary:	A tool which controls the generation of executables and non-source files of a program
License:	GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later AND FSFULLR
URL:		https://www.gnu.org/software/make/
Source0:	https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz

BuildRequires:	gcc procps perl-interpreter make
%if %{with guile}
BuildRequires:	guile-devel
%endif
Provides:       make-devel = %{epoch}:%{version}-%{release}
Obsoletes:      make-devel < %{epoch}:%{version}-%{release}

%description
GNU Make is a tool which controls the generation of executables and other
non-source files of a program from the program's source files.

Make gets its knowledge of how to build your program from a file called
the makefile, which lists each of the non-source files and how to compute
it from other files. When you write a program, you should write a makefile
for it, so that it is possible to use Make to build and install the program.

%package_help

%prep
%autosetup -n %{name}-%{version} -p1

%build
%configure \
%if %{with guile}
	--with-guile \
%else
	--without-guile \
%endif
%{nil}

%make_build

%install
%make_install
ln -sf make %{buildroot}/%{_bindir}/gmake
ln -sf make.1 %{buildroot}/%{_mandir}/man1/gmake.1
rm -f %{buildroot}/%{_infodir}/dir

%find_lang %{name}

%check
/usr/bin/env LANG=C %make_build check

%files -f %{name}.lang
%license COPYING
%doc README AUTHORS
%{_bindir}/*
%{_includedir}/*

%files help
%doc NEWS 
%{_mandir}/*/*
%{_infodir}/*

%changelog
* Tue Aug 06 2024 Funda Wang <fundawang@yeah.net> - 1:4.4.1-2
- Obsolete useless devel package
- make guile depedencies conditioned

* Mon Jul 17 2023 fuanan <fuanan3@h-partners.com> - 1:4.4.1-1
- update version to 4.4.1

* Wed Jan 11 2023 fuanan <fuanan3@h-partners.com> - 1:4.4-2
- Continue build when test-case(features/output-sync) failed
- Handle SIGPIPE as a fatal signal

* Wed Nov 09 2022 fuanan <fuanan3@h-partners.com> - 1:4.4-1
- update version to 4.4

* Wed Oct 19 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-3
- Fix spelling in spec

* Tue Sep 8 2020 wangchen <wangchen137@huawei.com> - 1:4.3-2
- Modify the URL of Source0

* Tue Jul 28 2020 wangchen <wangchen137@huawei.com> - 1:4.3-1
- Update to 4.3

* Mon Feb 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:4.2.1-15
- Revise requires of make-devel

* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:4.2.1-14
- Avoid the build failure of test suite that caused by -j2

* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:4.2.1-13
- Resolve compile problems.

* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:4.2.1-12
- Delete redundant files

* Wed Oct 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:4.2.1-11
- Package init