diff --git a/automake-1.16.5.tar.xz b/automake-1.16.5.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..ff2c5401387dcca75227036abb00a262a4024e34 Binary files /dev/null and b/automake-1.16.5.tar.xz differ diff --git a/automake.spec b/automake.spec new file mode 100644 index 0000000000000000000000000000000000000000..f26eb1329a41b641a10133c1f6cb08b0d94e8ef9 --- /dev/null +++ b/automake.spec @@ -0,0 +1,92 @@ +%define anolis_release 1 + +# perform 'make check' by default +%bcond_without check + +Name: automake +Version: 1.16.5 +Release: %{anolis_release}%{?dist} +Summary: A program which creates Makefiles from template files. + +# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT +License: GPLv2+ and GFDL and Public Domain and MIT +URL: http://www.gnu.org/software/automake/ +Source0: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz + +BuildRequires: autoconf +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: help2man +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl(Thread::Queue) +BuildRequires: perl(threads) +BuildArch: noarch + +%if %{with check} +BuildRequires: automake +BuildRequires: bison +BuildRequires: cscope +BuildRequires: dejagnu +BuildRequires: emacs +BuildRequires: expect +BuildRequires: flex +BuildRequires: gcc-gfortran +BuildRequires: gettext-devel +BuildRequires: java-devel +BuildRequires: libtool +BuildRequires: ncompress +BuildRequires: sharutils +BuildRequires: texlive-dvips +BuildRequires: texinfo-tex +BuildRequires: vala +%endif + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake:: +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake:: + + +%description +Automake is a tool for automatically generating `Makefile.in' files +compliant with the GNU Coding Standards. + +You should install Automake if you are developing software and would +like to use its ability to automatically generate GNU standard +Makefiles. + +%prep +%autosetup -p1 +%if %{with check} +autoreconf -iv +%endif + +%build +%configure +%make_build +make %{?_smp_mflags} +cp m4/acdir/README README.aclocal +cp contrib/multilib/README README.multilib + +%check +%if %{with check} +make -k %{?_smp_mflags} check || ( cat ./test-suite.log ; false ) +%endif + +%install +make install DESTDIR=%{buildroot} + +%files +%license COPYING +%doc AUTHORS README THANKS NEWS README.aclocal README.multilib +%doc %{_pkgdocdir}/amhello-1.0.tar.gz +%exclude %{_infodir}/dir +%exclude %{_datadir}/aclocal +%{_bindir}/* +%{_infodir}/*.info* +%{_mandir}/man1/* +%{_datadir}/automake-* +%{_datadir}/aclocal-* + +%changelog +* Fri May 20 2022 Su Lifan - 1.16.5-1 +- Initial packaging for Anolis OS 23