From 4c9225fda0ea539c2b9ad848570b11760e08753920c3ef28043dbbdc90b57074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 26 Feb 2013 11:20:04 +0000 Subject: [PATCH] Accepting request 156380 from home:badshah400:branches:science Split the SciberQuestToolKit plugin into its own package, license it as GPL-3.0+ or LGPL-3.0+ (bnc#804987) OBS-URL: https://build.opensuse.org/request/show/156380 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=11 --- paraview.changes | 8 ++++++++ paraview.spec | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/paraview.changes b/paraview.changes index 14f867f..2e500f8 100644 --- a/paraview.changes +++ b/paraview.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Feb 25 14:47:39 UTC 2013 - badshah400@gmail.com + +- Split the SciberQuestToolKit plugin into its own package, + license it as GPL-3.0+ or LGPL-3.0+ (bnc#804987) +- The minimum version of libqt4-devel required for compiling is + 4.7.0; correct BuildRequires accordingly. + ------------------------------------------------------------------- Tue Jan 15 13:32:39 UTC 2013 - badshah400@gmail.com diff --git a/paraview.spec b/paraview.spec index 5bdb248..d90a649 100644 --- a/paraview.spec +++ b/paraview.spec @@ -42,7 +42,7 @@ BuildRequires: libexpat-devel BuildRequires: libjpeg-devel #BuildRequires: libpq5 BuildRequires: libpqxx-devel -BuildRequires: libqt4-devel +BuildRequires: libqt4-devel >= 4.7.0 BuildRequires: libQtWebKit-devel BuildRequires: libtiff-devel BuildRequires: openssl-devel @@ -77,6 +77,32 @@ user interface written using a unique blend of Tcl/Tk and C++. NOTE: The version in this package has NOT been compiled with MPI support. +# Split the SQTK plugin out into ints own package because it makes use of +# components with a different licence, viz., (L)GPL-3.0+ (bnc#804987). +%package -n %{name}-plugin-SciberQuestToolKit +Summary: The SciberQuestToolKit plugin for paraview +License: GPL-3.0+ or LGPL-3.0+ +Group: Productivity/Scientific/Physics +Requires: paraview = %{version}-%{release} + +%description -n %{name}-plugin-SciberQuestToolKit +ParaView is an application designed with the need to visualize large data +sets in mind. The goals of the ParaView project include the following: + + * Develop an open-source, multi-platform visualization application. + * Support distributed computation models to process large data sets. + * Create an open, flexible, and intuitive user interface. + * Develop an extensible architecture based on open standards. + +ParaView runs on distributed and shared memory parallel as well as single +processor systems and has been successfully tested on Windows, Linux and +various Unix workstations and clusters. Under the hood, ParaView uses the +Visualization Toolkit as the data processing and rendering engine and has a +user interface written using a unique blend of Tcl/Tk and C++. + +This package provides the SciberQuestToolKit plugin for paraview. + + %prep %setup -q -n ParaView-%{version}-src %patch0 -p1 @@ -152,8 +178,10 @@ rm -rf temp_dir/ rm -rf /usr/src/packages/BUILD/ParaView-%{version}/temp_dir/Plugins/PointSprite/PointSpriteDemo %post -p /sbin/ldconfig +%post -n %{name}-plugin-SciberQuestToolKit -p /sbin/ldconfig %postun -p /sbin/ldconfig +%postun -n %{name}-plugin-SciberQuestToolKit -p /sbin/ldconfig %files %defattr(-,root,root) @@ -161,7 +189,14 @@ rm -rf /usr/src/packages/BUILD/ParaView-%{version}/temp_dir/Plugins/PointSprite/ %{_libdir}/%{name}/ %{_bindir}/* %{_datadir}/doc/%{name}-%{major_ver}/ +%exclude %{_libdir}/%{name}/libSciberQuestToolKit.so #%dir %{_includedir}/%{name}-%{major_ver} #%{_includedir}/%{name}-%{major_ver}/vtkhdf5/ +%files -n %{name}-plugin-SciberQuestToolKit +%defattr(-,root,root) +%doc Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/COPYING.LGPL +%doc Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/COPYING.GPL +%{_libdir}/%{name}/libSciberQuestToolKit.so + %changelog