]> git.pld-linux.org Git - packages/gtkfind.git/blobdiff - gtkfind.spec
- unified %clean section
[packages/gtkfind.git] / gtkfind.spec
index 03faf037cee6fb74c3cfbc885040f249fc2b895d..c259633d0851b1f2eeb0fc8261f6fd758940b6af 100644 (file)
@@ -1,59 +1,51 @@
 Summary:       A graphical file finding program
+Summary(pl.UTF-8):     Graficzny program do szukania plików
 Name:          gtkfind
-Version:       1.0.2
+Version:       1.1
 Release:       1
 License:       GPL
-Group:         X11/Utilities
-Group(pl):     X11/Narzêdzia
-Source0:       http://www.oz.net/~mattg/%{name}-%{version}.tar.gz
-URL:           http://www.oz.net/~mattg/download.html
-Vendor:                Matt Grossman <mattg@oz.net>
+Group:         X11/Applications
+# from Mandrake src.rpm
+Source0:       %{name}-%{version}.tar.bz2
+# Source0-md5: 6a894f3a798189cf74e7d61ddf1179f6
+BuildRequires: gtk+-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
 gtkfind is a graphical file finding program, written by Matt Grossman
 <mattg@oz.net> and distributed under the terms of the GNU GPL. It
-requires X and the freely distributable (GPL) gtk toolkit to run. gtk
-is available from www.gtk.org and other places.
+requires X and the freely distributable (GPL) GTK+ toolkit to run. GTK+
+is available from http://www.gtk.org/ and other places.
 
-%description -l pl
-gtkfind jest graficznym programem do znajdowania plików, napisanym
+%description -l pl.UTF-8
+gtkfind jest graficznym programem do znajdowania plików, napisanym
 przez Matta Grossmana <mattg@oz.net> i rozpowszechnianym na licencji
-GNU GPL. Wymaga X oraz biblioteki gtk (któr± mo¿na uzyskaæ np. z
-www.gtk.org).
+GNU GPL. Wymaga X oraz biblioteki GTK+ (którą można uzyskać np. z
+http://www.gtk.org/).
 
 %prep
-%setup -q 
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
-make
+export CONFIG_XTERM=/usr/bin/xterm
+%configure2_13
+
+%{__make} \
+       CFLAGS="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-XBD=$RPM_BUILD_ROOT%{_prefix}/bin
-XMD=$RPM_BUILD_ROOT%{_prefix}/man/man1
-BD=$RPM_BUILD_ROOT%{_bindir}
-MD=$RPM_BUILD_ROOT/usr/man/man1
-test -d $XBD || install -d $XBD
-test -d $XMD || install -d $XMD
-test -d $BD || install -d $BD
-test -d $MD || install -d $MD
-install -s -m 555 gtkfind $XBD
-install -m 444 gtkfind.1 $XMD
-install -s -m 555 mktmp $BD
-install -m 444 mktmp.1 $MD
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(-, root, root) %doc README TODO
-%attr(555, root, root) %{_prefix}/bin/gtkfind
-%attr(444, root, root) %{_prefix}/man/man1/gtkfind.1
-%attr(555, root, root) %{_bindir}/mktmp
-%attr(444, root, root) /usr/man/man1/mktmp.1
+%doc README TODO
+%attr(755,root,root) %{_bindir}/gtkfind
+%attr(755,root,root) %{_bindir}/mktmp
+%{_mandir}/man1/gtkfind.1*
+%{_mandir}/man1/mktmp.1*
This page took 0.064871 seconds and 4 git commands to generate.