gawk-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Summary(ja): GNU バージョンの awk テキスト処理ユーティリティー
  2. Summary: The GNU version of the awk text processing utility.
  3. Name: gawk
  4. Version: 5.0.1
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Text
  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. %prep
  33. %setup -q -n gawk-%{version}
  34. %build
  35. %configure --bindir=/bin
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf %{buildroot}
  39. make install DESTDIR=%{buildroot}
  40. find %{buildroot} -name '*.la' -exec rm -f {} \;
  41. mkdir -p %{buildroot}%{_bindir}
  42. ln -sf gawk.1.gz %{buildroot}%{_mandir}/man1/awk.1.gz
  43. ln -sf ../../bin/gawk %{buildroot}%{_bindir}/awk
  44. ln -sf ../../bin/gawk %{buildroot}%{_bindir}/gawk
  45. rm -f %{buildroot}/bin/{,p}gawk-%{version}
  46. rm -f %{buildroot}%{_infodir}/dir
  47. %find_lang %name
  48. #check
  49. #make %{?_smp_mflags} check
  50. %clean
  51. rm -rf %{buildroot}
  52. %post
  53. if [ -f %{_infodir}/gawk.info.gz ]; then
  54. /sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir ||:
  55. fi
  56. %preun
  57. if [ $1 = 0 -a -f %{_infodir}/gawk.info.gz ]; then
  58. /sbin/install-info --delete %{_infodir}/gawk.info.gz %{_infodir}/dir ||:
  59. fi
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %license COPYING
  63. %doc FUTURES INSTALL LIMITATIONS NEWS
  64. %doc README_d/README.multibyte README_d/README.tests POSIX.STD
  65. /bin/*
  66. %{_bindir}/*
  67. %{_mandir}/man1/*
  68. %{_mandir}/man3/*
  69. %{_infodir}/gawk.info*
  70. %{_infodir}/gawkinet.info*
  71. %{_infodir}/gawkworkflow.info*
  72. %{_libexecdir}/awk
  73. %{_datadir}/awk
  74. %{_includedir}/gawkapi.h
  75. %dir %{_libdir}/gawk
  76. %{_libdir}/gawk/*
  77. %dir %{_sysconfdir}/profile.d
  78. %{_sysconfdir}/profile.d/*
  79. %changelog
  80. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.1-1
  81. - new upstream release.
  82. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.0-2
  83. - remove *.la files
  84. * Mon Jan 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0-1
  85. - update to 4.1.0
  86. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.1-1
  87. - new upstream reelase
  88. - drop outdated ja.po
  89. - disable libsigsegv
  90. - add BR: byacc
  91. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.8-1
  92. - new upstream release
  93. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.3-1vl5
  94. - applied new versioning policy, spec in utf-8
  95. * Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 3.1.3-0vl3
  96. - fixed missing list in %%doc
  97. - rebuilt for x86_64 architecture support
  98. * Tue May 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.3-0vl2
  99. - readd patch9 to disable warning
  100. * Wed May 5 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.3-0vl1
  101. - new upstream release
  102. - import patches from fedora package.
  103. - add patch10 to add ja in LINGUAS
  104. - add ja.po
  105. * Tue May 13 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.2-3vl1
  106. - synced with Rawhide 3.1.2-3
  107. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-2vl2
  108. - fixed typo
  109. * Thu May 31 2001 <sagami@vinelinux.org>
  110. - 3.0.6-2vl1: follow up with RH 3.0.6-2
  111. - gawk-3.0.6 + mb1.15
  112. * Mon Aug 7 2000 Jun Nishii <jun@vinelinux.org>
  113. - 3.0.4-2vl1
  114. - follow up with RHL62
  115. - use brp
  116. * Sun Jan 9 2000 Jun Nishii <jun@vinelinux.org>
  117. - 3.0.4-1vl1
  118. - change version-release for Vine Linux 2.0
  119. - bzip2 sources
  120. * Wed Sep 29 1999 Norihito Ohmori <nono@kondara.org>
  121. - add Multibyte Patch.
  122. * Wed Jun 30 1999 Jeff Johnson <jbj@redhat.com>
  123. - update to 3.0.4.
  124. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  125. - make sure all binaries are stripped
  126. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  127. - auto rebuild in the new build environment (release 6)
  128. * Fri Feb 19 1999 Jeff Johnson <jbj@redhat.com>
  129. - Install info pages (#1242).
  130. * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
  131. - build for glibc 2.1
  132. - don't package /usr/info/dir
  133. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  134. - translations modified for de, fr, tr
  135. * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
  136. - upgraded to 3.0.3
  137. - added documentation and buildroot
  138. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  139. - built against glibc