Sisyphus repository
Last update: 14 october 2019 | SRPMs: 17518 | Visits: 15268965
en ru br
ALT Linux repos
S:1.4.10-alt1

Group :: File tools
RPM: catfish

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: catfish
Version: 1.4.10
Release: alt1
Summary: A handy file search tool

Group: File tools
License: GPLv2+
Url: http://www.twotoasts.de/index.php/catfish/
Source: %name-%version.tar.gz
BuildArch: noarch
Patch: catfish-1.4.10-ALT-searchODF.patch

##BuildRequires: intltool python-module-PyXML python-module-distutils-extra python-module-pexpect python-module-zeitgeist2.0 python3-dev

# Automatically added by buildreq on Mon Jun 10 2019
# optimized out: at-spi2-atk fontconfig gobject-introspection gobject-introspection-x11 libat-spi2-core libatk-gir libcairo-gobject libgdk-pixbuf libgdk-pixbuf-gir libgpg-error libgtk+3-gir libpango-gir libwayland-client libwayland-cursor libwayland-egl perl perl-Encode perl-XML-Parser perl-parent python-base python-modules python3 python3-base python3-module-dbus python3-module-ptyprocess python3-module-pygobject3 sh4
BuildRequires: intltool python3-dev python3-module-distutils-extra python3-module-pexpect python3-module-zeitgeist2.0

# search engine

Requires: %_bindir/locate
Requires: %_bindir/find
Requires: python3-module-catfish

# XXX /etc/mime.types belongs here

Requires: mailcap

%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.

%package -n python3-module-catfish
Group: Development/Python3
License: GPLv2+
Summary: Supplemental module for catfish

%description -n python3-module-catfish
Supplemental Python3 module for catfish, a handy file search tool

%prep
%setup -n %name-%version
%patch -p2

%build
%python3_build

%install
# XXX upstream cant' handle this :)
install -D build/share/applications/*.desktop %buildroot/%_desktopdir/org.xfce.Catfish.desktop

%python3_install

cp -a build/mo %buildroot%_datadir/locale
rm -rf %buildroot%_defaultdocdir/%name

%find_lang %name

%files -f %name.lang
%doc AUTHORS ChangeLog COPYING README

%_bindir/*
%_desktopdir/*.desktop
%_datadir/%name
%_datadir/metainfo/*
%_datadir/icons/hicolor/scalable/apps/*.svg
%_man1dir/*

%files -n python3-module-catfish
%python3_sitelibdir_noarch/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin