73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
Name: autoconf213
|
|
Version: 2.13
|
|
Release: 41
|
|
Summary: An extensible package to automatically configure software source code packages
|
|
License: GPLv2+
|
|
URL: https://www.gnu.org/software/autoconf/
|
|
Source0: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.gz#/autoconf-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
Patch0: autoconf-2.12-race.patch
|
|
Patch1: autoconf-2.13-mawk.patch
|
|
Patch2: autoconf-2.13-notmp.patch
|
|
Patch3: autoconf-2.13-c++exit.patch
|
|
Patch4: autoconf-2.13-headers.patch
|
|
Patch6: autoconf-2.13-exit.patch
|
|
Patch7: autoconf-2.13-wait3test.patch
|
|
Patch8: autoconf-2.13-make-defs-62361.patch
|
|
Patch9: autoconf-2.13-versioning.patch
|
|
Patch10: autoconf213-destdir.patch
|
|
Patch11: autoconf213-info.patch
|
|
Patch12: autoconf213-testsuite.patch
|
|
|
|
BuildRequires: flex gawk dejagnu perl texinfo m4
|
|
Requires: coreutils gawk m4
|
|
Requires(post): texinfo
|
|
Requires(preun):texinfo
|
|
|
|
%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
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n autoconf-%{version} -p1
|
|
mv autoconf.texi autoconf213.texi
|
|
rm -f autoconf.info
|
|
|
|
%build
|
|
%configure --program-suffix=-%{version}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -f %{buildroot}%{_bindir}/autoscan-%{version}
|
|
|
|
%check
|
|
make check
|
|
|
|
%post
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
|
%preun
|
|
if [ "$1" = 0 ]; then
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
fi
|
|
|
|
%files
|
|
%doc README
|
|
%license AUTHORS COPYING
|
|
%{_bindir}/*
|
|
%{_datadir}/autoconf-%{version}/
|
|
|
|
%files help
|
|
%doc NEWS TODO
|
|
%{_infodir}/*.info*
|
|
|
|
%changelog
|
|
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.13-41
|
|
- Package init
|