]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
- added man-pages tar URL
[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 BuildRequires:  texinfo
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 The findutils package contains programs which will help you locate
26 files on your system. The find utility searches through a hierarchy of
27 directories looking for files which match a certain set of criteria
28 (such as a filename pattern). The locate utility searches a database
29 (create by updatedb) to quickly find a file matching a given pattern.
30 The xargs utility builds and executes command lines from standard
31 input arguments (usually lists of file names generated by the find
32 command).
33
34 %description -l de
35 Das findutils-Paket enthält Programme, die dabei helfen, Dateien auf
36 Ihrem System zu finden. Das Find-Utility durchsucht die
37 Verzeichnishierarchie nach Dateien, die zu bestimmten Kriterien (z.B.
38 Dateiname) passen. Das locate-Utility durchsucht eine Datenbank
39 (erzeugt durch updatedb), um die Dateien schneller finden zu können.
40 xargs konstruiert Kommandozeilen von der Standardeingabe (z.B.
41 Dateilisten, die von find erzeugt werden), und führt sie aus.
42
43 %description -l fr
44 Ce package contient des programmes pour vous aider à localiser des
45 fichiers sur votre système. Le programme find peut rechercher à
46 travers une hiérarchie de répertoires des fichiers conformes à
47 certains critères (comme un type de nom).
48
49 %description -l pl
50 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie
51 okre¶lonych plików. Program find s³u¿y do poszukiwania w drzewie
52 katalogów plików o okre¶lonych parametrach, jak nazwa, uprawnienia,
53 typ czy data ostatniej modyfikacji.
54
55 %description -l tr
56 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý
57 bulabilmeniz için hazýrlanmýþlardýr. find programý ile belirli
58 özellikleri olan bir yazýlýmý bir dizin hiyerarþisi altýnda
59 arayabilirsiniz.
60
61 %prep
62 %setup  -q
63 %patch0 -p1 
64 %patch2 -p1 
65 %patch3 -p1
66 %patch4 -p1
67 %patch5 -p1
68
69 %build
70 touch lib/{stat,lstat}.c
71 %configure 
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80         
81 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
82
83 gzip -9nf NEWS README TODO ChangeLog
84         
85 %find_lang %{name}
86
87 %post
88 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
89
90 %postun
91 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc {NEWS,README,TODO,ChangeLog}.gz
99 %attr(755,root,root) %{_bindir}/find
100 %attr(755,root,root) %{_bindir}/xargs
101
102 %{_mandir}/man1/[fx]*
103 %lang(de) %{_mandir}/de/man1/[fx]*
104 %lang(es) %{_mandir}/es/man1/[fx]*
105 %lang(fi) %{_mandir}/fi/man1/[fx]*
106 %lang(fr) %{_mandir}/fr/man1/[fx]*
107 %lang(hu) %{_mandir}/hu/man1/[fx]*
108 %lang(it) %{_mandir}/it/man1/[fx]*
109 %lang(ja) %{_mandir}/ja/man1/[fx]*
110 %lang(nl) %{_mandir}/nl/man1/[fx]*
111 %lang(pl) %{_mandir}/pl/man1/[fx]*
112 %{_infodir}/find.info*
This page took 0.042529 seconds and 3 git commands to generate.