Group :: File tools
RPM: catfish
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: catfish
Version: 4.18.0
Release: alt1
Summary: A handy file search tool
Group: File tools
License: GPLv2+
Url: https://gitlab.xfce.org/apps/catfish
# Source-url: https://gitlab.xfce.org/apps/catfish/-/archive/catfish-%version/catfish-catfish-%version.tar.gz
Source: %name-%version.tar.gz
BuildArch: noarch
Patch: catfish-%version-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
BuildRequires: python3-module-pygobject3
BuildRequires: rpm-build-gir
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
# 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
Requires: typelib(Gtk) = 3.0
%description -n python3-module-catfish
Supplemental Python3 module for catfish, a handy file search tool
%prep
%setup -n %name-%version
%patch -p2
%build
%pyproject_build
%install
# XXX upstream cant' handle this :)
install -D build/share/applications/*.desktop %buildroot/%_desktopdir/org.xfce.Catfish.desktop
%pyproject_install
cp -a build/mo %buildroot%_datadir/locale
rm -rf %buildroot%_defaultdocdir/%name
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING README.md
%_bindir/*
%_desktopdir/*.desktop
%_datadir/%name
%_datadir/metainfo/*
%_datadir/icons/hicolor/scalable/apps/*.svg
%_man1dir/*
%files -n python3-module-catfish
%python3_sitelibdir_noarch/%name
%python3_sitelibdir_noarch/%{name}_lib
%python3_sitelibdir_noarch/%name-%version.dist-info
%changelog
…
Full changelog you can see here
Version: 4.18.0
Release: alt1
Summary: A handy file search tool
Group: File tools
License: GPLv2+
Url: https://gitlab.xfce.org/apps/catfish
# Source-url: https://gitlab.xfce.org/apps/catfish/-/archive/catfish-%version/catfish-catfish-%version.tar.gz
Source: %name-%version.tar.gz
BuildArch: noarch
Patch: catfish-%version-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
BuildRequires: python3-module-pygobject3
BuildRequires: rpm-build-gir
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
# 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
Requires: typelib(Gtk) = 3.0
%description -n python3-module-catfish
Supplemental Python3 module for catfish, a handy file search tool
%prep
%setup -n %name-%version
%patch -p2
%build
%pyproject_build
%install
# XXX upstream cant' handle this :)
install -D build/share/applications/*.desktop %buildroot/%_desktopdir/org.xfce.Catfish.desktop
%pyproject_install
cp -a build/mo %buildroot%_datadir/locale
rm -rf %buildroot%_defaultdocdir/%name
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING README.md
%_bindir/*
%_desktopdir/*.desktop
%_datadir/%name
%_datadir/metainfo/*
%_datadir/icons/hicolor/scalable/apps/*.svg
%_man1dir/*
%files -n python3-module-catfish
%python3_sitelibdir_noarch/%name
%python3_sitelibdir_noarch/%{name}_lib
%python3_sitelibdir_noarch/%name-%version.dist-info
%changelog
…
Full changelog you can see here