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