]> git.pld-linux.org Git - packages/findutils.git/blame - findutils.spec
- updated to 4.2.33
[packages/findutils.git] / findutils.spec
CommitLineData
f6649e89 1#
74dfc281
ER
2# Conditional build:
3%bcond_without selinux # build without SELinux support
4#
de0e5baf 5Summary: GNU Find Utilities (find, xargs)
9a9c8181
ER
6Summary(de.UTF-8): GNU-Suchprogramme (find, xargs)
7Summary(es.UTF-8): Utilitarios de búsqueda de la GNU
8Summary(fr.UTF-8): Utilitaires de recherche de GNU (find, xargs)
9Summary(pl.UTF-8): Narzędzia GNU do odnajdywania plików (find, xargs)
10Summary(pt_BR.UTF-8): Utilitários de procura da GNU
11Summary(tr.UTF-8): GNU dosya arama araçları
7e7da69a 12Name: findutils
f1df5f4b 13Version: 4.2.33
00e1c608 14Release: 1
9c236437 15Epoch: 1
2d1075e5 16License: GPL v3+
7f9fe342 17Group: Applications/File
00e1c608
JB
18# development versions at ftp://alpha.gnu.org/gnu/findutils/
19Source0: ftp://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
f1df5f4b 20# Source0-md5: b7e35aa175778c84942b1fee4144988b
edfaf05e
JB
21#Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
22Source1: %{name}-non-english-man-pages.tar.bz2
23# Source1-md5: e76388b0c3218eec3557d05ccd6d6515
7f9fe342 24Patch0: %{name}-info.patch
a5521a40 25Patch1: %{name}-selinux.patch
26Patch2: %{name}-man-selinux.patch
4bbadc02 27URL: http://www.gnu.org/software/findutils/
f1df5f4b 28BuildRequires: autoconf >= 2.59
cab511aa 29BuildRequires: automake
5f1bc97b 30BuildRequires: gettext-devel >= 0.14.5
74dfc281 31%{?with_selinux:BuildRequires: libselinux-devel}
4ed8e302 32BuildRequires: texinfo
015fa731 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bcc2c8a3 34
35%description
21d8bffa 36The findutils package contains programs which will help you locate
37files on your system. The find utility searches through a hierarchy of
38directories looking for files which match a certain set of criteria
39(such as a filename pattern). The locate utility searches a database
40(create by updatedb) to quickly find a file matching a given pattern.
41The xargs utility builds and executes command lines from standard
42input arguments (usually lists of file names generated by the find
43command).
bcc2c8a3 44
7681c145
JR
45%description -l de.UTF-8
46Das findutils-Paket enthält Programme, die dabei helfen, Dateien auf
21d8bffa 47Ihrem System zu finden. Das Find-Utility durchsucht die
48Verzeichnishierarchie nach Dateien, die zu bestimmten Kriterien (z.B.
49Dateiname) passen. Das locate-Utility durchsucht eine Datenbank
7681c145 50(erzeugt durch updatedb), um die Dateien schneller finden zu können.
21d8bffa 51xargs konstruiert Kommandozeilen von der Standardeingabe (z.B.
7681c145 52Dateilisten, die von find erzeugt werden), und führt sie aus.
bcc2c8a3 53
7681c145
JR
54%description -l es.UTF-8
55Este paquete contiene programas para ayúdalo a localizar archivos en
56tu sistema. El programa find puede pesquisar, a través de una
57jerarquía de directorios, buscando por archivos que obedezcan a un
1813541b 58cierto conjunto de criterios (como nombre de archivo modelo).
59
7681c145
JR
60%description -l fr.UTF-8
61Ce package contient des programmes pour vous aider à localiser des
62fichiers sur votre système. Le programme find peut rechercher à
63travers une hiérarchie de répertoires des fichiers conformes à
64certains critères (comme un type de nom).
bcc2c8a3 65
7681c145
JR
66%description -l pl.UTF-8
67W pakiecie znajdują się narzędzia pozwalające na poszukiwanie
68określonych plików. Program find służy do poszukiwania w drzewie
69katalogów plików o określonych parametrach, jak nazwa, uprawnienia,
21d8bffa 70typ czy data ostatniej modyfikacji.
bcc2c8a3 71
7681c145
JR
72%description -l pt_BR.UTF-8
73Esse pacote contém programas para ajudá-lo a localizar arquivos em seu
74sistema. O programa find pode procurar através de uma hierarquia de
75diretórios procurando por arquivos que obedeçam um certo conjunto de
76critérios (como nome de arquivo modelo).
1813541b 77
7681c145
JR
78%description -l tr.UTF-8
79Bu pakette yer alan yazılımlar sisteminizde yer alan dosyaları
80bulabilmeniz için hazırlanmışlardır. find programı ile belirli
81özellikleri olan bir yazılımı bir dizin hiyerarşisi altında
21d8bffa 82arayabilirsiniz.
bcc2c8a3 83
84%prep
cab511aa 85%setup -q
5a6f5538 86%patch0 -p1
a5521a40 87%{?with_selinux:%patch1 -p1}
88# patch2 is applied in install stage
7c7f5958 89
f6b043a9
JB
90rm -f po/stamp-po
91
bcc2c8a3 92%build
7c7f5958 93%{__aclocal} -I gnulib/m4 -I m4
cab511aa
JB
94%{__autoconf}
95%{__autoheader}
96%{__automake}
5a6f5538 97%configure
1d0db746 98
9a701988 99%{__make}
bcc2c8a3 100
101%install
102rm -rf $RPM_BUILD_ROOT
bcc2c8a3 103
13744129 104%{__make} install \
c2287469 105 DESTDIR=$RPM_BUILD_ROOT
5a6f5538 106
b1b0c500 107bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
448f0945 108%{?with_selinux:patch -p0 -d $RPM_BUILD_ROOT%{_mandir} < %{PATCH2}}
bcc2c8a3 109
7c7f5958 110# xargs is wanted in /bin
43d37c7e 111install -d $RPM_BUILD_ROOT/bin
112mv $RPM_BUILD_ROOT%{_bindir}/xargs $RPM_BUILD_ROOT/bin
113
7c7f5958
JB
114# unpackaged locate
115rm -f $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb} \
116 $RPM_BUILD_ROOT%{_libdir}/{bigram,code,frcode} \
117 $RPM_BUILD_ROOT%{_mandir}/{,*/}man?/{locate.1,updatedb.1,locatedb.5}*
118
f0bd4106
ER
119rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_mandir}/README.findutils-non-english-man-pages}
120
7c7f5958
JB
121%find_lang %{name}
122
cab511aa
JB
123%clean
124rm -rf $RPM_BUILD_ROOT
125
2d1075e5 126%post -p /sbin/postshell
a1275250 127-/usr/sbin/fix-info-dir -c %{_infodir}
bcc2c8a3 128
2d1075e5 129%postun -p /sbin/postshell
a1275250 130-/usr/sbin/fix-info-dir -c %{_infodir}
bcc2c8a3 131
6847e3ab 132%files -f %{name}.lang
acead8cb 133%defattr(644,root,root,755)
c30dbc2c 134%doc NEWS README TODO ChangeLog
b3c3b43f 135%attr(755,root,root) %{_bindir}/find
43d37c7e 136%attr(755,root,root) /bin/xargs
e5e39836 137
b1b0c500 138%{_mandir}/man1/[fx]*
b1b0c500 139%lang(de) %{_mandir}/de/man1/[fx]*
140%lang(es) %{_mandir}/es/man1/[fx]*
141%lang(fi) %{_mandir}/fi/man1/[fx]*
142%lang(fr) %{_mandir}/fr/man1/[fx]*
143%lang(hu) %{_mandir}/hu/man1/[fx]*
144%lang(it) %{_mandir}/it/man1/[fx]*
145%lang(ja) %{_mandir}/ja/man1/[fx]*
146%lang(nl) %{_mandir}/nl/man1/[fx]*
147%lang(pl) %{_mandir}/pl/man1/[fx]*
edfaf05e 148%lang(zh_CN) %{_mandir}/zh_CN/man1/[fx]*
93823bee 149%{_infodir}/find.info*
This page took 0.09027 seconds and 4 git commands to generate.