diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 10:49:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 10:49:23 +0000 |
commit | d7ffaa8e552f35c536c0e2bef4c8609a34459a68 (patch) | |
tree | fbcde5348a5873fa17e60b8dd38a6ac47143c3d9 /make.spec | |
parent | 1d84e4a7b2200f8c3b714ca5b02e598ff8e4d0e8 (diff) |
automatic import of makeopeneuler24.03_LTS
Diffstat (limited to 'make.spec')
-rw-r--r-- | make.spec | 102 |
1 files changed, 102 insertions, 0 deletions
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 |