autoconf-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. # run "make check" by default
  2. %bcond_without check
  3. %define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires(post):%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
  4. Summary: A GNU tool for automatically configuring source code.
  5. Summary(ja): ソースコードを自動的に設定するための GNU ツール
  6. Name: autoconf
  7. Version: 2.69
  8. Release: 2%{?_dist_release}
  9. License: GPL
  10. Group: Development/Tools
  11. URL: http://www.gnu.org/software/autoconf/
  12. Source: http://ftp.gnu.org/pub/gnu/autoconf/autoconf-%{version}.tar.xz
  13. Patch1: autoconf-2.69-perl-5.22-autoscan.patch
  14. Patch2: autoconf-test38.patch
  15. Patch3: autoconf-test501.patch
  16. # Vine Source(s)
  17. Source10: autoconf-mode-install.sh
  18. Source11: autoconf-mode-remove.sh
  19. Requires(post,preun): /sbin/install-info
  20. Requires: gawk, m4, mktemp, perl, textutils
  21. Obsoletes: autoconf253
  22. BuildArch: noarch
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. %description
  25. GNU's Autoconf is a tool for configuring source code and Makefiles.
  26. Using Autoconf, programmers can create portable and configurable
  27. packages, since the person building the package is allowed to
  28. specify various configuration options.
  29. You should install Autoconf if you are developing software and
  30. would like to create shell scripts that configure your source code
  31. packages. If you are installing Autoconf, you will also need to
  32. install the GNU m4 package.
  33. Note that the Autoconf package is not required for the end-user who
  34. may be configuring software with an Autoconf-generated script;
  35. Autoconf is only required for the generation of the scripts, not
  36. their use.
  37. %description -l ja
  38. GNU autoconf はソースコードと Makefile を自動的に設定する GNU ツール
  39. です.Autoconf を使えば,プログラマは移植や設定が容易なパッケージを
  40. 作ることができます.そのため,パッケージ作成者はさまざまな設定
  41. オプションを指定できます。
  42. ソフトウェアを開発していてソースコードパッケージを設定するシェル
  43. スクリプトを生成したいとお考えなら,Autoconf をインストールしてください.
  44. Autoconf をインストールするためには GNU m4 パッケージもインストールする
  45. 必要があります.
  46. Autoconf が生成したスクリプトを使ってソフトウェアを設定するかもしれない
  47. エンドユーザには Autoconf パッケージが必要ないことに注目してください.
  48. Autoconf が必要になるのはスクリプトを生成するときのみで,使うときには
  49. 必要ありません.
  50. %package mode
  51. Summary: Emacs-lisp autoconf-mode for autoconf/autotest
  52. Group: Applications/Editors/Emacs
  53. BuildRequires: emacs
  54. %prereq_ge emacsen-common
  55. Requires: emacsen
  56. %description mode
  57. Emacs-lisp autoconf-mode for autoconf/autotest
  58. %prep
  59. %setup -q -n autoconf-%{version}
  60. %patch1 -p1
  61. %patch2 -p1
  62. %patch3 -p1
  63. %build
  64. %configure
  65. make %{?_smp_mflags}
  66. #make check
  67. %install
  68. rm -rf ${RPM_BUILD_ROOT}
  69. %makeinstall
  70. gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/autoconf.info*
  71. # We don't want to include the standards.info stuff in the package,
  72. # because it comes from binutils...
  73. rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
  74. # cp install-sh ${RPM_BUILD_ROOT}%{_datadir}/autoconf
  75. # remove info dir file since it isn't packaged
  76. rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
  77. # move elisp files
  78. pushd ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp
  79. mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/emacs/site-lisp/autoconf-mode
  80. mv *.el autoconf-mode/
  81. popd
  82. # emacsen-common-ize
  83. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/autoconf-mode
  84. #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/install
  85. #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/remove
  86. mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/install
  87. mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/remove
  88. %_installemacsenscript autoconf-mode %{SOURCE10}
  89. %_removeemacsenscript autoconf-mode %{SOURCE11}
  90. rm -f %{buildroot}%{_datadir}/emacs/site-lisp/auto*-mode.elc
  91. %check
  92. %if %{with check}
  93. make check %{?_smp_mflags}
  94. %endif
  95. %clean
  96. rm -rf ${RPM_BUILD_ROOT}
  97. %post
  98. /sbin/install-info %{_infodir}/autoconf.info.gz %{_infodir}/dir
  99. %post mode
  100. if [ "$1" = 2 ]; then
  101. %_emacsenPackageRemove autoconf-mode
  102. fi
  103. %_addemacsenlist autoconf-mode
  104. %_emacsenPackageInstall autoconf-mode
  105. %preun
  106. if [ "$1" = 0 ]; then
  107. /sbin/install-info --del %{_infodir}/autoconf.info.gz %{_infodir}/dir
  108. fi
  109. %preun mode
  110. if [ "$1" = 0 ]; then
  111. %_emacsenPackageRemove autoconf-mode
  112. %_removeemacsenlist autoconf-mode
  113. fi
  114. %files
  115. %defattr(-,root,root)
  116. %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
  117. %{_bindir}/*
  118. %{_infodir}/*.info*
  119. %{_datadir}/autoconf
  120. %{_mandir}/man1/*
  121. %files mode
  122. %defattr(-,root,root)
  123. %{_datadir}/emacs/site-lisp/autoconf-mode/
  124. #/usr/lib/emacsen-common/packages/install/autoconf-mode
  125. #/usr/lib/emacsen-common/packages/remove/autoconf-mode
  126. %{emacsen_pkgdir}/install/autoconf-mode
  127. %{emacsen_pkgdir}/remove/autoconf-mode
  128. %changelog
  129. * Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.69-2
  130. - added Patch1-3.
  131. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.69-1
  132. - upate to 2.69
  133. * Sun Nov 13 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.68-1
  134. - new upstream release
  135. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.65-2
  136. - rebuilt with rpm-4.8.1-3
  137. * Sun Apr 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.65-1
  138. - new upstream release
  139. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.63-1
  140. - new upstream release
  141. - dropped Patch0 (merged into upstream)
  142. * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.62-3
  143. - added %%emacsen_pkgdir macro
  144. - spec in utf-8
  145. * Wed Jun 18 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.62-2
  146. - import Patch0 from Fedora 2.62-2
  147. * Fri Jun 06 2008 Karsten Hopp <karsten@redhat.com> 2.62-2
  148. - add upstream fix from Eric Blake for #449973,
  149. m4_if releated error message from autotest
  150. * Sun May 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.62-1
  151. - new upstream release
  152. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.61-0vl1
  153. - new upstream release
  154. * Tue Sep 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.59-2vl4
  155. - changed autoconf-mode Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
  156. - added Japanese summary and description from vinedocs.sourceforge.jp
  157. - s/Copyright/License/
  158. * Wed Feb 25 2004 Tomoya TAKA <taka@vinelinux.org> 2.59-2vl3
  159. - rebuild
  160. * Fri Feb 20 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.59-2vl2
  161. - rebuild
  162. * Mon Jan 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.59-2vl1
  163. - update to 2.59 bugfix release
  164. * Mon Nov 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.58-0vl1
  165. - new upstream release
  166. * Tue Apr 08 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.57-3vl1
  167. - source update
  168. * Sun Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.56-1vl2
  169. - don't show annoying messages during elisp compilation
  170. * Sun Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.56-1vl1
  171. - based on 2.56-1 from Rawhide and built for Vine Linux
  172. - emacsen-common-ize
  173. * Mon Nov 18 2002 Jens Petersen <petersen@redhat.com> 2.56-1
  174. - update to 2.56
  175. - obsolete autoheader-warn patch
  176. - no longer provide autoconf253
  177. - include site-lisp and man files
  178. - remove info dir which is not in the manifest
  179. - do not version suffix bin files for now
  180. * Mon Aug 19 2002 Jens Petersen <petersen@redhat.com> 2.53-8
  181. - make check
  182. * Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.53-7
  183. - update url (#66840)
  184. - added doc files
  185. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.53-6
  186. - automated rebuild
  187. * Sun May 26 2002 Tim Powers <timp@redhat.com> 2.53-5
  188. - automated rebuild
  189. * Mon May 20 2002 Bill Nottingham <notting@redhat.com> 2.53-4
  190. - provide autoconf253
  191. * Thu May 16 2002 Bill Nottingham <notting@redhat.com> 2.53-3
  192. - obsolete autoconf253
  193. * Wed May 8 2002 Jens Petersen <petersen@redhat.com> 2.53-2
  194. - patch autoheader so that --warnings=CATEGORY works (#64566)
  195. [reported with fix by hjl@gnu.org]
  196. * Tue Apr 23 2002 Jens Petersen <petersen@redhat.com> 2.53-1
  197. - update to autoconf-2.53
  198. - drop mawk patch again
  199. - version suffix bindir files and add symlinks to unversioned names
  200. * Fri Feb 1 2002 Jens Petersen <petersen@redhat.com> 2.52-7
  201. - revert to 2.52 (also fixes #58210!)
  202. - remove relversion variable
  203. - bring back mawk -> gawk patch
  204. * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.52-6
  205. - automated rebuild
  206. * Thu Dec 20 2001 Jens Petersen <petersen@redhat.com> 2.52-5
  207. - update to 2.52f
  208. - add URL
  209. - minor description improvements
  210. - define relversion to carry version number
  211. - mawk.patch no longer needed
  212. * Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-4
  213. - rebuild
  214. * Wed Sep 19 2001 Jens Petersen <petersen@redhat.com> 2.52-3
  215. - restore patch to prefer gawk to mawk
  216. * Tue Sep 18 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-2
  217. - update to 2.52d
  218. * Mon Sep 17 2001 Jens Petersen <petersen@redhat.com> 2.52-1
  219. - update to 2.52
  220. - remove obsolete patches, since already new version
  221. - dont install install-sh
  222. * Tue Jul 10 2001 Jens Petersen <petersen@redhat.com>
  223. - add patch to include various standard C headers as needed
  224. by various autoconf tests (#19114)
  225. - add patch to autoscan.pl to get a better choice of init
  226. file (#42071), to test for CPP after CC (#42072) and to
  227. detect C++ source and g++ (#42073).
  228. * Tue Jun 26 2001 Jens Petersen <petersen@redhat.com>
  229. - Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION
  230. from version 2.50 to make detection of C++ exit()
  231. declaration prototype platform independent. The check is
  232. done in AC_PROG_CXX with the result stored in "confdefs.h".
  233. The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed.
  234. (fixes #18829)
  235. * Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  236. - Fix up interoperability with glibc 2.2 and gcc 2.96:
  237. AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to
  238. the test code without throwing an exception, causing a conflict
  239. with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h
  240. always failed, returning wrong results
  241. * Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
  242. - add textutils as a dependency (#14439)
  243. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  244. - automatic rebuild
  245. * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
  246. - FHS packaging.
  247. * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  248. - fix preun
  249. * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
  250. - add patch to help autoconf clean after itself and not leave /tmp clobbered
  251. with acin.* and acout.* files (can you say annoying?)
  252. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  253. - auto rebuild in the new build environment (release 4)
  254. - use gawk, not mawk
  255. * Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
  256. - moved /usr/lib/autoconf to /usr/share/autoconf (with automake)
  257. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  258. - Injected new description and group.
  259. * Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
  260. - update to 2.13.
  261. * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
  262. - build against glibc 2.1
  263. * Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
  264. - requires perl
  265. * Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com>
  266. - patch for fixing /tmp race conditions
  267. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  268. - spec file cleanups
  269. - made a noarch package
  270. - uses autoconf
  271. - uses install-info
  272. * Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
  273. - built with glibc