78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
|
|
%global _configure_gnuconfig_hack 0
|
||
|
|
%global __requires_exclude ^perl\\(Automake::
|
||
|
|
%global __provides_exclude ^perl\\(Automake::
|
||
|
|
|
||
|
|
Name: automake
|
||
|
|
Version: 1.16.1
|
||
|
|
Release: 6
|
||
|
|
Summary: A tool for automatically generating Makefile.in files
|
||
|
|
License: GPLv2+ and GFDL and Public Domain and MIT
|
||
|
|
URL: http://www.gnu.org/software/automake/
|
||
|
|
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||
|
|
Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||
|
|
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
#disable am-prog-cc-c-o ccnoco ccnoco-lib test
|
||
|
|
#that success through rpmbuild but fail on obs
|
||
|
|
Patch0: 0001-disable-three-tests.patch
|
||
|
|
|
||
|
|
BuildRequires: perl autoconf make help2man automake perl-generators
|
||
|
|
#for tests
|
||
|
|
BuildRequires: libtool gettext-devel flex bison vala
|
||
|
|
BuildRequires: cscope dejagnu sharutils gcc-gfortran
|
||
|
|
|
||
|
|
Requires: autoconf perl(threads) perl(Thread::Queue)
|
||
|
|
Requires(post): info
|
||
|
|
Requires(preun):info
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%description
|
||
|
|
iAutomake is a tool for automatically generating Makefile.in files compliant
|
||
|
|
with the GNU Coding Standards. Automake requires the use of Autoconf.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
autoreconf -iv
|
||
|
|
cp %{SOURCE1} ./lib/config.sub
|
||
|
|
cp %{SOURCE2} ./lib/config.guess
|
||
|
|
%configure
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
make %{?_smp_mflags} check
|
||
|
|
|
||
|
|
%post help
|
||
|
|
/sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||
|
|
|
||
|
|
%preun help
|
||
|
|
if [ $1 = 0 ]; then
|
||
|
|
/sbin/install-info --delete %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||
|
|
fi
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc README
|
||
|
|
%doc %{_docdir}/%{name}/*.tar.gz
|
||
|
|
%license COPYING* AUTHORS doc/automake.info
|
||
|
|
%{_bindir}/*
|
||
|
|
%{_datadir}/automake-*
|
||
|
|
%{_datadir}/aclocal-*
|
||
|
|
%exclude %{_infodir}/dir
|
||
|
|
%exclude %{_datadir}/aclocal
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%doc THANKS NEWS
|
||
|
|
%{_infodir}/*.info*
|
||
|
|
%{_mandir}/man1/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.16.1-6
|
||
|
|
- Package Init
|