File pfstmo.spec of Package pfstmo

#
# spec file for package pfstmo (Version 1.3.1)
#
# 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:           pfstmo
Version:        1.3.1
Release:        1
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Productivity/Multimedia/Other
BuildRequires:  fftw3-devel gcc-c++ pfstools-devel pkgconfig
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-gcc.patch
Url:            http://www.mpii.mpg.de/resources/tmo/
Summary:        Tone Mapping Operators for High Dynamic Range Images

%description
pfstmo package contains the implementation of state-of-the-art tone
mapping operators. The motivation here is to provide an implementation
of tone mapping operators suitable for convenient processing of both
static images and animations.



Authors:
--------
    Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>

%prep
%setup -q
%patch

%build
%{?suse_update_config:%{suse_update_config}}
#autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
    --prefix=/usr \
    --mandir=%{_mandir} \
    --libdir=%{_libdir}
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%attr(444,root,root) %doc %{_mandir}/man?/*
%{_bindir}/*

%changelog
* Mon Sep 08 2008 postadal@suse.cz
- updated to version 1.3.1
  * This release fixes some bugs and improves performance for mantiuk06
  and mantiuk08 operators. mantiuk06 should be 20-40%% faster on
  dual-core thanks to OpenMP support. Thanks to Ed Brambley and Lebed
  Dmytry for their patches.
* Wed May 07 2008 schwab@suse.de
- Use autoreconf.
* Mon Apr 14 2008 postadal@suse.cz
- update to version 1.2
  - features an improved version of the manntiuk06 tone-mapping
  operator, which is faster and consumes less memory
  - some serious bugs causing "stripes" in some images have been
  fixed
* Mon Aug 06 2007 postadal@suse.cz
- updated to version 1.1
  * small fixes with parameters
  * reinhard05: renamed from reinhard04 to correct publication year
  * fattal02: major bug fix and improvements
  * added noise level parameter
  * manpage updates - explanation of parameters
  * mantiuk06: new gradient domain operator
  * ashikhmin02: implementation temporarily dropped (imposible
  to reproduce results from paper)
* Fri Dec 22 2006 ro@suse.de
- fix configure arguments and such prevent rpath for //usr/lib
* Sat Oct 07 2006 postadal@suse.cz
- initial version 1.0
- fixed gcc issues (gcc.patch)
openSUSE Build Service is sponsored by