File fbi.spec of Package fbi
#
# spec file for package fbi (Version 2.07)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fbi
Url: http://linux.bytesex.org/fbida/
License: GPL v2 or later
Group: Productivity/Graphics/Viewers
AutoReqProv: on
Version: 2.07
Release: 1
Summary: Image Viewer for the Linux Framebuffer Console
Source0: fbida-%{version}.tar.bz2
Source1: ida.png
Patch0: ida-desktop.patch
Patch1: fbi-libpng-1.4.patch
%if 0%{?suse_version} == 1130
Patch2: fbi-jpeg-8.0.2.patch
%endif
BuildRequires: pkgconfig update-desktop-files
BuildRequires: curl-devel freetype2-devel libexif-devel openmotif-devel
BuildRequires: giflib-devel libpcd2-devel libpng-devel libtiff-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a image viewer for Linux framebuffer devices. It has PhotoCD,
jpeg, ppm, gif, tiff, xwd, bmp, and png support built-in. Unknown
formats are piped through convert (ImageMagick), which hopefully can
handle it.
Authors:
--------
Gerd Knorr <kraxel@suse.de>
%package -n exiftran
License: LGPL v2.1 or later
Summary: Transform Digital Camera JPEG Images
Group: Productivity/Graphics/Other
%description -n exiftran
exiftran is a command-line utility to transform digital image JPEG
images. It can do lossless rotations like jpegtran, but unlike
jpegtran, it cares about the EXIF data. It can rotate images
automatically by checking the EXIF orientation tag, updating the EXIF
information if needed (image dimension, orientation), and also rotating
the EXIF thumbnail. It can process multiple images at once.
Authors:
--------
Gerd Knorr <kraxel@suse.de>
%package -n ida
License: GPL v2 or later
Group: Productivity/Graphics/Viewers
Summary: Image viewer & editor
%description -n ida
Small & fast image viewer for X11. Also has some editing functions and
a simple file browser. Needs Motif.
Authors:
--------
Gerd Knorr <kraxel@suse.de>
%prep
%setup -q -n fbida-%{version}
%patch0 -p0
%patch1 -p1
%if 0%{?suse_version} == 1130
%patch2 -p1
%endif
%build
export CFLAGS="$RPM_OPT_FLAGS"
make prefix=/usr
%install
make prefix=/usr DESTDIR="%{buildroot}" INSTALL_BINARY='$(INSTALL)' install
install -d %{buildroot}/usr/share/pixmaps
install -m 644 %{S:1} %{buildroot}/usr/share/pixmaps/ida.png
gzip %{buildroot}/usr/share/man/man*/*
%suse_update_desktop_file -i ida Graphics Viewer
%clean
rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/fbi
%{_bindir}/fbgs
%{_mandir}/man1/fbi.1.gz
%{_mandir}/man1/fbgs.1.gz
%files -n exiftran
%defattr(-,root,root)
%doc COPYING
%{_bindir}/exiftran
%{_mandir}/man1/exiftran.1.gz
%files -n ida
%defattr(-,root,root)
%doc COPYING
%{_bindir}/ida
%{_mandir}/man1/ida.1.gz
/usr/share/applications/ida.desktop
/usr/share/pixmaps/ida.png
%{_datadir}/X11/app-defaults/Ida
%changelog
* Wed Jun 25 2008 puzel@suse.cz
- updated to 2.07
* bugfix release
* removed fbida-2.06.diff (fixed in upstream)
* Sat Apr 26 2008 coolo@suse.de
- remove unused header
* Tue Jul 17 2007 pcerny@suse.cz
- fixed some rpmlint complaints
* Wed May 09 2007 pcerny@suse.cz
- updated to 2.06
* Sat Mar 03 2007 aj@suse.de
- Fix buildrequires.
* Tue Nov 07 2006 cthiel@suse.de
- fix build (images in /usr/share/pixmaps/ don't need to be executable)
* Tue Aug 08 2006 cthiel@suse.de
- fix build with X.org 7.1
* Tue Jul 25 2006 kraxel@suse.de
- update to version 2.05
* bugfix release, #194659, DSA 1124-1
* Thu Jun 15 2006 kraxel@suse.de
- update to version 2.04
* bugfix release, closes #168728
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 schwab@suse.de
- Don't strip binaries.
* Tue Jan 25 2005 kraxel@suse.de
- update to version 2.03
* Mon Jan 10 2005 adrian@suse.de
- fix last fix
* Tue Dec 14 2004 hvogel@suse.de
- fix desktop file
* Mon Nov 08 2004 kraxel@suse.de
- update to version 2.02
* Fri Jul 30 2004 meissner@suse.de
- Ported to use new libexif.
* Tue Jun 08 2004 kraxel@suse.de
- update to version 2.00
* Thu Mar 25 2004 kraxel@suse.de
- remove workaround for #34903 (fixed now).
* Tue Mar 09 2004 kraxel@suse.de
- workaround #34903.
* Sat Mar 06 2004 kraxel@suse.de
- add libexif to neededforbuild.
* Fri Feb 27 2004 kraxel@suse.de
- updated to version 1.31.
* Thu Jan 29 2004 kraxel@suse.de
- updated to version 1.30.
* Wed Jan 07 2004 kraxel@suse.de
- updated to version 1.29, added exiftran subpackage.
* Fri Oct 17 2003 kraxel@suse.de
- updated to version 1.28
* Fri Feb 07 2003 kraxel@suse.de
- updated to version 1.26
* Thu Jun 20 2002 kraxel@suse.de
- updated to version 1.25
* Tue Apr 30 2002 kraxel@suse.de
- updated to version 1.24
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Mon Jan 28 2002 kraxel@suse.de
- initial release.