File pfstmo.spec of Package pfstmo

#
# spec file for package pfstmo (Version 1.4.0)
#
# Copyright (c) 2009 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/
#


%define vversion 1.4

Name:           pfstmo
Version:        1.4.0
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}-%{vversion}.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 -n %{name}-%{vversion}
%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
openSUSE Build Service is sponsored by