m4-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Summary: The GNU macro processor.
  2. Summary(ja): GNU マクロプロセッサ
  3. Name: m4
  4. Version: 1.4.14
  5. Release: 1%{?_dist_release}
  6. License: GPLv3+
  7. Group: Development/Tools
  8. Source: ftp://ftp.gnu.org/gnu/m4/m4-%{version}.tar.bz2
  9. URL: http://www.gnu.org/software/m4/
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libsigsegv-devel
  12. Requires(post): /sbin/install-info
  13. Requires(preun): /sbin/install-info
  14. %description
  15. A GNU implementation of the traditional UNIX macro processor. M4 is
  16. useful for writing text files which can be logically parsed, and is used
  17. by many programs as part of their build process. M4 has built-in
  18. functions for including files, running shell commands, doing arithmetic,
  19. etc. The autoconf program needs m4 for generating configure scripts, but
  20. not for running configure scripts.
  21. Install m4 if you need a macro processor.
  22. %description -l ja
  23. m4 は UNIX で使われるマクロプロセッサの GNU 版です.
  24. m4 を使うと,論理的に解析可能なテキストファイルを書く際に便利ですし,
  25. また多くのプログラムのビルド過程で m4 が使われています.
  26. m4 にはファイルのインクルード,シェルコマンドの実行,計算等の
  27. 組み込み関数が備わっています.autoconf は configure スクリプトの
  28. 生成に m4 を必要とします (が configure スクリプト実行には必要
  29. ありません).
  30. マクロプロセッサが必要なら m4 をインストールして下さい.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure
  35. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %makeinstall INSTALL_DATA="install -c -m644"
  39. # ensure /usr/share/info.dir is not included into the package
  40. rm -fv %{buildroot}%{_infodir}/dir
  41. %post
  42. /sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir
  43. %preun
  44. if [ "$1" = 0 ]; then
  45. /sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir
  46. fi
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog NEWS THANKS README
  52. %{_bindir}/m4
  53. %{_infodir}/*
  54. %{_mandir}/man1/*
  55. %changelog
  56. * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.14-1
  57. - new upstream release
  58. - built with new toolchain, libsigsegv-2.8
  59. * Sun Apr 5 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
  60. - ensure /usr/share/info/dir is not included in the package
  61. * Sun Apr 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
  62. - new upstream release
  63. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-1
  64. - new upstream release
  65. - added BuildRequires: libsigsegv-devel
  66. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.11-2vl5
  67. - spec in utf-8
  68. * Thu Apr 3 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.11-1vl5
  69. - new upstream release
  70. * Tue Mar 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.9-0vl1
  71. - new upstream
  72. * Sat Nov 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.8-0vl1
  73. - new upstream
  74. - changed URL
  75. * Sat Nov 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1
  76. - new upstream
  77. - s/Copyright/License/
  78. - added some documents
  79. * Tue Aug 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1vl1
  80. - updated to 1.4.3 based on Fedora development
  81. * Fri Feb 20 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.1-12vl2
  82. - rebuild
  83. * Thu Dec 05 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.1-12vl1
  84. - based on 1.4.1-12 from Rawhide and built for Vine Linux
  85. - added Japanese summary and description
  86. * Mon Nov 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  87. - add french translation file
  88. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  89. - automated rebuild
  90. * Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  91. - do not strip apps
  92. * Fri Jun 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  93. - rebuild
  94. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  95. - automated rebuild
  96. * Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  97. - use _infodir on popular request #47465
  98. * Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  99. - add URL tag
  100. - improved spec file
  101. - add hack to update config.guess config.sub
  102. - fix to build with newer autoconf versions
  103. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  104. - Bump release + rebuild.
  105. * Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  106. - signal patch is not necessary anymore
  107. - fix printf buffer overflow problem
  108. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  109. - automatic rebuild
  110. * Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
  111. - added defattr
  112. * Mon Jun 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  113. - FHS compliance
  114. - 1.4.1
  115. - some fixes to spec file
  116. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  117. - auto rebuild in the new build environment (release 12)
  118. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  119. - build against glibc 2.1
  120. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  121. - translations modified for de, fr, tr
  122. * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
  123. - Manhattan build
  124. * Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
  125. - added info file handling and BuildRoot
  126. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  127. - built against glibc