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