]> git.pld-linux.org Git - packages/findutils.git/blob - findutils.spec
- added am patch (needed for am 1.9)
[packages/findutils.git] / findutils.spec
1 Summary:        GNU Find Utilities (find, xargs)
2 Summary(de):    GNU-Suchprogramme (find, xargs)
3 Summary(es):    Utilitarios de búsqueda de la GNU
4 Summary(fr):    Utilitaires de recherche de GNU (find, xargs)
5 Summary(pl):    Narzêdzia GNU do odnajdywania plików (find, xargs)
6 Summary(pt_BR): Utilitários de procura da GNU
7 Summary(tr):    GNU dosya arama araçlarý
8 Name:           findutils
9 Version:        4.1.20
10 Release:        5
11 Epoch:          1
12 License:        GPL
13 Group:          Applications/File
14 Source0:        ftp://alpha.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
15 # Source0-md5:  e90ce7222daadeb8616b8db461e17cbc
16 #Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 Source1:        %{name}-non-english-man-pages.tar.bz2
18 # Source1-md5:  e76388b0c3218eec3557d05ccd6d6515
19 Patch0:         %{name}-info.patch
20 Patch1:         %{name}-mktemp.patch
21 Patch2:         %{name}-getshort.patch
22 Patch3:         %{name}-DESTDIR.patch
23 Patch4:         %{name}-pl.po-update.patch
24 Patch5:         %{name}-xargs_help_cr.patch
25 Patch6:         %{name}-selinux.patch
26 Patch7:         %{name}-man-selinux.patch
27 Patch8:         %{name}-am.patch
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  gettext-devel
31 BuildRequires:  libselinux-devel
32 BuildRequires:  texinfo
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 The findutils package contains programs which will help you locate
37 files on your system. The find utility searches through a hierarchy of
38 directories 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.
41 The xargs utility builds and executes command lines from standard
42 input arguments (usually lists of file names generated by the find
43 command).
44
45 %description -l de
46 Das findutils-Paket enthält Programme, die dabei helfen, Dateien auf
47 Ihrem System zu finden. Das Find-Utility durchsucht die
48 Verzeichnishierarchie nach Dateien, die zu bestimmten Kriterien (z.B.
49 Dateiname) passen. Das locate-Utility durchsucht eine Datenbank
50 (erzeugt durch updatedb), um die Dateien schneller finden zu können.
51 xargs konstruiert Kommandozeilen von der Standardeingabe (z.B.
52 Dateilisten, die von find erzeugt werden), und führt sie aus.
53
54 %description -l es
55 Este paquete contiene programas para ayúdalo a localizar archivos en
56 tu sistema. El programa find puede pesquisar, a través de una
57 jerarquía de directorios, buscando por archivos que obedezcan a un
58 cierto conjunto de criterios (como nombre de archivo modelo).
59
60 %description -l fr
61 Ce package contient des programmes pour vous aider à localiser des
62 fichiers sur votre système. Le programme find peut rechercher à
63 travers une hiérarchie de répertoires des fichiers conformes à
64 certains critères (comme un type de nom).
65
66 %description -l pl
67 W pakiecie znajduj± siê narzêdzia pozwalaj±ce na poszukiwanie
68 okre¶lonych plików. Program find s³u¿y do poszukiwania w drzewie
69 katalogów plików o okre¶lonych parametrach, jak nazwa, uprawnienia,
70 typ czy data ostatniej modyfikacji.
71
72 %description -l pt_BR
73 Esse pacote contém programas para ajudá-lo a localizar arquivos em seu
74 sistema. O programa find pode procurar através de uma hierarquia de
75 diretórios procurando por arquivos que obedeçam um certo conjunto de
76 critérios (como nome de arquivo modelo).
77
78 %description -l tr
79 Bu pakette yer alan yazýlýmlar sisteminizde yer alan dosyalarý
80 bulabilmeniz için hazýrlanmýþlardýr. find programý ile belirli
81 özellikleri olan bir yazýlýmý bir dizin hiyerarþisi altýnda
82 arayabilirsiniz.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89 %patch3 -p1
90 %patch4 -p1
91 %patch5 -p1
92 %patch6 -p1
93 %patch8 -p1
94
95 %build
96 %{__aclocal} -I gnulib/m4
97 %{__autoconf}
98 %{__autoheader}
99 %{__automake}
100 %configure
101
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT
109
110 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
111 patch -p0 -d $RPM_BUILD_ROOT%{_mandir} < %{PATCH7}
112
113 %find_lang %{name}
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %post
119 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
120
121 %postun
122 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
123
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc NEWS README TODO ChangeLog
127 %attr(755,root,root) %{_bindir}/find
128 %attr(755,root,root) %{_bindir}/xargs
129
130 %{_mandir}/man1/[fx]*
131 %lang(de) %{_mandir}/de/man1/[fx]*
132 %lang(es) %{_mandir}/es/man1/[fx]*
133 %lang(fi) %{_mandir}/fi/man1/[fx]*
134 %lang(fr) %{_mandir}/fr/man1/[fx]*
135 %lang(hu) %{_mandir}/hu/man1/[fx]*
136 %lang(it) %{_mandir}/it/man1/[fx]*
137 %lang(ja) %{_mandir}/ja/man1/[fx]*
138 %lang(nl) %{_mandir}/nl/man1/[fx]*
139 %lang(pl) %{_mandir}/pl/man1/[fx]*
140 %lang(zh_CN) %{_mandir}/zh_CN/man1/[fx]*
141 %{_infodir}/find.info*
This page took 0.261684 seconds and 4 git commands to generate.