vtkdata/vtkdata.spec
Atri Bhattacharya 62cd95d940 Accepting request 651638 from home:TheBlackCat:branches:science
- Update to version 8.1.2
  * Issue error if vtkAlgorithm::GetInputConnection called on wrong port
  * Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
  * Make some orientation marker widget methods virtual 
  * vtkImageBlend bug fix for compound mode
  * vtkFlyingEdges2D: Properly color multiple isocontour values
  * Invoke DeletePointEvent before deleting vtkSeedWidget seed
  * Fix compilation issue due to Python3.7 API change 
  * Fix bug where re-enabling seed widget wouldn't move existing seeds
- Include VTKLargeData also
- Include license from source repository

OBS-URL: https://build.opensuse.org/request/show/651638
OBS-URL: https://build.opensuse.org/package/show/science/vtkdata?expand=0&rev=28
2018-11-26 13:55:31 +00:00

66 lines
2.0 KiB
RPMSpec

#
# spec file for package vtkdata
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#
Name: vtkdata
Version: 8.1.2
Release: 0
%define series 8.1
Summary: Kitware VTK Library Data
License: BSD-3-Clause
Group: Productivity/Scientific/Other
Url: https://www.vtk.org
Source0: https://www.vtk.org/files/release/%{series}/VTKData-%{version}.tar.gz
Source1: https://www.vtk.org/files/release/%{series}/VTKLargeData-%{version}.tar.gz
Source10: https://gitlab.kitware.com/vtk/vtk/raw/v%{version}/Copyright.txt
Source99: vtkdata-rpmlintrc
BuildRequires: cmake >= 3.4
BuildRequires: fdupes
Requires: cmake >= 3.4
Provides: vtklargedata = %{version}
BuildArch: noarch
%description
The Visualization ToolKit (VTK) is an open source, freely available
software system for 3D computer graphics, image processing, and
visualization used by thousands of researchers and developers around
the world.
This package contains some example data for the Toolkit.
%prep
%setup -q -n VTK-%{version}
%setup -T -D -b 1 -q -n VTK-%{version}
cp %{SOURCE10} .
%build
# Not needed
%install
mkdir -p %{buildroot}%{_datadir}/vtkdata
cp -a .ExternalData %{buildroot}%{_datadir}/vtkdata/
%fdupes %{buildroot}%{_datadir}/vtkdata
%files
%license Copyright.txt
%doc %{_datadir}/vtkdata/.ExternalData/README.rst
%{_datadir}/vtkdata/
%changelog