]> git.pld-linux.org Git - packages/gtkfind.git/blob - gtkfind.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/gtkfind.git] / gtkfind.spec
1 Summary:        A graphical file finding program
2 Summary(pl):    Graficzny program do szukania plików
3 Name:           gtkfind
4 Version:        1.0.2
5 Release:        1
6 License:        GPL
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)
12
13 %define         _prefix         /usr/X11R6
14 %define         _mandir         %{_prefix}/man
15
16 %description
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.
21
22 %description -l pl
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
26 www.gtk.org).
27
28 %prep
29 %setup -q 
30
31 %build
32 CFLAGS="%{rpmcflags}" ./configure --prefix=/usr
33 %{__make}
34
35 %install
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
49
50 %clean
51 rm -fr $RPM_BUILD_ROOT
52
53 %files
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
This page took 0.08522 seconds and 4 git commands to generate.