You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
59 lines
1.5 KiB
7 years ago
|
Name: fim
|
||
|
Version: 0.6
|
||
|
Release: 1%{?dist}
|
||
|
Summary: FIM is a lightweight universal image viewer
|
||
|
Group: System/Image
|
||
|
License: GPLv2
|
||
|
URL: https://www.nongnu.org/fbi-improved/
|
||
|
Source0: http://download.savannah.nongnu.org/releases/fbi-improved/%{name}-%{version}-trunk.tar.gz
|
||
|
BuildRequires: imlib2-devel
|
||
|
BuildRequires: libcaca-devel
|
||
|
BuildRequires: SDL2-devel
|
||
|
Requires: imlib2
|
||
|
Requires: libcaca
|
||
|
Requires: SDL2
|
||
|
|
||
|
|
||
|
%description
|
||
|
FIM aims to be a highly customizable and scriptable image viewer for users who are comfortable with software like the VIM text editor.
|
||
|
It is lightweight: it depends on a relatively few libraries, it displays in full screen and you control it using the keyboard.
|
||
|
It is universal: it can open many file formats and it can display pictures in the following video modes:
|
||
|
- Graphically, with the Linux framebuffer device (see screenshots).
|
||
|
- Graphically, under X/Xorg, using the SDL library (see screenshots).
|
||
|
- Graphically, under X/Xorg, using the Imlib2 library (see screenshots).
|
||
|
- Rendered as ASCII Art in any textual console, using the AAlib library (see screenshots).
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}-trunk
|
||
|
|
||
|
|
||
|
%build
|
||
|
%configure \
|
||
|
--enable-cacalib \
|
||
|
--enable-pdf \
|
||
|
--enable-long-int-vars \
|
||
|
--enable-pushdir \
|
||
|
--enable-scripting
|
||
|
sed -i 's/-lts//' Makefile
|
||
|
sed -i 's/-lts//' src/Makefile
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
|
||
|
%files
|
||
|
|
||
|
%{_bindir}/%{name}
|
||
|
%{_bindir}/%{name}gs
|
||
|
%{_mandir}/man1/%{name}.1.gz
|
||
|
%{_mandir}/man1/%{name}gs.1.gz
|
||
|
%{_mandir}/man5/%{name}rc.5.gz
|
||
|
%{_docdir}/%{name}/
|
||
|
%{_docdir}/%{name}-%{version}/
|
||
|
|
||
|
|
||
|
%changelog
|