File pfstools.spec of Package pfstools
#
# spec file for package pfstools (Version 1.6.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pfstools
Version: 1.6.5
Release: 1
License: GPL v2 or later; LGPL v2.1 or later
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-octave.patch
Patch1: %{name}-gcc.patch
Patch2: pfstools-stringcompare.patch
Patch4: pfstools-stdlib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Productivity/Multimedia/Other
Url: http://www.mpi-sb.mpg.de/resources/pfstools/
BuildRequires: ImageMagick-Magick++-devel Mesa OpenEXR-devel blas fftw3-devel freeglut-devel lapack libnetpbm-devel libtiff-devel pkgconfig qt3-devel readline-devel
#BuildRequires: octave-devel
Requires: dcraw
Summary: High Dynamic Range Images and Video manipulation tools
%description
pfstools package is a set of command line (and one GUI) programs for
reading, writing, manipulating and viewing high-dynamic range (HDR)
images and video frames. All programs in the package exchange data
using a simple generic file format (pfs) for HDR data. The concept of
the pfstools is similar to netpbm package for low-dynamic range images.
Authors:
--------
Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>
%package devel
License: GPL v2 or later
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Summary: High Dynamic Range Images and Video manipulation tools
%description devel
pfstools package is a set of command line (and one GUI) programs for
reading, writing, manipulating and viewing high-dynamic range (HDR)
images and video frames. All programs in the package exchange data
using a simple generic file format (pfs) for HDR data. The concept of
the pfstools is similar to netpbm package for low-dynamic range images.
Authors:
--------
Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>
%prep
%setup -q
%patch
%patch1
%patch2
%patch4
%build
autoreconf -f -i
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=/usr \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--disable-octave
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%{_bindir}/*
%{_mandir}/man?/*
%{_libdir}/*.so.*
# temporary removed
#%{_libdir}/octave/*/site/oct/*/pfstools
#%_datadir/octave/*/site/m/pfstools
%files devel
%defattr(-,root,root)
%doc doc/{pfs_format_spec.pdf,faq.txt}
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/*.a
%changelog
* Mon Sep 08 2008 postadal@suse.cz
- updated to version 1.6.5
* mostly improvements in the matlab interface (thanks to Neil
Alldrin). Also two patches ported from Debian (dcraw and octave3.0)
* Mon Apr 14 2008 postadal@suse.cz
- updated to version 1.6.4
* fixed: pfsinopenexr can now read files that has data window < display window
* fixed: pfs library can handle channel names up to 32 characters (was 8)
* updated: pfs specification - max string lengths and format of custom channel names
* security fix: fscanf in rgbeio.cpp (thanks to Stefan and Ludwig)
* bugfix: pfsview - segfault when switching channels
* fixed: pfsview - color readout in the status line refreshed when new channel
or frame loaded
* added: matlab/pfs_write_luminance.m
* bugfix: rgbeio - header read properly when the first byte is 0x20
* bugfix: rgbeio - fix misinterpreted rle-compresses lines
* fixed: buffer overflow vulnerability in rgbeio.cpp
* fixed: compilation issues with gcc-4.3 - missing includes
- removed obsoleted patch secfix_298770.patch
* Wed Dec 05 2007 nadvornik@suse.cz
- fixed includes for gcc 4.3 (stdlib.patch)
* Tue Aug 14 2007 postadal@suse.cz
- fixed vulnerability when reading Radiance RGBE (*.hdr) files
[#298770] (secfix_298770.patch)
* Fri Aug 10 2007 ro@suse.de
- added libnetpbm-devel to buildreq
* Mon Aug 06 2007 postadal@suse.cz
- updated to version 1.6.1
* bug-fix release, with a major fix for the sRGB color transform
- temporary removed octave support (changed octave API)
* Tue Jun 12 2007 ro@suse.de
- avoid stringcompare with char literal
* Wed Jun 06 2007 ro@suse.de
- added octave-devel to buildreq
* Mon May 07 2007 postadal@suse.cz
- updated to version 1.6.1
* improved image readers/writes can load LDR images with the alpha channel
* pfsglview - new OpenGL HDR viewer
* pfsindcraw - dcraw integration
- added dcraw to requires
- run ldconfig
* Thu Feb 08 2007 ro@suse.de
- added defattr to devel package
* Tue Feb 06 2007 ro@suse.de
- run full autoreconf to fix build on x86_64
* Fri Dec 22 2006 ro@suse.de
- fix configure arguments and such prevent rpath for //usr/lib
* Sat Oct 28 2006 postadal@suse.cz
- added ImageMagick*-devel to BuildRequires (for pfs[in/out]imgmagick)
* Tue Oct 24 2006 postadal@suse.cz
- fixed invalid pure specifier (gcc.patch)
* Wed Oct 11 2006 postadal@suse.cz
- packed pfs_format_spec.pdf and faq.txt to -devel
* Sat Oct 07 2006 postadal@suse.cz
- initial version 1.5
- fixed linking octave (octave.patch)
- fixed gcc issues (gcc.patch)