46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
Name: autoconf-archive
|
|
Version: 2018.03.13
|
|
Release: 3
|
|
Summary: Autoconf Macro Archive
|
|
License: GPLv3+ with exceptions
|
|
URL: http://www.gnu.org/software/autoconf-archive/
|
|
Source0: http://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-%{version}.tar.xz
|
|
BuildArch: noarch
|
|
Requires: autoconf
|
|
Requires(post): info
|
|
Requires(preun): info
|
|
|
|
%description
|
|
Autoconf Macro Archive aims to provide a central repository of useful
|
|
and tested Autoconf macros for software developers around the world.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%post
|
|
install-info %{_infodir}/autoconf-archive.info.gz %{_infodir}/dir || :
|
|
|
|
%preun
|
|
if [ $1 = 0 ]; then
|
|
install-info --delete %{_infodir}/autoconf-archive.info.gz %{_infodir}/dir || :
|
|
fi
|
|
|
|
%files
|
|
%doc AUTHORS NEWS README TODO COPYING*
|
|
%{_datadir}/aclocal/*.m4
|
|
%{_infodir}/autoconf-archive.info*
|
|
%exclude %{_infodir}/dir
|
|
%exclude %{_datadir}/%{name}
|
|
|
|
%changelog
|
|
* Thu Nov 28 2019 fengbing <fengbing7@huawei.com> - 2018.03.13-3
|
|
- Package init
|
|
|