gawk-vl.spec 4.2 KB

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