]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
df07b71c05701f89696f34a5e351f20eb84ae24c
[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:     28
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 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
65 ./configure \
66         --prefix=/usr \
67         --exec-prefix=/usr
68 make
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT/usr/{lib/findutils,man/{man[15],pl/man1}} \
73         $RPM_BUILD_ROOT/etc/cron.daily
74
75 make    prefix=$RPM_BUILD_ROOT/usr \
76         exec_prefix=$RPM_BUILD_ROOT/usr \
77         install
78         
79 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily
80 install %{SOURCE2} $RPM_BUILD_ROOT/usr/man/pl/man1/xargs.1
81
82 gzip -9fn $RPM_BUILD_ROOT/usr/info/find.info* \
83         $RPM_BUILD_ROOT/usr/man/{man[15]/*,pl/man1/*} \
84         NEWS README TODO ChangeLog
85
86 %post
87 /sbin/install-info /usr/info/find.info.gz /etc/info-dir
88
89 %preun
90 if [ "$1" = "0" ]; then
91     /sbin/install-info --delete /usr/info/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 %attr(750,root,root) %config /etc/cron.daily/updatedb.cron
101 %attr(755,root,root) /usr/bin/*
102 %attr(755,root,root) %dir /usr/lib/findutils
103 %attr(755,root,root) /usr/lib/findutils/*
104
105 /usr/info/find.info*
106 /usr/man/man[15]/*
107
108 %lang(pl) /usr/man/pl/man1/*
109
110 %changelog
111 * Tue Apr  5 1999 Piotr Czerwiñski <pius@pld.org.pl>
112   [4.1-28]
113 - revision up to 28,
114 - added Group(pl),
115 - changed BuildRoot to /tmp/%%{name}-%%{version}-root,
116 - removed 'rm -rf $RPM_BUILD_ROOT' from %build,
117 - simplifications in %install,
118 - standarized {un}registering info pages (added findutils-info.patch),
119 - added more documentation,
120 - added pl man page for xargs(1L),
121 - added gzipping documentation and man pages,
122 - changes in %files (for rpm-2.9x).
123
124 * Sun Oct  4 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
125   [4.1.26]
126 - changed way passing $RPM_OPT_FLAGS.
127
128 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
129   [4.1.26d]
130 - added pl translation (made by Piotr Dembiñski <hektor@kki.net.pl>),
131 - macro %%{name}-%%{version} in Source,
132 - minor modifications of spec file.
133
134 * Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
135 - updated updatedb cron script to not look for $TMPNAME.n (which was
136   a relic anyway)
137 - added -b parameters to all of the patches
138
139 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
140 - translations modified for de, fr, tr
141
142 * Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
143 - make updatedb.cron use mktemp correctly
144 - make updatedb use mktemp
145
146 * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
147 - nobody should own tmpfile
148 - ignore /net
149
150 * Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
151 - made updatedb.cron do a better job of cleaning up after itself.
152
153 * Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
154 - fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
155
156 * Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
157 - added patch for glibc 2.1
158
159 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
160 - added BuildRoot support
161
162 * Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
163 - made updatedb.cron work even if "nobody" can't read /root
164 - use mktemp in updatedb.cron
165
166 * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
167 - added missing info pages
168 - uses install-info
169
170 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
171 - built with glibc
172
173 * Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
174 - fixed updatedb.cron
This page took 0.108134 seconds and 2 git commands to generate.