File pfstmo.spec of Package pfstmo

#
# spec file for package pfstmo
#
# Copyright (c) 2013 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:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fftw3-devel
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  pfstools-devel
BuildRequires:  pkgconfig
Source:         %{name}-%{vversion}.tar.bz2
Patch1:         %{name}-gcc.patch
Patch2:         pfstmo-no-debug-mangling.patch
Url:            http://www.mpii.mpg.de/resources/tmo/
Summary:        Tone Mapping Operators for High Dynamic Range Images
License:        GPL-2.0+
Group:          Productivity/Multimedia/Other

%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.

%prep
%setup -q -n %{name}-%{vversion}
%patch1
%patch2 -p1

%build
autoreconf -fi
%configure
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