|
@@ -2,8 +2,8 @@ Summary: A GNU tool for automatically configuring source code.
|
|
Summary(ja): ソースコードを自動的に設定するための GNU ツール
|
|
Summary(ja): ソースコードを自動的に設定するための GNU ツール
|
|
Name: autoconf213
|
|
Name: autoconf213
|
|
Version: 2.13
|
|
Version: 2.13
|
|
-Release: 6%{?_dist_release}
|
|
+Release: 7%{?_dist_release}
|
|
-License: GPL
|
|
+License: GPLv2
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
URL: http://www.gnu.org/software/autoconf/
|
|
URL: http://www.gnu.org/software/autoconf/
|
|
Source0: ftp://prep.ai.mit.edu/pub/gnu/autoconf/autoconf-%{version}.tar.gz
|
|
Source0: ftp://prep.ai.mit.edu/pub/gnu/autoconf/autoconf-%{version}.tar.gz
|
|
@@ -18,10 +18,21 @@ Patch6: autoconf-2.13-exit.patch
|
|
Patch7: autoconf-2.13-wait3test.patch
|
|
Patch7: autoconf-2.13-wait3test.patch
|
|
Patch8: autoconf-2.13-make-defs-62361.patch
|
|
Patch8: autoconf-2.13-make-defs-62361.patch
|
|
Patch9: autoconf-2.13-versioning.patch
|
|
Patch9: autoconf-2.13-versioning.patch
|
|
-#Prereq: /sbin/install-info
|
|
+Patch10: autoconf213-destdir.patch
|
|
-Requires: gawk, m4, perl, coreutils
|
|
+Patch11: autoconf213-info.patch
|
|
|
|
+
|
|
BuildArchitectures: noarch
|
|
BuildArchitectures: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: gawk
|
|
|
|
+BuildRequires: m4
|
|
|
|
+BuildRequires: perl
|
|
|
|
+BuildRequires: texinfo
|
|
|
|
+Requires: coreutils
|
|
|
|
+Requires: gawk
|
|
|
|
+Requires: m4
|
|
|
|
+Requires: perl
|
|
|
|
+Requires(post): /sbin/install-info
|
|
|
|
+Requires(preun): /sbin/install-info
|
|
|
|
|
|
%define __find_requires %{SOURCE1}
|
|
%define __find_requires %{SOURCE1}
|
|
|
|
|
|
@@ -69,40 +80,36 @@ Autoconf が必要になるのはスクリプトを生成するときのみで
|
|
%patch7 -p1
|
|
%patch7 -p1
|
|
%patch8 -p1
|
|
%patch8 -p1
|
|
%patch9 -p1 -b .version
|
|
%patch9 -p1 -b .version
|
|
-
|
|
+%patch10 -p1
|
|
|
|
+%patch11 -p1
|
|
|
|
+mv autoconf.texi autoconf213.texi
|
|
|
|
+rm -f autoconf.info
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --program-suffix=-%{version}
|
|
%configure --program-suffix=-%{version}
|
|
make
|
|
make
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf ${RPM_BUILD_ROOT}
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
-#mkdir -p ${RPM_BUILD_ROOT}%{_infodir}
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
-%makeinstall
|
|
|
|
|
|
|
|
-mv ${RPM_BUILD_ROOT}%{_infodir}/autoconf.info ${RPM_BUILD_ROOT}%{_infodir}/%{name}.info
|
|
+#mv $RPM_BUILD_ROOT%{_infodir}/autoconf.info $RPM_BUILD_ROOT%{_infodir}/%{name}.info
|
|
|
|
|
|
# We don't want to include the standards.info stuff in the package,
|
|
# We don't want to include the standards.info stuff in the package,
|
|
# because it comes from binutils...
|
|
# because it comes from binutils...
|
|
-rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
|
|
+rm -f $RPM_BUILD_ROOT%{_infodir}/standards*
|
|
-
|
|
|
|
-gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/*
|
|
|
|
-
|
|
|
|
-cp install-sh ${RPM_BUILD_ROOT}%{_datadir}/autoconf
|
|
|
|
-
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf ${RPM_BUILD_ROOT}
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
-
|
|
|
|
|
|
|
|
-#%post
|
|
|
|
-#/sbin/install-info %{_infodir}/autoconf.info.gz %{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
+%post
|
|
|
|
+/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
|
|
|
-#%preun
|
|
+%preun
|
|
-#if [ "$1" = 0 ]; then
|
|
+if [ "$1" = 0 ]; then
|
|
-# /sbin/install-info --del %{_infodir}/autoconf.info.gz %{_infodir}/dir
|
|
+ /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
-#fi
|
|
+fi
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -113,6 +120,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Apr 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13-7
|
|
|
|
+- rebuilt with perl-5.12.3
|
|
|
|
+- added Patch11 to add autoconf213 info entry
|
|
|
|
+
|
|
* Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.13-6
|
|
* Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.13-6
|
|
- spec in utf-8
|
|
- spec in utf-8
|
|
|
|
|