From e4df344ff7598e87691dc7bf850443b653c9851f1749d4709da9ef46b6497015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 1 May 2012 10:12:13 +0000 Subject: [PATCH] - Add Copyright.txt from upstream OBS-URL: https://build.opensuse.org/package/show/science/vtkdata?expand=0&rev=6 --- Copyright.txt | 34 ++++++++++++++++++++++++++++++++++ vtkdata.changes | 5 +++++ vtkdata.spec | 14 ++++++++++---- 3 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 Copyright.txt diff --git a/Copyright.txt b/Copyright.txt new file mode 100644 index 0000000..12d3ab0 --- /dev/null +++ b/Copyright.txt @@ -0,0 +1,34 @@ +/*========================================================================= + + Program: Visualization Toolkit (Data) + Module: Copyright.txt + +Copyright (c) 1993-2008 Ken Martin, Will Schroeder, Bill Lorensen +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names + of any contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +=========================================================================*/ diff --git a/vtkdata.changes b/vtkdata.changes index 6608024..8327951 100644 --- a/vtkdata.changes +++ b/vtkdata.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 1 10:08:24 UTC 2012 - idonmez@suse.com + +- Add Copyright.txt from upstream + ------------------------------------------------------------------- Thu Oct 13 13:43:51 UTC 2011 - prusnak@opensuse.org diff --git a/vtkdata.spec b/vtkdata.spec index 7d09a97..5e59781 100644 --- a/vtkdata.spec +++ b/vtkdata.spec @@ -1,7 +1,7 @@ # # spec file for package vtkdata # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -18,12 +18,13 @@ Name: vtkdata Version: 5.8.0 -Release: 1 -License: Other (See Source) +Release: 0 Summary: Kitware VTK Library Data -Url: http://www.vtk.org +License: BSD-3-Clause Group: Productivity/Scientific/Other +Url: http://www.vtk.org Source: http://www.vtk.org/files/release/5.8/%{name}-%{version}.tar.gz +Source1: Copyright.txt BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -42,8 +43,12 @@ This package contains some example data for the Toolkit. %build %install +mkdir -p %{buildroot}%{_docdir}/vtkdata mkdir -p %{buildroot}%{_datadir} + cp -a $RPM_BUILD_DIR/VTKData %{buildroot}%{_datadir}/vtkdata +cp %{S:1} %{buildroot}%{_docdir}/vtkdata + %fdupes %{buildroot}%{_datadir}/vtkdata %clean @@ -51,6 +56,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) +%doc %{_docdir}/vtkdata %{_datadir}/vtkdata/ %changelog