X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gtkfind.spec;h=c259633d0851b1f2eeb0fc8261f6fd758940b6af;hb=HEAD;hp=fff070cea75f4eb7a86b325d04d115730189acf8;hpb=97579e208addcdddb5dbd1f6356c8eba5b9361ca;p=packages%2Fgtkfind.git diff --git a/gtkfind.spec b/gtkfind.spec index fff070c..c259633 100644 --- a/gtkfind.spec +++ b/gtkfind.spec @@ -1,61 +1,51 @@ Summary: A graphical file finding program -Summary(pl): Graficzny program do szukania plików +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/Applications -Group(de): X11/Applikationen -Group(pl): X11/Aplikacje -Source0: http://www.oz.net/~mattg/%{name}-%{version}.tar.gz -URL: http://www.oz.net/~mattg/download.html -Vendor: Matt Grossman +# 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 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 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="%{rpmcflags}" ./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%{_bindir} -XMD=$RPM_BUILD_ROOT%{_mandir}/man1 -BD=$RPM_BUILD_ROOT/usr/bin -MD=$RPM_BUILD_ROOT/usr/share/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 -m 555 gtkfind $XBD -install -m 444 gtkfind.1 $XMD -install -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) %{_bindir}/gtkfind -%attr(444, root, root) %{_mandir}/man1/gtkfind.1 -%attr(555, root, root) /usr/bin/mktmp -%attr(444, root, root) /usr/share/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*