# $Id: fbida.spec,v 1.3 2005/02/11 22:47:20 adrian Exp $ Summary: FrameBuffer Imageviewer Name: fbida Version: 2.03 Release: 1 License: GPL Group: Applications/Multimedia URL: http://linux.bytesex.org/fbida/ Source: http://dl.bytesex.org/releases/fbida/fbida-2.03.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libexif-devel fontconfig-devel libjpeg-devel BuildRequires: libpng-devel libtiff-devel pkgconfig BuildRequires: libungif-devel curl-devel BuildRequires: openmotif-devel Requires: ImageMagick bitstream-vera-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 ida Group: Applications/Multimedia Summary: Motif based Imageviewer %description ida This is a X11 application (Motif based) for viewing images. Some basic editing functions are available too. %package fbgs Group: Applications/Multimedia Summary: Framebuffer Postscript Viewer Requires: ghostscript fbida %description fbgs A wrapper script for viewing ps/pdf files on the framebuffer console using fbi %prep %setup -q %build prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} iconv -t UTF-8 -f ISO-8859-1 fbi.man > fbi.man.new iconv -t UTF-8 -f ISO-8859-1 exiftran.man > exiftran.man.new iconv -t UTF-8 -f ISO-8859-1 ida.man > ida.man.new iconv -t UTF-8 -f ISO-8859-1 fbgs.man > fbgs.man.new %{__mv} fbi.man.new fbi.man %{__mv} exiftran.man.new exiftran.man %{__mv} ida.man.new ida.man %{__mv} fbgs.man.new fbgs.man prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes COPYING README TODO %doc %{_mandir}/man1/fbi* %doc %{_mandir}/man1/exiftran* %{_bindir}/fbi %{_bindir}/exiftran %files ida %defattr(-, root, root, -) %doc %{_mandir}/man1/ida* %{_bindir}/ida %config /usr/X11R6/lib/X11/app-defaults/Ida %files fbgs %defattr(-, root, root, -) %doc %{_mandir}/man1/fbgs* %{_bindir}/fbgs %changelog * Fri Feb 11 2005 Adrian Reber - 2.03-1 - updated to 2.03 - created subpackages for ida and fbgs * Sun Nov 28 2004 Adrian Reber - 2.02-1 - updated to 2.02 - converted manpages to UTF-8 * Sun Nov 28 2004 Adrian Reber - 2.01-1 - initial package