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