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
This commit is contained in:
parent
3fe4187599
commit
123d551b3d
31
Copyright.txt
Normal file
31
Copyright.txt
Normal file
@ -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.
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5b18eda039e341d93fa6823f795a0ef8cb629dc7c1afff9ade8d6be31866b1f0
|
|
||||||
size 178500620
|
|
3
ParaViewData-v5.8.0.tar.xz
Normal file
3
ParaViewData-v5.8.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0a6873cf75965efca2d8b195a6e836cd1926f6441a6d3f0402021d325d0474e8
|
||||||
|
size 200026840
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 19 22:20:50 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- 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 <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Drop the empty docdir directory.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 23:18:34 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- 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
|
Sat Mar 31 11:10:06 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package paraviewdata
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: paraviewdata
|
||||||
Version: 5.4.0
|
Version: 5.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Examples for Paraview
|
Summary: Examples for Paraview
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Scientific/Physics
|
Group: Productivity/Scientific/Physics
|
||||||
Url: http://www.paraview.org
|
URL: https://www.paraview.org
|
||||||
Source0: http://www.paraview.org/files/v%{major_ver}/ParaViewData-v%{version}.tar.gz
|
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
|
BuildRequires: fdupes
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -39,20 +40,18 @@ This package contains some example data for Paraview.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ParaView-v%{version}
|
%setup -q -n ParaView-v%{version}
|
||||||
|
cp %{SOURCE1} ./.ExternalData/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_docdir}/paraviewdata
|
mkdir -p %{buildroot}%{_datadir}/paraviewdata-%{major_ver}
|
||||||
mkdir -p %{buildroot}%{_datadir}
|
cp -a %{_builddir}/ParaView-v%{version}/* %{buildroot}/%{_datadir}/paraviewdata-%{major_ver}/
|
||||||
|
%fdupes %{buildroot}%{_datadir}/
|
||||||
cp -a %{_builddir}/ParaView-v%{version} %{buildroot}/%{_datadir}/paraviewdata
|
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}/paraviewdata
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license .ExternalData/Copyright.txt
|
||||||
%doc %{_docdir}/paraviewdata
|
%doc .ExternalData/README.rst
|
||||||
%{_datadir}/paraviewdata/
|
%{_datadir}/paraviewdata-%{major_ver}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user