]> git.pld-linux.org Git - packages/gawk.git/blame_incremental - gawk.spec
- up to 3.1.7
[packages/gawk.git] / gawk.spec
... / ...
CommitLineData
1Summary: The GNU version of the awk text processing utility
2Summary(de.UTF-8): Die GNU-Version des AWK-Textverarbeitungsutilitys
3Summary(es.UTF-8): Utilitarios GNU para manipulación de archivos texto
4Summary(fr.UTF-8): Traitement de texte des utilitaires GNU
5Summary(ja.UTF-8): GNU バージョンの awk テキスト処理ユーティリティー
6Summary(pl.UTF-8): Wersja GNU awk - narzędzia do obróbki tekstów
7Summary(pt_BR.UTF-8): Utilitários GNU para manipulação arquivos texto
8Summary(ru.UTF-8): GNU версия утилиты обработки текстов awk
9Summary(tr.UTF-8): GNU araçları metin düzenleyici
10Summary(uk.UTF-8): GNU версія утиліти обробки текстів awk
11Name: gawk
12Version: 3.1.7
13Release: 1
14License: GPL v3+
15Group: Applications/Text
16Source0: http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
17# Source0-md5: 674cc5875714315c490b26293d36dfcf
18Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
19# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
20Patch0: %{name}-info.patch
21Patch1: %{name}-shutup.patch
22Patch2: %{name}-3.1.3-getpgrp_void.patch
23BuildRequires: autoconf >= 2.61
24BuildRequires: automake >= 1:1.10
25BuildRequires: gettext-devel >= 0.16.1
26BuildRequires: texinfo >= 4.3
27Requires: mktemp
28Requires: sed
29Obsoletes: gawk-doc
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%define _includedir %{_prefix}/include/awk
33
34%description
35The gawk packages contains the GNU version of awk, a text processing
36utility. Awk interprets a special-purpose programming language to do
37quick and easy text pattern matching and reformatting jobs. Gawk
38should be upwardly compatible with the Bell Labs research version of
39awk and is almost completely compliant with the 1993 POSIX 1003.2
40standard for awk.
41
42%description -l de.UTF-8
43Das gawk-Paket enthält die GNU-Version von awk, einem
44Textverarbeitungs-Utility. Awk interpretiert eine spezielle
45Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
46Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
47fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
48
49%description -l es.UTF-8
50Este es el GNU Awk. Debe ser compatible con la versión de pesquisa de
51awk del Bell Labs. Es casi completamente vinculado con el padrón 1993
52POSIX 1003.2 para awk. Gawk puede ser usado para procesar archivos
53texto y se considera una herramienta padrón del Linux.
54
55%description -l fr.UTF-8
56awk de GNU, compatible vers le haut avec les versions awk des Bell
57Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
58de awk.
59
60%description -l ja.UTF-8
61gawk パッケージは GNU バージョンの、テキスト処理ユーティリティー
62である awk を含んでいます。awk は素早く、容易なパターンマッチングと
63整形処理をするための特殊な目的の言語です。gawk はベル研のバージョンの
64awk と上位互換で、awk の 1993 POSIX 1003.2 標準に完全に合致します。
65
66%description -l pl.UTF-8
67Pakiet zawiera implementację GNU interpretera języka awk, który
68powinien być kompatybilny z aplikacją o tej samej nazwie zrobioną
69przez Bell Labs. GNU awk jest w pełni zgodny ze standardem 1993 POSIX
701003.2.
71
72Gawk (GNU awk) jest zaawansowanym językiem skryptowym, doskonale
73nadającym się do obróbki plików tekstowych. Jest to jedno z
74podstawowych narzędzi systemu Linux.
75
76%description -l pt_BR.UTF-8
77Este é o GNU Awk. Ele deve ser compatível com a versão de pesquisa de
78awk do Bell Labs. Ele é quase completamente vinculado com o padrão
791993 POSIX 1003.2 para awk. Gawk pode ser usado para processar
80arquivos texto e é considerado uma ferramenta padrão do Linux.
81
82%description -l ru.UTF-8
83Пакет gawk содержит GNU версию awk, утилиты обработки текстов. awk
84интерпретирует специализированный язык программирования для быстрого и
85легкого выполнения работ по сопоставлению с шаблонами и
86переформатированию текстов. Gawk должен быть совместим с версией awk
87от Bell Labs и практически полностью отвечает стандарту 1993 POSIX
881003.2 на awk.
89
90%description -l tr.UTF-8
91Gawk metin dosyalarını işlemek için kullanılan standart Linux
92Araçlarından biridir.
93
94%description -l uk.UTF-8
95Пакет gawk містить GNU версію awk, утиліти обробки текстів. awk
96інтерпретує спеціалізовану мову програмування для швидкого та легкого
97виконання робіт по співставленню з шаблонами та переформатуванню
98текстів. Gawk має бути сумісним з версією awk від Bell Labs і
99практично повністю відповідає стандарту 1993 POSIX 1003.2 на awk.
100
101%package devel
102Summary: Header files for gawk
103Summary(pl.UTF-8): Pliki nagłówkowe dla gawka
104Group: Development/Libraries
105
106%description devel
107This is the package containing the header files for gawk.
108
109%description devel -l pl.UTF-8
110Ten pakiet zawiera pliki nagłówkowe dla gawka.
111
112%prep
113%setup -q
114%patch0 -p1
115%patch1 -p1
116%patch2 -p1
117
118rm -f po/stamp-po
119
120%build
121%{__gettextize}
122%{__aclocal} -I m4
123%{__autoconf}
124%{__autoheader}
125%{__automake}
126%configure
127
128%{__make} -j1
129
130%install
131rm -rf $RPM_BUILD_ROOT
132
133%{__make} install \
134 DESTDIR=$RPM_BUILD_ROOT
135
136install -d $RPM_BUILD_ROOT%{_includedir}
137install *.h $RPM_BUILD_ROOT%{_includedir}
138
139bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
140rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
141rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
142rm -f $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
143
144%find_lang %{name}
145
146%clean
147rm -rf $RPM_BUILD_ROOT
148
149%post -p /sbin/postshell
150-/usr/sbin/fix-info-dir -c %{_infodir}
151
152%postun -p /sbin/postshell
153-/usr/sbin/fix-info-dir -c %{_infodir}
154
155%files -f %{name}.lang
156%defattr(644,root,root,755)
157%doc AUTHORS ChangeLog README FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README
158%attr(755,root,root) %{_bindir}/gawk
159%attr(755,root,root) %{_bindir}/igawk
160%attr(755,root,root) %{_bindir}/pgawk*
161%{_mandir}/man1/*
162%lang(es) %{_mandir}/es/man1/*
163%lang(fr) %{_mandir}/fr/man1/*
164%lang(it) %{_mandir}/it/man1/*
165%lang(ja) %{_mandir}/ja/man1/*
166%lang(pl) %{_mandir}/pl/man1/*
167%{_infodir}/*.info*
168%attr(755,root,root) %{_libdir}/awk
169%{_datadir}/awk
170
171%files devel
172%defattr(644,root,root,755)
173%{_includedir}
This page took 0.058304 seconds and 4 git commands to generate.