]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
1924e914bdfb3b3464b0ff606fc4db51806896df
[packages/findutils.git] / findutils.spec
1 Summary:        GNU Find Utilities (find, xargs, and locate)
2 Summary(de):    GNU-Suchprogramme (find, xargs und locate)
3 Summary(fr):    Utilitaires de recherche de GNU (find, xargs, et locate)
4 Summary(pl):    GNU narzêdzia do odnajdywania plików (find, xargs i locate)
5 Summary(tr):    GNU dosya arama araçlarý
6 Name:           findutils
7 Version:        4.1
8 Release:        32
9 Copyright:      GPL
10 Group:          Utilities/File
11 Group(pl):      Narzêdzia/Pliki
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Source1:        updatedb.cron
14 Source2:        xargs.1.pl
15 Patch0:         findutils.patch
16 Patch1:         findutils-info.patch
17 Prereq:         /sbin/install-info
18 Requires:       mktemp
19 Buildroot:      /tmp/%{name}-%{version}-root
20
21 %description
22 This package contains programs to help you locate files on your system. The
23 find program can search through a hierarchy of directories looking for files
24 matching a certain set of criteria (such as a filename pattern). The locate
25 program searches a database (create by updatedb) to quickly find a file
26 matching a given pattern.
27
28 %description -l de
29 Dieses Paket enthält Programme zum Suchen von Dateien auf
30 dem System. Das Programm 'find' kann eine Verzeichnisstruktur
31 durchsuchen und Dateien finden, die den Suchkritierien entsprechen
32 (z.B. einem Dateinamenmuster). Das Programm 'locate' durchsucht
33 eine Datenbank (durch updatedb erstellt), um eine Datei, die dem
34 Suchmuster entspricht, zu finden.
35
36 %description -l fr
37 Ce package contient des programmes pour vous aider à localiser
38 des fichiers sur votre système. Le programme find peut rechercher
39 à travers une hiérarchie de répertoires des fichiers conformes à
40 certains critères (comme un type de nom). Le programme locatecherche 
41 une base de données (crée par updatedb) pour trouver rapidement
42 un fichier correspondant au type demandé.
43
44 %description -l pl
45 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie okre¶lonych
46 plików. Program find s³u¿y do przeszukania drzewa katalogów za plikami o
47 okre¶lonych parametrach, jak nazwa, uprawnienia, typ, data ostatniej
48 modyfikacji. Program locate lokalizuje pliki korzystaj±c z utworzonej
49 poleceniem updatedb bazy danych, dziêki czemu jest znacznie szybszy od find.
50
51 %description -l tr
52 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý bulabilmeniz
53 için hazýrlanmýþlardýr. find programý ile belirli özellikleri olan bir
54 yazýlýmý bir dizin hiyerarþisi altýnda arayabilirsiniz. locate yazýlýmý ise,
55 updatedb tarafýndan hazýrlanan bir veri tabaný üzerinde, belirtilen
56 dosyalarý arar.
57
58 %prep
59 %setup -q
60 %patch0 -p1 
61 %patch1 -p1
62
63 %build
64 autoconf && %configure 
65
66 make
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT/usr/{lib/findutils,share/man/{man{1,5},pl/man1}} \
71         $RPM_BUILD_ROOT/{etc/cron.daily,var/state}
72
73 make    prefix=$RPM_BUILD_ROOT%{_prefix} \
74         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
75         install
76         
77 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/xargs.1
79
80 :> $RPM_BUILD_ROOT/var/state/locatedb
81
82 gzip -9fn $RPM_BUILD_ROOT%{_infodir}/find.info* \
83         $RPM_BUILD_ROOT%{_mandir}/{man[15]/*,pl/man1/*} \
84         NEWS README TODO ChangeLog
85
86 %post
87 /sbin/install-info %{_infodir}/find.info.gz /etc/info-dir
88
89 %preun
90 if [ "$1" = "0" ]; then
91     /sbin/install-info --delete %{_infodir}/find.info.gz /etc/info-dir
92 fi
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc {NEWS,README,TODO,ChangeLog}.gz
100
101 %attr(750,root,root) %config /etc/cron.daily/updatedb.cron
102 %attr(755,root,root) %{_bindir}/*
103 %attr(755,root,root) %dir %{_libdir}/findutils
104 %attr(755,root,root) %{_libdir}/findutils/*
105
106 %{_mandir}/man[15]/*
107 %lang(pl) %{_mandir}/pl/man1/*
108
109 %{_infodir}/find.info*
110 %ghost /var/state/*
111
112 %changelog
113 * Sat May 29 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
114 - FHS 2.0 
115
116 * Wed May 12 1999 Piotr Czerwiñski <pius@pld.org.pl>
117   [4.1-30]
118 - package is now FHS 2.0 compliant.
119
120 * Tue Apr 20 1999 Piotr Czerwiñski <pius@pld.org.pl>
121   [4.1-29]
122 - recompiled on rpm 3.
123
124 * Tue Apr  5 1999 Piotr Czerwiñski <pius@pld.org.pl>
125   [4.1-28]
126 - revision up to 28,
127 - added Group(pl),
128 - changed BuildRoot to /tmp/%%{name}-%%{version}-root,
129 - removed 'rm -rf $RPM_BUILD_ROOT' from %build,
130 - simplifications in %install,
131 - standarized {un}registering info pages (added findutils-info.patch),
132 - added more documentation,
133 - added pl man page for xargs(1L),
134 - added gzipping documentation and man pages,
135 - changes in %files (for rpm-2.9x).
136
137 * Sun Oct  4 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
138   [4.1.26]
139 - changed way passing $RPM_OPT_FLAGS.
140
141 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
142   [4.1.26d]
143 - added pl translation (made by Piotr Dembiñski <hektor@kki.net.pl>),
144 - macro %%{name}-%%{version} in Source,
145 - minor modifications of spec file.
146 - build against GNU libc-2.1.
This page took 0.077928 seconds and 2 git commands to generate.