File multiblend.spec of Package multiblend

#
# spec file for package openzwave
#
# Copyright (c) 2016 SUSE LINUX 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:           multiblend
Summary:        multiblend is a multi-level image blender for the seamless blending of panoramic images
License:        GPL-2+
Group:          Development/Libraries/C and C++
Url:            http://horman.net/multiblend
Version:        0.6.2
Release:        0
BuildRequires:  tiff-devel
BuildRequires:  libjpeg-devel
BuildRequires:  gcc-c++
Source0:        http://horman.net/multiblend/multiblend%{version}.tar.gz

%description
multiblend is a multi-level image blender for the seamless blending of panoramic images, such as those created with PTAssembler (my personal favourite), Hugin, or PTGui. It is a significantly faster drop-in alternative to Enblend, although it lacks Enblend's advanced features.



%prep
%setup -q -n %name

%build
g++ $RPM_OPT_FLAGS \
%ifarch x86_64
  -msse2 \
%endif
 -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o multiblend

%install
mkdir -p %buildroot/usr/bin
install -m 0755 multiblend %buildroot/usr/bin/

%files
%doc readme.txt
/usr/bin/*

openSUSE Build Service is sponsored by