autoconf213-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Summary: A GNU tool for automatically configuring source code.
  2. Summary(ja): ソースコードを自動的に設定するための GNU ツール
  3. Name: autoconf213
  4. Version: 2.13
  5. Release: 7%{?_dist_release}
  6. License: GPLv2
  7. Group: Development/Tools
  8. URL: http://www.gnu.org/software/autoconf/
  9. Source0: ftp://prep.ai.mit.edu/pub/gnu/autoconf/autoconf-%{version}.tar.gz
  10. Source1: filter-requires-%{name}.sh
  11. Patch0: autoconf-2.12-race.patch
  12. Patch1: autoconf-2.13-mawk.patch
  13. Patch2: autoconf-2.13-notmp.patch
  14. Patch3: autoconf-2.13-c++exit.patch
  15. Patch4: autoconf-2.13-headers.patch
  16. Patch5: autoconf-2.13-autoscan.patch
  17. Patch6: autoconf-2.13-exit.patch
  18. Patch7: autoconf-2.13-wait3test.patch
  19. Patch8: autoconf-2.13-make-defs-62361.patch
  20. Patch9: autoconf-2.13-versioning.patch
  21. Patch10: autoconf213-destdir.patch
  22. Patch11: autoconf213-info.patch
  23. BuildArchitectures: noarch
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. BuildRequires: gawk
  26. BuildRequires: m4
  27. BuildRequires: perl
  28. BuildRequires: texinfo
  29. Requires: coreutils
  30. Requires: gawk
  31. Requires: m4
  32. Requires: perl
  33. Requires(post): /sbin/install-info
  34. Requires(preun): /sbin/install-info
  35. %define __find_requires %{SOURCE1}
  36. %description
  37. GNU's Autoconf is a tool for configuring source code and Makefiles.
  38. Using Autoconf, programmers can create portable and configurable
  39. packages, since the person building the package is allowed to specify
  40. various configuration options.
  41. You should install Autoconf if you are developing software and you
  42. would like to use it to create shell scripts that will configure your
  43. source code packages. If you are installing Autoconf, you will also
  44. need to install the GNU m4 package.
  45. Note that the Autoconf package is not required for the end-user who
  46. may be configuring software with an Autoconf-generated script;
  47. Autoconf is only required for the generation of the scripts, not their
  48. use.
  49. %description -l ja
  50. GNU autoconf はソースコードと Makefile を自動的に設定する GNU ツール
  51. です.Autoconf を使えば,プログラマは移植や設定が容易なパッケージを
  52. 作ることができます.そのため,パッケージ作成者はさまざまな設定
  53. オプションを指定できます。
  54. ソフトウェアを開発していてソースコードパッケージを設定するシェル
  55. スクリプトを生成したいとお考えなら,Autoconf をインストールしてください.
  56. Autoconf をインストールするためには GNU m4 パッケージもインストールする
  57. 必要があります.
  58. Autoconf が生成したスクリプトを使ってソフトウェアを設定するかもしれない
  59. エンドユーザには Autoconf パッケージが必要ないことに注目してください.
  60. Autoconf が必要になるのはスクリプトを生成するときのみで,使うときには
  61. 必要ありません.
  62. %prep
  63. %setup -q -n autoconf-%{version}
  64. %patch0 -p1
  65. %patch1 -p1
  66. %patch2 -p1
  67. %patch3 -p1
  68. %patch4 -p1
  69. %patch5 -p1
  70. %patch6 -p1
  71. %patch7 -p1
  72. %patch8 -p1
  73. %patch9 -p1 -b .version
  74. %patch10 -p1
  75. %patch11 -p1
  76. mv autoconf.texi autoconf213.texi
  77. rm -f autoconf.info
  78. %build
  79. %configure --program-suffix=-%{version}
  80. make
  81. %install
  82. rm -rf $RPM_BUILD_ROOT
  83. make install DESTDIR=$RPM_BUILD_ROOT
  84. #mv $RPM_BUILD_ROOT%{_infodir}/autoconf.info $RPM_BUILD_ROOT%{_infodir}/%{name}.info
  85. # We don't want to include the standards.info stuff in the package,
  86. # because it comes from binutils...
  87. rm -f $RPM_BUILD_ROOT%{_infodir}/standards*
  88. %clean
  89. rm -rf $RPM_BUILD_ROOT
  90. %post
  91. /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
  92. %preun
  93. if [ "$1" = 0 ]; then
  94. /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
  95. fi
  96. %files
  97. %defattr(-,root,root)
  98. %doc AUTHORS COPYING NEWS README TODO
  99. %{_bindir}/*
  100. %{_infodir}/*.info*
  101. %{_datadir}/autoconf-%{version}
  102. %changelog
  103. * Mon Apr 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13-7
  104. - rebuilt with perl-5.12.3
  105. - added Patch11 to add autoconf213 info entry
  106. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.13-6
  107. - spec in utf-8
  108. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13-5
  109. - rebuilt with perl-5.10.0-1
  110. - added Source1 (for perl(find.pl))
  111. * Thu Dec 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13-4vl2
  112. - s/Copyright/License/
  113. - added Japanese summary and description (copied from autoconf)
  114. * Sun Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.13-4vl1
  115. - based on 2.13-4 from Rawhide and built for Vine linux
  116. * Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.13-4
  117. - update url (#66840)
  118. - added doc files
  119. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.13-3
  120. - automated rebuild
  121. * Thu May 23 2002 Tim Powers <timp@redhat.com> 2.13-2
  122. - automated rebuild
  123. * Wed May 15 2002 Jens Petersen <petersen@redhat.com> 2.13-1
  124. - new package based on autoconf-2.13-17
  125. - don't make unversioned bindir symlinks
  126. - version datadir
  127. - version info filename, but don't install-info it
  128. - update AC_OUTPUT_MAKE_DEFS to fix problem with c++exit patch (#62361)
  129. * Wed Mar 27 2002 Jens Petersen <petersen@redhat.com> 2.13-17
  130. - add URL
  131. * Wed Feb 27 2002 Jens Petersen <petersen@redhat.com> 2.13-16
  132. - add version suffix to bindir files and symlink them to their
  133. unversioned names
  134. * Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com> 2.13-15
  135. - Add wait3test.patch to make sure that the child process actually does
  136. something that the kernel will take note of. Fixes the failing wait3 test
  137. that was worked around in time-1.7-15.
  138. * Mon Aug 6 2001 Tim Powers <timp@redhat.com>
  139. - rebuilt to fix bug #50761
  140. * Thu Jul 26 2001 Than Ngo <than@redhat.com>
  141. - add patch to fix exit status
  142. * Tue Jul 10 2001 Jens Petersen <petersen@redhat.com>
  143. - add patch to include various standard C headers as needed
  144. by various autoconf tests (#19114)
  145. - add patch to autoscan.pl to get a better choice of init
  146. file (#42071), to test for CPP after CC (#42072) and to
  147. detect C++ source and g++ (#42073).
  148. * Tue Jun 26 2001 Jens Petersen <petersen@redhat.com>
  149. - Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION
  150. from version 2.50 to make detection of C++ exit()
  151. declaration prototype platform independent. The check is
  152. done in AC_PROG_CXX with the result stored in "confdefs.h".
  153. The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed.
  154. (fixes #18829)
  155. * Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  156. - Fix up interoperability with glibc 2.2 and gcc 2.96:
  157. AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to
  158. the test code without throwing an exception, causing a conflict
  159. with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h
  160. always failed, returning wrong results
  161. * Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
  162. - add textutils as a dependency (#14439)
  163. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  164. - automatic rebuild
  165. * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
  166. - FHS packaging.
  167. * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  168. - fix preun
  169. * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
  170. - add patch to help autoconf clean after itself and not leave /tmp clobbered
  171. with acin.* and acout.* files (can you say annoying?)
  172. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  173. - auto rebuild in the new build environment (release 4)
  174. - use gawk, not mawk
  175. * Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
  176. - moved /usr/lib/autoconf to /usr/share/autoconf (with automake)
  177. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  178. - Injected new description and group.
  179. * Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
  180. - update to 2.13.
  181. * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
  182. - build against glibc 2.1
  183. * Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
  184. - requires perl
  185. * Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com>
  186. - patch for fixing /tmp race conditions
  187. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  188. - spec file cleanups
  189. - made a noarch package
  190. - uses autoconf
  191. - uses install-info
  192. * Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
  193. - built with glibc