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