From 7a8eb28b9ba74d43b380d5c86986a89bf1a76f61 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Jan 14 2007 14:59:51 +0000 Subject: auto-import catfish-0.2b-1 on branch devel from catfish-0.2b-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..fc50c38 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +catfish0.2b.tar.gz diff --git a/catfish.spec b/catfish.spec new file mode 100644 index 0000000..1239bb4 --- /dev/null +++ b/catfish.spec @@ -0,0 +1,109 @@ +Name: catfish +Version: 0.2b +Release: 1%{?dist} +Summary: A handy file search tool + +Group: Applications/File +License: GPL +URL: http://software.twotoasts.de/?page=search4files +Source0: http://software.twotoasts.de/media/%{name}/%{name}%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: desktop-file-utils +# python related +Requires: pygtk2-libglade +Requires: pyxdg +# search engine +Requires: %{_bindir}/locate +Requires: %{_bindir}/find +# icon +Requires: redhat-artwork + +# Upstream rename +Obsoletes: search4files <= 0.2a +Provides: search4files = %{version}-%{release} + +%description +A handy file search tool using different backends which is +configurable via the command line. + +This program acts as a frontend for different file search engines. +The interface is intentionally lightweight and simple. But it takes +configuration options from the command line. + +%prep +%setup -q -n %{name}%{version} + +%build +# some configulation change +%{__sed} -i.misc \ + -e 's|666|644|' \ + -e 's|install |%{__install} -c -p |' \ + -e 's|\([^ \t][^ \t]*\).glade|-m 644 \1.glade|' \ + -e 's|pyc|py|' \ + Makefile.in + +%{__sed} -i.byte \ + -e 's|pyc|py|' \ + %{name}.in + +%{__sed} -i.engine \ + -e 's|Nautilus|nautilus|' \ + %{name}.py + +# This configure accepts only the option --prefix +# and does not accept --libdir= option +./configure --prefix=%{_prefix} + +%install +%{__rm} -rf $RPM_BUILD_ROOT + +# "make install" calls "make all", so +# executing "make" in %%build stage makes no sense +# at all. +# %%{__smp_mflags} does nothing for this makefile +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --delete-original \ + --vendor fedora \ + --remove-category Application \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README + +%{_bindir}/%{name} +%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/%{name}/ + +%changelog +* Sun Jan 14 2007 Mamoru Tasaka 0.2b-1 +- Upstream rename: search4files -> catfish +- Remove the dependencies for beagle, nautilus, + replace with redhat-artwork + +* Mon Jan 1 2007 Mamoru Tasaka 0.2a-1 +- 0.2a + +* Sat Dec 23 2006 Mamoru Tasaka +- Require pyxdg again (fc7) + +* Wed Dec 20 2006 Mamoru Tasaka 0.1e-1 +- 0.1e + +* Thu Dec 14 2006 Mamoru Tasaka 0.1d-1 +- 0.1d +- Disable pyxdg support on devel for now. + +* Sat Dec 8 2006 Mamoru Tasaka 0.1c-2 +- Fix type typo + +* Fri Dec 8 2006 Mamoru Tasaka 0.1c-1 +- Initial packaging to import to Fedora Extras. diff --git a/sources b/sources index e69de29..eaff2fa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +be15b58868d227b16e81c5046e6bfdcb catfish0.2b.tar.gz