]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
37483e42703491ce2e99cf6df7ce8d4692703db0
[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
8 Release:        33
9 Copyright:      GPL
10 Group:          Utilities/File
11 Group(pl):      Narzêdzia/Pliki
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/findutils/%{name}-%{version}.tar.gz
13 Patch0:         findutils-info.patch
14 Patch1:         findutils-basename.patch
15 Patch2:         findutils-glibc.patch
16 patch3:         findutils-glibc21.patch
17 Patch4:         findutils-xargsoverflow.patch
18 Patch5:         findutils-pl_manpages.patch
19 Patch6:         findutils-mktemp.patch
20 Patch7:         findutils-numblks.patch
21 Patch8:         findutils-getshort.patch
22 BuildRequires:  texinfo
23 Prereq:         /usr/sbin/fix-info-dir
24 Buildroot:      /tmp/%{name}-%{version}-root
25
26 %description
27 The findutils package contains programs which will help you locate files on
28 your system.  The find utility searches through a hierarchy of directories
29 looking for files which match a certain set of criteria (such as a filename
30 pattern). The locate utility searches a database (create by updatedb) to
31 quickly find a file matching a given pattern.  The xargs utility builds and
32 executes command lines from standard input arguments (usually lists of file
33 names generated by the find command).
34
35 %description -l de
36 Das findutils-Paket enthält Programme, die dabei helfen, Dateien auf Ihrem
37 System zu finden. Das Find-Utility durchsucht die Verzeichnishierarchie nach
38 Dateien, die zu bestimmten Kriterien (z.B. Dateiname) passen. Das
39 locate-Utility durchsucht eine Datenbank (erzeugt durch updatedb), um die
40 Dateien schneller finden zu können. xargs konstruiert Kommandozeilen von
41 der Standardeingabe (z.B. Dateilisten, die von find erzeugt werden), und
42 führt sie aus.
43
44 %description -l fr
45 Ce package contient des programmes pour vous aider à localiser des fichiers
46 sur votre système. Le programme find peut rechercher à travers une
47 hiérarchie de répertoires des fichiers conformes à certains critères (comme
48 un type de nom).
49
50 %description -l pl
51 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie okre¶lonych
52 plików. Program find s³u¿y do poszukiwania w drzewie katalogów plików o
53 okre¶lonych parametrach, jak nazwa, uprawnienia, typ czy data ostatniej
54 modyfikacji.
55
56 %description -l tr
57 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý bulabilmeniz
58 için hazýrlanmýþlardýr. find programý ile belirli özellikleri olan bir
59 yazýlýmý bir dizin hiyerarþisi altýnda arayabilirsiniz.
60
61 %prep
62 %setup  -q
63 %patch0 -p1 
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67 %patch4 -p1
68 %patch5 -p1
69 %patch6 -p1
70 %patch7 -p1
71 %patch8 -p1
72
73 %build
74 autoconf
75 LDFLAGS="-s"; export LDFLAGS
76 %configure 
77
78 make
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
83
84 make install \
85         prefix=$RPM_BUILD_ROOT%{_prefix} \
86         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
87         mandir=$RPM_BUILD_ROOT%{_mandir} \
88         infodir=$RPM_BUILD_ROOT%{_infodir}
89         
90 install pl/*.1  $RPM_BUILD_ROOT%{_mandir}/pl/man1
91
92 gzip -9fn $RPM_BUILD_ROOT%{_infodir}/find.info* \
93         $RPM_BUILD_ROOT%{_mandir}/{man?/*,pl/man1/*} \
94         NEWS README TODO ChangeLog
95
96 %post
97 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
98
99 %postun
100 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %files
106 %defattr(644,root,root,755)
107 %doc {NEWS,README,TODO,ChangeLog}.gz
108 %attr(755,root,root) %{_bindir}/find
109 %attr(755,root,root) %{_bindir}/xargs
110
111 %{_mandir}/man1/find.1*
112 %{_mandir}/man1/xargs.1*
113 %lang(pl) %{_mandir}/pl/man1/*
114 %{_infodir}/find.info*
This page took 0.053896 seconds and 3 git commands to generate.