+++ /dev/null
-# all generated files reside in here
-/stage/*
-
-# byte-compiled version of the python module
-/__pycache__/*
-/macro.pyc
-
-# the html tree is maintained in a separate, CVS-based repository
-/html/*
-
-# gnulib creates backup files with a ~ suffix all over the place
-*~
-
-# files generated by Autoconf, Automake, and Gnulib
-/AUTHORS
-/ChangeLog
-/GNUmakefile
-/INSTALL
-/Makefile
-/Makefile.in
-/README
-/aclocal.m4
-/autoconf-archive-*.*.*.tar.*
-/autoconf-archive-*.*.*/*
-/autom4te.cache/*
-/build-aux/*
-/config.log
-/config.status
-/configure
-/gnulib
-/maint.mk
--- /dev/null
+Name: autoconf-archive
+Version: 2022.09.03
+Release: 0
+Summary: A Collection of macros for GNU autoconf
+License: GPL-3.0+ WITH Autoconf-exception-3.0
+Group: Development/Tools/Building
+Url: https://savannah.gnu.org/projects/autoconf-archive
+Source0: https://ftp.gnu.org/pub/gnu/autoconf-archive/%{name}-%{version}.tar.xz
+Source1001: %{name}.manifest
+
+Requires(post): info
+Requires(pre): info
+BuildArch: noarch
+
+%description
+The GNU Autoconf Archive is a collection of more than 450 macros for `GNU
+Autoconf <http://www.gnu.org/software/autoconf>`_ that have been contributed as
+free software by friendly supporters of the cause from all over the Internet.
+Every single one of those macros can be re-used without imposing any
+restrictions whatsoever on the licensing of the generated `configure` script. In
+particular, it is possible to use all those macros in `configure` scripts that
+are meant for non-free software. This policy is unusual for a Free Software
+Foundation project. The FSF firmly believes that software ought to be free, and
+software licenses like the GPL are specifically designed to ensure that
+derivative work based on free software must be free as well. In case of
+Autoconf, however, an exception has been made, because Autoconf is at such a
+pivotal position in the software development tool chain that the benefits from
+having this tool available as widely as possible outweigh the disadvantage that
+some authors may choose to use it, too, for proprietary software.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+autoreconf -fi
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+rm -rf %{buildroot}/%{_datadir}/%{name}/
+
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%license COPYING*
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/*.m4
+
+%changelog