]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
- spec adapterized.
[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 License:        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
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 %patch1 -p1
66 %patch2 -p1
67 %patch3 -p1
68 %patch4 -p1
69 %patch5 -p1
70 %patch6 -p1
71 %patch7 -p1
72 %patch8 -p1
73
74 %build
75 autoconf
76 LDFLAGS="-s"; export LDFLAGS
77 %configure 
78
79 make
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
84
85 make install \
86         prefix=$RPM_BUILD_ROOT%{_prefix} \
87         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
88         mandir=$RPM_BUILD_ROOT%{_mandir} \
89         infodir=$RPM_BUILD_ROOT%{_infodir}
90         
91 install pl/*.1  $RPM_BUILD_ROOT%{_mandir}/pl/man1
92
93 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/find.info* \
94         $RPM_BUILD_ROOT%{_mandir}/{man?/*,pl/man1/*} \
95         NEWS README TODO ChangeLog
96
97 %post
98 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
99
100 %postun
101 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files
107 %defattr(644,root,root,755)
108 %doc {NEWS,README,TODO,ChangeLog}.gz
109 %attr(755,root,root) %{_bindir}/find
110 %attr(755,root,root) %{_bindir}/xargs
111
112 %{_mandir}/man1/find.1*
113 %{_mandir}/man1/xargs.1*
114 %lang(pl) %{_mandir}/pl/man1/*
115 %{_infodir}/find.info*
This page took 0.034638 seconds and 3 git commands to generate.