source: projects/specs/trunk/g/gawk/gawk-vl.spec @ 9559

Revision 9559, 4.6 KB checked in by Takemikaduchi, 9 years ago (diff)

cinnamon: new upstream release or rebuild
caja: fix typo
others: remove *.la files

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