summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--make.spec102
-rw-r--r--sources1
3 files changed, 104 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..51dd43e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/make-4.4.1.tar.gz
diff --git a/make.spec b/make.spec
new file mode 100644
index 0000000..9e1ce37
--- /dev/null
+++ b/make.spec
@@ -0,0 +1,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
diff --git a/sources b/sources
new file mode 100644
index 0000000..7039a1b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c8469a3713cbbe04d955d4ae4be23eeb make-4.4.1.tar.gz