source: projects/specs/branches/6/g/gawk/gawk-vl.spec @ 3402

Revision 3402, 4.2 KB checked in by daisuke, 13 years ago (diff)

gawk: update to 3.1.8

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