gawk-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. Summary(ja): GNU バージョンの awk テキスト処理ユーティリティー
  2. Summary: The GNU version of the awk text processing utility.
  3. Name: gawk
  4. Version: 5.1.0
  5. Release: 1%{?_dist_release}
  6. Group: system,accessories
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: daisuke
  10. License: GPL
  11. URL: https://www.gnu.org/software/gawk/
  12. Source0: https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
  13. Requires(post): /sbin/install-info
  14. Requires: mktemp
  15. Buildroot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: grep
  17. BuildRequires: libsigsegv-devel
  18. BuildRequires: mpfr-devel
  19. BuildRequires: readline-devel
  20. %description
  21. The gawk packages contains the GNU version of awk, a text processing
  22. utility. Awk interprets a special-purpose programming language to do
  23. quick and easy text pattern matching and reformatting jobs.
  24. Install the gawk package if you need a text processing utility. Gawk is
  25. considered to be a standard Linux tool for processing text.
  26. %description -l ja
  27. gawk パッケージは GNU バージョンの、テキスト処理ユーティリティー awk
  28. を含んでいます。awk は素早く、簡単にパターンマッチングと整形処理を行う
  29. ためのプログラミング
  30. テキスト処理ユーティティーが必要なら、gawk パッケージをインストールし
  31. てください。gawk はLinux 上でテキスト処理を行う標準的なツールです。
  32. %debug_package
  33. %prep
  34. %setup -q -n gawk-%{version}
  35. %build
  36. %configure --bindir=/bin
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf %{buildroot}
  40. make install DESTDIR=%{buildroot}
  41. find %{buildroot} -name '*.la' -exec rm -f {} \;
  42. mkdir -p %{buildroot}%{_bindir}
  43. ln -sf gawk.1.gz %{buildroot}%{_mandir}/man1/awk.1.gz
  44. ln -sf ../../bin/gawk %{buildroot}%{_bindir}/awk
  45. ln -sf ../../bin/gawk %{buildroot}%{_bindir}/gawk
  46. rm -f %{buildroot}/bin/{,p}gawk-%{version}
  47. rm -f %{buildroot}%{_infodir}/dir
  48. %find_lang %name
  49. #check
  50. #make %{?_smp_mflags} check
  51. %clean
  52. rm -rf %{buildroot}
  53. %post
  54. if [ -f %{_infodir}/gawk.info.gz ]; then
  55. /sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir ||:
  56. fi
  57. %preun
  58. if [ $1 = 0 -a -f %{_infodir}/gawk.info.gz ]; then
  59. /sbin/install-info --delete %{_infodir}/gawk.info.gz %{_infodir}/dir ||:
  60. fi
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %doc FUTURES INSTALL LIMITATIONS NEWS
  65. %doc README_d/README.multibyte README_d/README.tests POSIX.STD
  66. /bin/*
  67. %{_bindir}/*
  68. %{_mandir}/man1/*
  69. %{_mandir}/man3/*
  70. %{_infodir}/gawk.info*
  71. %{_infodir}/gawkinet.info*
  72. %{_infodir}/gawkworkflow.info*
  73. %{_libexecdir}/awk
  74. %{_datadir}/awk
  75. %{_includedir}/gawkapi.h
  76. %dir %{_libdir}/gawk
  77. %{_libdir}/gawk/*
  78. %dir %{_sysconfdir}/profile.d
  79. %{_sysconfdir}/profile.d/*
  80. %changelog
  81. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.0-1
  82. - new upstream release.
  83. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.1-1
  84. - new upstream release.
  85. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.0-2
  86. - remove *.la files
  87. * Mon Jan 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1
  88. - update to 4.1.0
  89. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.1-1
  90. - new upstream reelase
  91. - drop outdated ja.po
  92. - disable libsigsegv
  93. - add BR: byacc
  94. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.8-1
  95. - new upstream release
  96. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.3-1vl5
  97. - applied new versioning policy, spec in utf-8
  98. * Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 3.1.3-0vl3
  99. - fixed missing list in %%doc
  100. - rebuilt for x86_64 architecture support
  101. * Tue May 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.3-0vl2
  102. - readd patch9 to disable warning
  103. * Wed May 5 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.3-0vl1
  104. - new upstream release
  105. - import patches from fedora package.
  106. - add patch10 to add ja in LINGUAS
  107. - add ja.po
  108. * Tue May 13 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.2-3vl1
  109. - synced with Rawhide 3.1.2-3
  110. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-2vl2
  111. - fixed typo
  112. * Thu May 31 2001 <sagami@vinelinux.org>
  113. - 3.0.6-2vl1: follow up with RH 3.0.6-2
  114. - gawk-3.0.6 + mb1.15
  115. * Mon Aug 7 2000 Jun Nishii <jun@vinelinux.org>
  116. - 3.0.4-2vl1
  117. - follow up with RHL62
  118. - use brp
  119. * Sun Jan 9 2000 Jun Nishii <jun@vinelinux.org>
  120. - 3.0.4-1vl1
  121. - change version-release for Vine Linux 2.0
  122. - bzip2 sources
  123. * Wed Sep 29 1999 Norihito Ohmori <nono@kondara.org>
  124. - add Multibyte Patch.
  125. * Wed Jun 30 1999 Jeff Johnson <jbj@redhat.com>
  126. - update to 3.0.4.
  127. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  128. - make sure all binaries are stripped
  129. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  130. - auto rebuild in the new build environment (release 6)
  131. * Fri Feb 19 1999 Jeff Johnson <jbj@redhat.com>
  132. - Install info pages (#1242).
  133. * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
  134. - build for glibc 2.1
  135. - don't package /usr/info/dir
  136. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  137. - translations modified for de, fr, tr
  138. * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
  139. - upgraded to 3.0.3
  140. - added documentation and buildroot
  141. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  142. - built against glibc