fim/fim.spec

66 lines
1.9 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: fim
Version: 0.4_rc1
Release: 1mamba
Summary: A framebuffer image viewer
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://savannah.nongnu.org/projects/fbi-improved/
Source: http://download.savannah.gnu.org/releases/fbi-improved/fim-%{pkgver}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libdjvulibre-devel
BuildRequires: libgcc
BuildRequires: libgif-devel
BuildRequires: libjpeg-devel
BuildRequires: libncurses-devel
BuildRequires: libpng-devel
BuildRequires: libreadline-devel
BuildRequires: libspectre-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
FIM aims to be a highly customizable and scriptable image viewer targeted at the users who are confortable with software like the Vim text editor or the Mutt mail user agent.
It is based on the Fbi image viewer, by Gerd Hoffmann, and works in the Linux framebuffer console.
However, recently FIM is been reworked to work with different graphical devices, like X and aa (ascii art).
%debug_package
%prep
%setup -q -n %{name}-%{pkgver}
%build
%configure
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/fim
%{_bindir}/fimgs
%dir %{_datadir}/doc/fim
%{_datadir}/doc/fim/*
%{_mandir}/man1/fim.1*
%{_mandir}/man1/fimgs.1*
%{_mandir}/man5/fimrc.5*
%changelog
* Wed Feb 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4_rc1-1mamba
- update to 0.4_rc1
* Sun Feb 02 2014 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.3-1mamba
- package created using the webbuild interface