m4-vl.spec 5.5 KB

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