* Update fbida.gcc10.patch * Add patches necessary for build: - 0002-fix-make-fix-dependencies-and-add-knowledge-about-op.patch - 0003-fix-build-update-JPEG-library-usage-to-libjpeg.so.8.patch - 0004-fix-eliminate-all-compiler-warnings.patch
108 lines
2.8 KiB
RPMSpec
108 lines
2.8 KiB
RPMSpec
Name: fbida
|
|
Version: 2.14
|
|
Release: 0
|
|
Summary: FrameBuffer Imageviewer
|
|
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
|
License: GPL-2.0-or-later
|
|
URL: https://www.kraxel.org/blog/linux/fbida/
|
|
Source: https://www.kraxel.org/releases/fbida/fbida-%{version}.tar.gz
|
|
Patch0: fbida.gcc10.patch
|
|
Patch1: 0002-fix-make-fix-dependencies-and-add-knowledge-about-op.patch
|
|
Patch2: 0003-fix-build-update-JPEG-library-usage-to-libjpeg.so.8.patch
|
|
Patch3: 0004-fix-eliminate-all-compiler-warnings.patch
|
|
BuildRequires: curl-devel
|
|
BuildRequires: fontconfig-devel
|
|
BuildRequires: freetype-devel
|
|
BuildRequires: gcc
|
|
BuildRequires: giflib-devel
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libdrm-devel
|
|
BuildRequires: libepoxy-devel
|
|
BuildRequires: libexif-devel
|
|
BuildRequires: libjpeg8-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libwebp-devel
|
|
BuildRequires: lirc-devel
|
|
BuildRequires: make
|
|
BuildRequires: Mesa-libEGL-devel
|
|
BuildRequires: libgbm1
|
|
BuildRequires: motif-devel
|
|
BuildRequires: perl-rpm-packaging
|
|
BuildRequires: libpixman-1-0-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: libpoppler-glib-devel
|
|
Requires: ImageMagick
|
|
Requires: dejavu-fonts
|
|
|
|
%description
|
|
fbi displays the specified file(s) on the linux console using the
|
|
framebuffer device. PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp and png
|
|
are supported directly. For other formats fbi tries to use
|
|
ImageMagick's convert.
|
|
|
|
%package fbgs
|
|
Summary: Framebuffer Postscript Viewer
|
|
Requires: fbida
|
|
Requires: ghostscript
|
|
|
|
%description fbgs
|
|
A wrapper script for viewing ps/pdf files on the framebuffer console using fbi
|
|
|
|
# %%package fbpdf
|
|
# Summary: Framebuffer PDF Viewer
|
|
#
|
|
# %%description fbpdf
|
|
# fbpdf displays PDF files on the framebuffer device.
|
|
|
|
%package ida
|
|
Summary: Motif based Imageviewer
|
|
|
|
%description ida
|
|
This is a X11 application (Motif based) for viewing images. Some basic
|
|
editing functions are available too.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
export LIB="%{_lib}" prefix="%{_prefix}" CFLAGS="%{optflags}"
|
|
make %{?_smp_mflags} all verbose=1
|
|
|
|
%install
|
|
cd man
|
|
for man in fbi exiftran fbgs ida; do
|
|
iconv -t UTF-8 -f ISO-8859-1 $man.1 > $man.new
|
|
mv $man.new fbi.1
|
|
done
|
|
cd ..
|
|
export lib="%{_lib}"
|
|
export prefix="%{_prefix}"
|
|
make DESTDIR=%{buildroot} RESDIR="%{_datadir}/X11" STRIP= install
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc Changes README TODO
|
|
%{_mandir}/man1/fbi*
|
|
%{_mandir}/man1/exiftran*
|
|
%{_bindir}/fbi
|
|
%{_bindir}/exiftran
|
|
|
|
%files fbgs
|
|
%license COPYING
|
|
%{_mandir}/man1/fbgs*
|
|
%{_bindir}/fbgs
|
|
|
|
# %%files fbpdf
|
|
# %%license COPYING
|
|
# %%{_bindir}/fbpdf
|
|
|
|
%files ida
|
|
%license COPYING
|
|
%{_mandir}/man1/ida*
|
|
%{_bindir}/ida
|
|
%dir %{_datadir}/X11/app-defaults
|
|
%{_datadir}/X11/app-defaults/Ida
|
|
|
|
%changelog
|