From 123d551b3d8b831c54cf2204e30716619b9dd4eb67a4f494204462bbba114291 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sun, 1 Mar 2020 10:41:23 +0000 Subject: [PATCH] Accepting request 780347 from home:badshah400:branches:science - Update to version 5.8.0. - Switch installation dir to %{_datadir}/paraviewdata-%{version}, to allow multiple versions to be installed in parallel. - Add Copyright.txt file from upstream git as a Source and install it. - Drop the empty docdir directory. - Switch Source to .xz tarball. - Run spec-cleaner for minor specfile cleanups. OBS-URL: https://build.opensuse.org/request/show/780347 OBS-URL: https://build.opensuse.org/package/show/science/paraviewdata?expand=0&rev=5 --- Copyright.txt | 31 +++++++++++++++++++++++++++++++ ParaViewData-v5.4.0.tar.gz | 3 --- ParaViewData-v5.8.0.tar.xz | 3 +++ paraviewdata.changes | 21 +++++++++++++++++++++ paraviewdata.spec | 31 +++++++++++++++---------------- 5 files changed, 70 insertions(+), 19 deletions(-) create mode 100644 Copyright.txt delete mode 100644 ParaViewData-v5.4.0.tar.gz create mode 100644 ParaViewData-v5.8.0.tar.xz diff --git a/Copyright.txt b/Copyright.txt new file mode 100644 index 0000000..f07a5d5 --- /dev/null +++ b/Copyright.txt @@ -0,0 +1,31 @@ +Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. +Sandia National Laboratories, New Mexico PO Box 5800 Albuquerque, NM 87185 +Kitware Inc., 28 Corporate Drive, Clifton Park, NY 12065, USA + +Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive license +for use of this work by or on behalf of the U.S. Government. + +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 the name of Kitware 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/ParaViewData-v5.4.0.tar.gz b/ParaViewData-v5.4.0.tar.gz deleted file mode 100644 index 5ca11a6..0000000 --- a/ParaViewData-v5.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b18eda039e341d93fa6823f795a0ef8cb629dc7c1afff9ade8d6be31866b1f0 -size 178500620 diff --git a/ParaViewData-v5.8.0.tar.xz b/ParaViewData-v5.8.0.tar.xz new file mode 100644 index 0000000..febb805 --- /dev/null +++ b/ParaViewData-v5.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a6873cf75965efca2d8b195a6e836cd1926f6441a6d3f0402021d325d0474e8 +size 200026840 diff --git a/paraviewdata.changes b/paraviewdata.changes index c701fbf..502d21f 100644 --- a/paraviewdata.changes +++ b/paraviewdata.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Feb 19 22:20:50 UTC 2020 - Atri Bhattacharya + +- Update to version 5.8.0. +- Switch installation dir to %{_datadir}/paraviewdata-%{version}, + to allow multiple versions to be installed in parallel. +- Add Copyright.txt file from upstream git as a Source and install + it. + +------------------------------------------------------------------- +Tue Feb 18 15:19:54 UTC 2020 - Atri Bhattacharya + +- Drop the empty docdir directory. + +------------------------------------------------------------------- +Wed Feb 5 23:18:34 UTC 2020 - Atri Bhattacharya + +- Update to version 5.7.0. +- Switch Source to .xz tarball. +- Run spec-cleaner for minor specfile cleanups. + ------------------------------------------------------------------- Sat Mar 31 11:10:06 UTC 2018 - jengelh@inai.de diff --git a/paraviewdata.spec b/paraviewdata.spec index 8a4c144..1e56efd 100644 --- a/paraviewdata.spec +++ b/paraviewdata.spec @@ -1,7 +1,7 @@ # # spec file for package paraviewdata # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,21 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define major_ver 5.4 + +%define major_ver 5.8 Name: paraviewdata -Version: 5.4.0 +Version: 5.8.0 Release: 0 Summary: Examples for Paraview License: BSD-3-Clause Group: Productivity/Scientific/Physics -Url: http://www.paraview.org -Source0: http://www.paraview.org/files/v%{major_ver}/ParaViewData-v%{version}.tar.gz +URL: https://www.paraview.org +Source0: https://www.paraview.org/files/v%{major_ver}/ParaViewData-v%{version}.tar.xz +Source1: https://gitlab.kitware.com/paraview/paraview/raw/v%{version}/Copyright.txt BuildRequires: fdupes -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -39,20 +40,18 @@ This package contains some example data for Paraview. %prep %setup -q -n ParaView-v%{version} +cp %{SOURCE1} ./.ExternalData/ %build %install -mkdir -p %{buildroot}%{_docdir}/paraviewdata -mkdir -p %{buildroot}%{_datadir} - -cp -a %{_builddir}/ParaView-v%{version} %{buildroot}/%{_datadir}/paraviewdata - -%fdupes %{buildroot}%{_datadir}/paraviewdata +mkdir -p %{buildroot}%{_datadir}/paraviewdata-%{major_ver} +cp -a %{_builddir}/ParaView-v%{version}/* %{buildroot}/%{_datadir}/paraviewdata-%{major_ver}/ +%fdupes %{buildroot}%{_datadir}/ %files -%defattr(-,root,root,-) -%doc %{_docdir}/paraviewdata -%{_datadir}/paraviewdata/ +%license .ExternalData/Copyright.txt +%doc .ExternalData/README.rst +%{_datadir}/paraviewdata-%{major_ver}/ %changelog