2005-02-21 17:19:10 +00:00
|
|
|
# $Id: fbida.spec,v 1.5 2005/02/21 17:19:10 thl Exp $
|
2005-02-11 18:24:12 +00:00
|
|
|
|
|
|
|
Summary: FrameBuffer Imageviewer
|
|
|
|
Name: fbida
|
|
|
|
Version: 2.03
|
2005-02-21 17:19:10 +00:00
|
|
|
Release: 3
|
2005-02-11 18:24:12 +00:00
|
|
|
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
|
2004-12-17 18:54:17 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2005-02-11 18:24:12 +00:00
|
|
|
%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
|
|
|
|
|
2004-12-17 18:54:17 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2005-02-21 17:19:10 +00:00
|
|
|
LIB=%{_lib} prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags}
|
2004-12-17 18:54:17 +00:00
|
|
|
|
|
|
|
%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
|
2005-02-11 18:24:12 +00:00
|
|
|
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
|
2004-12-17 18:54:17 +00:00
|
|
|
%{__mv} fbi.man.new fbi.man
|
|
|
|
%{__mv} exiftran.man.new exiftran.man
|
2005-02-11 18:24:12 +00:00
|
|
|
%{__mv} ida.man.new ida.man
|
|
|
|
%{__mv} fbgs.man.new fbgs.man
|
2005-02-12 21:23:06 +00:00
|
|
|
lib=%{_lib} prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
|
2004-12-17 18:54:17 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, 0755)
|
|
|
|
%doc Changes COPYING README TODO
|
2005-02-11 18:24:12 +00:00
|
|
|
%doc %{_mandir}/man1/fbi*
|
|
|
|
%doc %{_mandir}/man1/exiftran*
|
|
|
|
%{_bindir}/fbi
|
|
|
|
%{_bindir}/exiftran
|
|
|
|
|
|
|
|
%files ida
|
2005-02-11 22:47:20 +00:00
|
|
|
%defattr(-, root, root, -)
|
2005-02-11 18:24:12 +00:00
|
|
|
%doc %{_mandir}/man1/ida*
|
|
|
|
%{_bindir}/ida
|
2005-02-12 21:23:06 +00:00
|
|
|
%config %{_prefix}/X11R6/lib/X11/app-defaults/Ida
|
2005-02-11 18:24:12 +00:00
|
|
|
|
|
|
|
%files fbgs
|
2005-02-11 22:47:20 +00:00
|
|
|
%defattr(-, root, root, -)
|
2005-02-11 18:24:12 +00:00
|
|
|
%doc %{_mandir}/man1/fbgs*
|
|
|
|
%{_bindir}/fbgs
|
2004-12-17 18:54:17 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-02-21 17:19:10 +00:00
|
|
|
* Mon Feb 21 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 2.03-3
|
|
|
|
- Fix typo; must be LIB=%%{_lib}; really fixes x86_64
|
|
|
|
|
2005-02-12 21:23:06 +00:00
|
|
|
* Sat Feb 12 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 2.03-2
|
|
|
|
- lib=%%{_lib} in make call; fixes x86_64
|
|
|
|
|
2005-02-11 18:24:12 +00:00
|
|
|
* Fri Feb 11 2005 Adrian Reber <adrian@lisas.de> - 2.03-1
|
|
|
|
- updated to 2.03
|
|
|
|
- created subpackages for ida and fbgs
|
|
|
|
|
2004-12-17 18:54:17 +00:00
|
|
|
* Sun Nov 28 2004 Adrian Reber <adrian@lisas.de> - 2.02-1
|
|
|
|
- updated to 2.02
|
|
|
|
- converted manpages to UTF-8
|
|
|
|
|
|
|
|
* Sun Nov 28 2004 Adrian Reber <adrian@lisas.de> - 2.01-1
|
|
|
|
- initial package
|