gawk-vl.spec 4.3 KB

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