]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
- added missing \n at the end of xargs --help
[packages/findutils.git] / findutils.spec
1 Summary:        GNU Find Utilities (find, xargs)
2 Summary(de):    GNU-Suchprogramme (find, xargs)
3 Summary(fr):    Utilitaires de recherche de GNU (find, xargs)
4 Summary(pl):    GNU narzêdzia do odnajdywania plików (find, xargs)
5 Summary(tr):    GNU dosya arama araçlarý
6 Name:           findutils
7 Version:        4.1.7
8 Release:        4
9 Epoch:          1
10 License:        GPL
11 Group:          Applications/File
12 Group(de):      Applikationen/Datei
13 Group(pl):      Aplikacje/Pliki
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 fr
45 Ce package contient des programmes pour vous aider à localiser des
46 fichiers sur votre système. Le programme find peut rechercher à
47 travers une hiérarchie de répertoires des fichiers conformes à
48 certains critères (comme un type de nom).
49
50 %description -l pl
51 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie
52 okre¶lonych plików. Program find s³u¿y do poszukiwania w drzewie
53 katalogów plików o okre¶lonych parametrach, jak nazwa, uprawnienia,
54 typ czy data ostatniej modyfikacji.
55
56 %description -l tr
57 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý
58 bulabilmeniz için hazýrlanmýþlardýr. find programý ile belirli
59 özellikleri olan bir yazýlýmý bir dizin hiyerarþisi altýnda
60 arayabilirsiniz.
61
62 %prep
63 %setup  -q
64 %patch0 -p1 
65 %patch2 -p1 
66 %patch3 -p1
67 %patch4 -p1
68 %patch5 -p1
69 %patch6 -p1
70
71 %build
72 touch lib/{stat,lstat}.c
73 %configure 
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82         
83 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
84
85 gzip -9nf NEWS README TODO ChangeLog
86         
87 %find_lang %{name}
88
89 %post
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
91
92 %postun
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc {NEWS,README,TODO,ChangeLog}.gz
101 %attr(755,root,root) %{_bindir}/find
102 %attr(755,root,root) %{_bindir}/xargs
103
104 %{_mandir}/man1/[fx]*
105 %lang(de) %{_mandir}/de/man1/[fx]*
106 %lang(es) %{_mandir}/es/man1/[fx]*
107 %lang(fi) %{_mandir}/fi/man1/[fx]*
108 %lang(fr) %{_mandir}/fr/man1/[fx]*
109 %lang(hu) %{_mandir}/hu/man1/[fx]*
110 %lang(it) %{_mandir}/it/man1/[fx]*
111 %lang(ja) %{_mandir}/ja/man1/[fx]*
112 %lang(nl) %{_mandir}/nl/man1/[fx]*
113 %lang(pl) %{_mandir}/pl/man1/[fx]*
114 %{_infodir}/find.info*
This page took 0.061742 seconds and 3 git commands to generate.