%%check || : does not work anymore, enable java by default.
This commit is contained in:
parent
a197ad5476
commit
bc75df9bea
20
vtk.spec
20
vtk.spec
|
@ -1,14 +1,17 @@
|
||||||
%bcond_without OSMesa
|
%bcond_without OSMesa
|
||||||
%bcond_with qt4
|
%bcond_with qt4
|
||||||
%bcond_with java
|
%bcond_without java
|
||||||
|
|
||||||
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Summary: The Visualization Toolkit - A high level 3D visualization library
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
||||||
Name: vtk
|
Name: vtk
|
||||||
Version: 5.0.4
|
Version: 5.0.4
|
||||||
Release: 21%{?dist}
|
Release: 23%{?dist}
|
||||||
License: BSD-like
|
# 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
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://www.vtk.org/files/release/5.0/%{name}-%{version}.tar.gz
|
Source: http://www.vtk.org/files/release/5.0/%{name}-%{version}.tar.gz
|
||||||
Patch0: vtk-5.0.0-pythondestdir.patch
|
Patch0: vtk-5.0.0-pythondestdir.patch
|
||||||
|
@ -102,7 +105,7 @@ programming languages.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n VTK
|
%setup -q -n VTK
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1 -b .gcc43
|
||||||
|
|
||||||
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
|
# Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version}
|
||||||
# otherwise it will break on symlinks.
|
# otherwise it will break on symlinks.
|
||||||
|
@ -285,7 +288,7 @@ find Utilities/Upgrading -type f | xargs chmod -x
|
||||||
# Add exec bits to shared libs ...
|
# Add exec bits to shared libs ...
|
||||||
chmod 0755 %{buildroot}%{_libdir}/vtk-5.0/CMake/*.so
|
chmod 0755 %{buildroot}%{_libdir}/vtk-5.0/CMake/*.so
|
||||||
|
|
||||||
%check || :
|
%check
|
||||||
#LD_LIBARARY_PATH=`pwd`/bin ctest -V
|
#LD_LIBARARY_PATH=`pwd`/bin ctest -V
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
@ -369,6 +372,13 @@ rm -rf %{buildroot}
|
||||||
%{_libdir}/vtk-examples-5.0
|
%{_libdir}/vtk-examples-5.0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-23
|
||||||
|
- %%check || : does not work anymore.
|
||||||
|
- enable java by default.
|
||||||
|
|
||||||
|
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.4-22
|
||||||
|
- fix license tag
|
||||||
|
|
||||||
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
|
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
|
||||||
- Fixes for gcc 4.3 by Orion Poplawski.
|
- Fixes for gcc 4.3 by Orion Poplawski.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue