Accepting request 102359 from home:TheBlackCat:branches:science
- Switched to approved license text (fix for RPMLINT warning) - Escaped some macros in comments (fix for RPMLINT warnings) - Made the source file a tiny bit easier to use OBS-URL: https://build.opensuse.org/request/show/102359 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=26
This commit is contained in:
parent
4e85dc18b2
commit
5c6bdffca4
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 12:05:32 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
- Switched to approved license text (fix for RPMLINT warning)
|
||||
- Escaped some macros in comments (fix for RPMLINT warnings)
|
||||
- Made the source file a tiny bit easier to use
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 22:12:40 UTC 2011 - prusnak@opensuse.org
|
||||
|
||||
|
9
vtk.spec
9
vtk.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define qtdir /%{_lib}/qt4
|
||||
|
||||
Name: vtk
|
||||
@ -24,11 +23,11 @@ Release: 1
|
||||
# This is a variant BSD license, a cross between BSD and ZLIB.
|
||||
# For all intents, it has the same rights and restrictions as BSD.
|
||||
# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
|
||||
License: BSD
|
||||
License: BSD-3-Clause/ZLib
|
||||
Summary: The Visualization Toolkit - A high level 3D visualization library
|
||||
Url: http://vtk.org/
|
||||
Group: Productivity/Scientific/Other
|
||||
Source: http://www.vtk.org/files/release/5.8/%{name}-%{version}.tar.gz
|
||||
Source: http://www.vtk.org/files/release/%{version}/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM vtk-pythondestdir.patch --badshah400@gmail.com Correct installation destination for python libraries
|
||||
Patch0: vtk-pythondestdir.patch
|
||||
# PATCH-FIX-UPSTREAM vtk-system.patch --badshah400@gmail.com Use system libraries
|
||||
@ -200,7 +199,7 @@ programming languages.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
|
||||
# Replace relative path ../../../VTKData with %%{_datadir}/vtkdata-%%{version}
|
||||
# otherwise it will break on symlinks.
|
||||
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{name},g'
|
||||
|
||||
@ -325,7 +324,7 @@ find Utilities/Upgrading -type f | xargs chmod -x
|
||||
# Verdict places the docs in the false folder
|
||||
rm -rf %{buildroot}%{_libdir}/vtk/doc
|
||||
|
||||
#Move tcl script to %{_datadir}/tcl/vtk/
|
||||
#Move tcl script to %%{_datadir}/tcl/vtk/
|
||||
mkdir -p %{buildroot}%{_datadir}/tcl/vtk/
|
||||
mv %{buildroot}%{_libdir}/%{name}/tcl/ %{buildroot}%{_datadir}/tcl/vtk/
|
||||
mv %{buildroot}%{_libdir}/%{name}/*.tcl %{buildroot}%{_datadir}/tcl/%{name}/
|
||||
|
Loading…
Reference in New Issue
Block a user