parent
834c3371a3
commit
de01dc1e01
@ -3,7 +3,7 @@
|
|||||||
Summary: A GNU tool for automatically creating Makefiles
|
Summary: A GNU tool for automatically creating Makefiles
|
||||||
Name: automake
|
Name: automake
|
||||||
Version: %{api_version}.2
|
Version: %{api_version}.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
Source: http://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
||||||
@ -16,20 +16,20 @@ Requires(preun): /sbin/install-info
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
# run "make check" by default
|
||||||
|
%bcond_without check
|
||||||
|
|
||||||
# for better tests coverage:
|
# for better tests coverage:
|
||||||
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
||||||
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
||||||
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
||||||
|
|
||||||
# the filtering macros are currently in /etc/rpm/macros.perl:
|
# the filtering macros are currently in /etc/rpm/macros.perl:
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-macros
|
||||||
|
|
||||||
# remove bogus Automake perl dependencies and provides
|
# remove bogus Automake perl dependencies and provides
|
||||||
%{?perl_default_filter:
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
|
||||||
%filter_from_provides /^perl(Automake::/d
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
|
||||||
%filter_from_requires /^perl(Automake::/d
|
|
||||||
%perl_default_filter
|
|
||||||
}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Automake is a tool for automatically generating `Makefile.in'
|
Automake is a tool for automatically generating `Makefile.in'
|
||||||
@ -41,15 +41,13 @@ Makefiles.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n automake-%{version}
|
%setup -q -n automake-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1 -b .aclocal7-sleep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
--bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} \
|
--bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} \
|
||||||
--docdir=%{_docdir}/%{name}-%{version}
|
--docdir=%{_docdir}/%{name}-%{version} --disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
mv -f NEWS NEWS_
|
|
||||||
iconv -f ISO_8859-15 -t UTF-8 NEWS_ -o NEWS
|
|
||||||
cp m4/acdir/README README.aclocal
|
cp m4/acdir/README README.aclocal
|
||||||
cp contrib/multilib/README README.multilib
|
cp contrib/multilib/README README.multilib
|
||||||
|
|
||||||
@ -64,7 +62,9 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|||||||
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/aclocal
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/aclocal
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with check}
|
||||||
make check
|
make check
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -79,7 +79,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS README THANKS NEWS README.aclocal README.multilib
|
%doc AUTHORS README THANKS NEWS README.aclocal README.multilib COPYING*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_infodir}/*.info*
|
%{_infodir}/*.info*
|
||||||
%{_datadir}/automake-%{api_version}
|
%{_datadir}/automake-%{api_version}
|
||||||
@ -87,6 +87,19 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 25 2012 Pavel Raiskup <praiskup@redhat.com> - 1.12.2-3
|
||||||
|
- Thanks to Ralf Corsépius <corsepiu@fedoraproject.org> - these fixes are
|
||||||
|
slightly reworked changes (due to rebase of automake) from his patch attached
|
||||||
|
to bug #823766
|
||||||
|
- Include COPYING.
|
||||||
|
- Add rpm-4.9 perl-filters %%__provides_exclude, %%__requires_exclude.
|
||||||
|
Remove rpm-4.8 perl-filters (Address RHBZ 823766).
|
||||||
|
- Remove utf-8 conversion of NEWS (Already utf-8 encoded).
|
||||||
|
- Add BR: perl-macros, Remove BR: perl-devel.
|
||||||
|
- Add support for --with/out=check.
|
||||||
|
- Append --disable-silent-rules to configure.
|
||||||
|
- remove trailing white spaces
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-2
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user