gawk-vl.spec 5.3 KB

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