autoconf/autoconf.spec

119 lines
3.4 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:02:21 +08:00
%global __requires_exclude ^perl\\(Autom4te::
%global __provides_exclude ^perl\\(Autom4te::
Name: autoconf
2022-01-29 14:55:42 +08:00
Version: 2.71
Release: 9
2019-11-06 19:02:21 +08:00
Summary: An extensible package to automatically configure software source code packages
2022-07-28 12:22:34 +08:00
License: GPLv2+ and GPLv3+ and GFDL-1.3-only
2019-11-06 19:02:21 +08:00
URL: https://www.gnu.org/software/%{name}/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: config.site
2020-01-08 16:21:10 +08:00
Source2: autoconf-el.el
2019-11-06 19:02:21 +08:00
Patch1: backport-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch
Patch2: backport-Fix-testsuite-failures-with-bash-5.2.patch
2020-01-08 16:21:10 +08:00
Patch9000: skip-one-test-at-line-1616-of-autotest.patch
2019-11-06 19:02:21 +08:00
BuildArch: noarch
2022-01-29 14:55:42 +08:00
BuildRequires: m4 emacs perl perl-generators help2man gcc-c++
Requires: m4 emacs-filesystem perl
2019-11-06 19:02:21 +08:00
Requires(post): info
Requires(preun):info
%package_help
%description
Autoconf is an extensible package of M4 macros that produce shell scripts to automatically
configure software source code packages. These scripts can adapt the packages to many kinds
of UNIX-like systems without manual user intervention. Autoconf creates a configuration script
for a package from a template file that lists the operating system features that the package
can use, in the form of M4 macro calls.
%prep
%autosetup -n %{name}-%{version} -p1
%build
export EMACS=%{_bindir}/emacs
%configure --with-lispdir=%{_emacs_sitelispdir}/autoconf
%make_build
%check
make %{?_smp_mflags} check
%install
%make_install
install -p -D %{SOURCE1} %{buildroot}%{_datadir}
2020-01-08 16:21:10 +08:00
install -p -D %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}/autoconf-el.el
2019-11-06 19:02:21 +08:00
%post help
/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
%preun help
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/autoconf.info %{_infodir}/dir || :
fi
%files
%doc ChangeLog README THANKS
%license COPYING* AUTHORS doc/autoconf.info
%{_bindir}/*
%{_datadir}/autoconf/
%{_datadir}/config.site
%{_datadir}/emacs/site-lisp/*
%exclude %{_infodir}/standards*
%files help
%doc NEWS TODO
%{_infodir}/autoconf.info*
%{_mandir}/man1/*
%exclude %{_infodir}/dir
%changelog
* Fri Dec 06 2024 Funda Wang <fundawang@yeah.net> - 2.71-9
- revert previous fix, as it causes too many regressions
* Wed Dec 04 2024 Funda Wang <fundawang@yeah.net> - 2.71-8
- fix AC_CHECK_LIB no longer works with g++ (debian bug#992981)
* Thu Jun 13 2024 fuanan <fuanan3@h-partners.com> - 2.71-6
- Delete the code that adapts to lib/autoconf/c.m4
* Tue May 14 2024 Ge Wang <wang__ge@126.com> - 2.71-5
- Adapt signed-char check macro for default unsigned evironment
* Tue Jul 18 2023 fuanan <fuanan3@h-partners.com> - 2.71-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix testsuite failures with bash 5.2.15
* Sat Oct 22 2022 yixiangzhike <yixiangzhike007@163.com> - 2.71-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix typo in variable name
2022-07-28 12:22:34 +08:00
* Thu Jul 28 2022 fuanan <fuanan3@h-partners.com> - 2.71-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:License compliance rectification
2022-01-29 14:55:42 +08:00
* Sat Jan 29 2022 panxiaohe <panxh.life@foxmail.com> - 2.71-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Update autoconf to 2.71
Add perl to resolve compilation failure
Add gcc-c++ to solve test failure
2020-01-08 16:21:10 +08:00
* Sat Jan 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.69-30
- Strengthen sources and patches
2019-11-06 19:02:21 +08:00
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.69-29
- Package Init