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