m4-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Summary: The GNU macro processor.
  2. Summary(ja): GNU マクロプロセッサ
  3. Name: m4
  4. Version: 1.4.14
  5. Release: 2%{?_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. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> - 1.4.14-2
  57. - rebuilt with rpm-4.8.1-3
  58. * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.14-1
  59. - new upstream release
  60. - built with new toolchain, libsigsegv-2.8
  61. * Sun Apr 5 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
  62. - ensure /usr/share/info/dir is not included in the package
  63. * Sun Apr 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
  64. - new upstream release
  65. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-1
  66. - new upstream release
  67. - added BuildRequires: libsigsegv-devel
  68. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.11-2vl5
  69. - spec in utf-8
  70. * Thu Apr 3 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.11-1vl5
  71. - new upstream release
  72. * Tue Mar 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.9-0vl1
  73. - new upstream
  74. * Sat Nov 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.8-0vl1
  75. - new upstream
  76. - changed URL
  77. * Sat Nov 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1
  78. - new upstream
  79. - s/Copyright/License/
  80. - added some documents
  81. * Tue Aug 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1vl1
  82. - updated to 1.4.3 based on Fedora development
  83. * Fri Feb 20 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.4.1-12vl2
  84. - rebuild
  85. * Thu Dec 05 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.1-12vl1
  86. - based on 1.4.1-12 from Rawhide and built for Vine Linux
  87. - added Japanese summary and description
  88. * Mon Nov 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  89. - add french translation file
  90. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  91. - automated rebuild
  92. * Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  93. - do not strip apps
  94. * Fri Jun 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  95. - rebuild
  96. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  97. - automated rebuild
  98. * Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  99. - use _infodir on popular request #47465
  100. * Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  101. - add URL tag
  102. - improved spec file
  103. - add hack to update config.guess config.sub
  104. - fix to build with newer autoconf versions
  105. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  106. - Bump release + rebuild.
  107. * Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  108. - signal patch is not necessary anymore
  109. - fix printf buffer overflow problem
  110. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  111. - automatic rebuild
  112. * Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
  113. - added defattr
  114. * Mon Jun 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  115. - FHS compliance
  116. - 1.4.1
  117. - some fixes to spec file
  118. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  119. - auto rebuild in the new build environment (release 12)
  120. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  121. - build against glibc 2.1
  122. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  123. - translations modified for de, fr, tr
  124. * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
  125. - Manhattan build
  126. * Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
  127. - added info file handling and BuildRoot
  128. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  129. - built against glibc