feh/feh.spec

63 lines
1.7 KiB
RPMSpec

Name: feh
Version: 3.10.2
Release: 1mamba
Summary: A fast and light image viewer
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://feh.finalrewind.org/
Source: https://github.com/derf/feh.git/%{version}/feh-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXinerama-devel
BuildRequires: libcurl-devel
BuildRequires: libimlib2-devel
BuildRequires: libpng-devel
## AUTOBUILDREQ-END
%description
feh is a light-weight, configurable and versatile image viewer. It is aimed at command line users, but can also be started from graphical file managers. Apart from viewing images, it can compile text and thumbnail listings, show (un)loadable files, set X11 backgrounds, and more.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/feh
%{_datadir}/applications/feh.desktop
%dir %{_docdir}/feh
%{_docdir}/feh/AUTHORS
%{_docdir}/feh/ChangeLog
%{_docdir}/feh/README.md
%{_docdir}/feh/TODO
%dir %{_docdir}/feh/examples
%{_docdir}/feh/examples/*
%dir %{_datadir}/feh
%dir %{_datadir}/feh/fonts
%{_datadir}/feh/fonts/*
%dir %{_datadir}/feh/images
%{_datadir}/feh/images/*
%{_datadir}/icons/hicolor/48x48/apps/feh.png
%{_datadir}/icons/hicolor/scalable/apps/feh.svg
%{_mandir}/man1/feh.1*
%doc AUTHORS COPYING
%changelog
* Fri Jun 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.2-1mamba
- package created using the webbuild interface