1 Summary: A graphical file finding program
2 Summary(pl): Graficzny program do szukania plików
7 Group: X11/Applications
8 Source0: http://www.oz.net/~mattg/%{name}-%{version}.tar.gz
9 URL: http://www.oz.net/~mattg/download.html
10 Vendor: Matt Grossman <mattg@oz.net>
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _prefix /usr/X11R6
14 %define _mandir %{_prefix}/man
17 gtkfind is a graphical file finding program, written by Matt Grossman
18 <mattg@oz.net> and distributed under the terms of the GNU GPL. It
19 requires X and the freely distributable (GPL) gtk toolkit to run. gtk
20 is available from www.gtk.org and other places.
23 gtkfind jest graficznym programem do znajdowania plików, napisanym
24 przez Matta Grossmana <mattg@oz.net> i rozpowszechnianym na licencji
25 GNU GPL. Wymaga X oraz biblioteki gtk (któr± mo¿na uzyskaæ np. z
32 CFLAGS="%{rpmcflags}" ./configure --prefix=/usr
36 rm -rf $RPM_BUILD_ROOT
37 XBD=$RPM_BUILD_ROOT%{_bindir}
38 XMD=$RPM_BUILD_ROOT%{_mandir}/man1
39 BD=$RPM_BUILD_ROOT/usr/bin
40 MD=$RPM_BUILD_ROOT/usr/share/man/man1
41 test -d $XBD || install -d $XBD
42 test -d $XMD || install -d $XMD
43 test -d $BD || install -d $BD
44 test -d $MD || install -d $MD
45 install -m 555 gtkfind $XBD
46 install -m 444 gtkfind.1 $XMD
47 install -m 555 mktmp $BD
48 install -m 444 mktmp.1 $MD
51 rm -fr $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %attr(-, root, root) %doc README TODO
56 %attr(555, root, root) %{_bindir}/gtkfind
57 %attr(444, root, root) %{_mandir}/man1/gtkfind.1
58 %attr(555, root, root) /usr/bin/mktmp
59 %attr(444, root, root) /usr/share/man/man1/mktmp.1