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