File mingw64-vigra.spec of Package mingw64-vigra
#
# spec file for package mingw64-vigra
#
# Copyright (c) 2014 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: mingw64-vigra
Version: 1.9.0
Release: 0
Summary: Computer vision Library
License: MIT
Group: System/Libraries
Url: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
Source: http://hci.iwr.uni-heidelberg.de/vigra/vigra-%{version}-src.tar.gz
Patch0: vigra-1.9.0-windows.patch
#!BuildIgnore: post-build-checks
BuildRequires: mingw64-cross-cmake
BuildRequires: doxygen
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-libjpeg-devel
BuildRequires: mingw64-libpng-devel
BuildRequires: mingw64-libtiff-devel
BuildRequires: mingw64-zlib-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
VIGRA stands for "Vision with Generic Algorithms". It is a novel
computer vision library that puts its main emphasis on customizable
algorithms and data structures. By using template techniques similar to
those in the C++ Standard Template Library, you can easily adapt any
VIGRA component to the needs of your application, without giving up
execution speed.
%package devel
Summary: Development files for VIGRA Library
Group: Development/Libraries
%description devel
VIGRA stands for "Vision with Generic Algorithms". It is a novel
computer vision library that puts its main emphasis on customizable
algorithms and data structures. By using template techniques similar to
those in the C++ Standard Template Library, you can easily adapt any
VIGRA component to the needs of your application, without giving up
execution speed.
%_mingw64_debug_package
%prep
%setup -q -n vigra-%{version}
%patch -P 0 -p1
%build
%{_mingw64_cmake} \
-DDOCINSTALL=%{_mingw64_docdir} \
-DWITH_VIGRANUMPY=0 \
-DWITH_HDF5=0
%{_mingw64_cmake_build}
%install
%{_mingw64_cmake_install}
%files
%defattr(-,root,root)
%{_mingw64_bindir}/libvigraimpex.dll
%files devel
%defattr(-,root,root)
%{_mingw64_bindir}/vigra-config
%{_mingw64_includedir}/vigra/*
%{_mingw64_libdir}/libvigraimpex.dll.a
%{_mingw64_libdir}/vigra
%{_mingw64_docdir}/vigra
%exclude %{_mingw64_docdir}/vigranumpy
%changelog