m4-vl.spec 5.5 KB

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