m4-vl.spec 5.2 KB

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