]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
- new %%doc
[packages/findutils.git] / findutils.spec
1 Summary:        GNU Find Utilities (find, xargs)
2 Summary(de):    GNU-Suchprogramme (find, xargs)
3 Summary(es):    Utilitarios de búsqueda de la GNU
4 Summary(fr):    Utilitaires de recherche de GNU (find, xargs)
5 Summary(pl):    GNU narzêdzia do odnajdywania plików (find, xargs)
6 Summary(pt_BR): Utilitários de procura da GNU
7 Summary(tr):    GNU dosya arama araçlarý
8 Name:           findutils
9 Version:        4.1.7
10 Release:        5
11 Epoch:          1
12 License:        GPL
13 Group:          Applications/File
14 Source0:        ftp://alpha.gnu.org/gnu/%{name}-%{version}.tar.gz
15 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
16 Patch0:         %{name}-info.patch
17 Patch2:         %{name}-mktemp.patch
18 Patch3:         %{name}-getshort.patch
19 Patch4:         %{name}-DESTDIR.patch
20 Patch5:         %{name}-am-workaround.patch
21 Patch6:         %{name}-xargs_help_cr.patch
22 BuildRequires:  texinfo
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The findutils package contains programs which will help you locate
27 files on your system. The find utility searches through a hierarchy of
28 directories looking for files which match a certain set of criteria
29 (such as a filename pattern). The locate utility searches a database
30 (create by updatedb) to quickly find a file matching a given pattern.
31 The xargs utility builds and executes command lines from standard
32 input arguments (usually lists of file names generated by the find
33 command).
34
35 %description -l de
36 Das findutils-Paket enthält Programme, die dabei helfen, Dateien auf
37 Ihrem System zu finden. Das Find-Utility durchsucht die
38 Verzeichnishierarchie nach Dateien, die zu bestimmten Kriterien (z.B.
39 Dateiname) passen. Das locate-Utility durchsucht eine Datenbank
40 (erzeugt durch updatedb), um die Dateien schneller finden zu können.
41 xargs konstruiert Kommandozeilen von der Standardeingabe (z.B.
42 Dateilisten, die von find erzeugt werden), und führt sie aus.
43
44 %description -l es
45 Este paquete contiene programas para ayúdalo a localizar archivos en
46 tu sistema. El programa find puede pesquisar, a través de una
47 jerarquía de directorios, buscando por archivos que obedezcan a un
48 cierto conjunto de criterios (como nombre de archivo modelo).
49
50 %description -l fr
51 Ce package contient des programmes pour vous aider à localiser des
52 fichiers sur votre système. Le programme find peut rechercher à
53 travers une hiérarchie de répertoires des fichiers conformes à
54 certains critères (comme un type de nom).
55
56 %description -l pl
57 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie
58 okre¶lonych plików. Program find s³u¿y do poszukiwania w drzewie
59 katalogów plików o okre¶lonych parametrach, jak nazwa, uprawnienia,
60 typ czy data ostatniej modyfikacji.
61
62 %description -l pt_BR
63 Esse pacote contém programas para ajudá-lo a localizar arquivos em seu
64 sistema. O programa find pode procurar através de uma hierarquia de
65 diretórios procurando por arquivos que obedeçam um certo conjunto de
66 critérios (como nome de arquivo modelo).
67
68 %description -l tr
69 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý
70 bulabilmeniz için hazýrlanmýþlardýr. find programý ile belirli
71 özellikleri olan bir yazýlýmý bir dizin hiyerarþisi altýnda
72 arayabilirsiniz.
73
74 %prep
75 %setup  -q
76 %patch0 -p1
77 %patch2 -p1
78 %patch3 -p1
79 %patch4 -p1
80 %patch5 -p1
81 %patch6 -p1
82
83 %build
84 touch lib/{stat,lstat}.c
85 %configure
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
96
97 %find_lang %{name}
98
99 %post
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
101
102 %postun
103 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files -f %{name}.lang
109 %defattr(644,root,root,755)
110 %doc NEWS README TODO ChangeLog
111 %attr(755,root,root) %{_bindir}/find
112 %attr(755,root,root) %{_bindir}/xargs
113
114 %{_mandir}/man1/[fx]*
115 %lang(de) %{_mandir}/de/man1/[fx]*
116 %lang(es) %{_mandir}/es/man1/[fx]*
117 %lang(fi) %{_mandir}/fi/man1/[fx]*
118 %lang(fr) %{_mandir}/fr/man1/[fx]*
119 %lang(hu) %{_mandir}/hu/man1/[fx]*
120 %lang(it) %{_mandir}/it/man1/[fx]*
121 %lang(ja) %{_mandir}/ja/man1/[fx]*
122 %lang(nl) %{_mandir}/nl/man1/[fx]*
123 %lang(pl) %{_mandir}/pl/man1/[fx]*
124 %{_infodir}/find.info*
This page took 0.042549 seconds and 3 git commands to generate.