Accepting request 515324 from home:jengelh:branches:science
- Fix RPM groups. Use POSIX-compliant find call. OBS-URL: https://build.opensuse.org/request/show/515324 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=87
This commit is contained in:
parent
f9b954c5fe
commit
11ae052473
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 9 08:54:55 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Fix RPM groups. Use POSIX-compliant find call.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 7 09:13:03 UTC 2017 - badshah400@gmail.com
|
Mon Aug 7 09:13:03 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -125,8 +125,8 @@ rendering techniques (e.g. hardware-accelerated volume rendering, LOD
|
|||||||
control).
|
control).
|
||||||
|
|
||||||
%package -n %{shlib}
|
%package -n %{shlib}
|
||||||
Summary: Shared libraries for %{pkgname}
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
||||||
Group: Productivity/Scientific/Other
|
Group: System/Libraries
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: %{vtklib}
|
Conflicts: %{vtklib}
|
||||||
%else
|
%else
|
||||||
@ -234,7 +234,7 @@ This package provides Qt bindings for VTK.
|
|||||||
|
|
||||||
%package tcl
|
%package tcl
|
||||||
Summary: Tcl bindings for VTK
|
Summary: Tcl bindings for VTK
|
||||||
Group: System/Libraries
|
Group: Development/Languages/Tcl
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: vtk-tcl
|
Conflicts: vtk-tcl
|
||||||
@ -293,7 +293,7 @@ This package provides a few testing programs for VTK.
|
|||||||
|
|
||||||
# Replace relative path ../../../VTKData with %%{_datadir}/%%{pkgname}data-%%{version}
|
# Replace relative path ../../../VTKData with %%{_datadir}/%%{pkgname}data-%%{version}
|
||||||
# otherwise it will break on symlinks.
|
# otherwise it will break on symlinks.
|
||||||
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
|
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -359,7 +359,7 @@ make %{?_smp_mflags} VERBOSE=1
|
|||||||
make %{?_smp_mflags} DoxygenDoc
|
make %{?_smp_mflags} DoxygenDoc
|
||||||
|
|
||||||
# Remove executable bits from sources (some of which are generated)
|
# Remove executable bits from sources (some of which are generated)
|
||||||
find . -name \*.c -or -name \*.cxx -or -name \*.h -or -name \*.hxx -or -name \*.gif | xargs chmod -x
|
find . -name \*.c -o -name \*.cxx -o -name \*.h -o -name \*.hxx -o -name \*.gif -exec chmod -x "{}" "+"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 9 08:54:55 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Fix RPM groups. Use POSIX-compliant find call.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 7 09:13:03 UTC 2017 - badshah400@gmail.com
|
Mon Aug 7 09:13:03 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
10
vtk.spec
10
vtk.spec
@ -125,8 +125,8 @@ rendering techniques (e.g. hardware-accelerated volume rendering, LOD
|
|||||||
control).
|
control).
|
||||||
|
|
||||||
%package -n %{shlib}
|
%package -n %{shlib}
|
||||||
Summary: Shared libraries for %{pkgname}
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
||||||
Group: Productivity/Scientific/Other
|
Group: System/Libraries
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: %{vtklib}
|
Conflicts: %{vtklib}
|
||||||
%else
|
%else
|
||||||
@ -234,7 +234,7 @@ This package provides Qt bindings for VTK.
|
|||||||
|
|
||||||
%package tcl
|
%package tcl
|
||||||
Summary: Tcl bindings for VTK
|
Summary: Tcl bindings for VTK
|
||||||
Group: System/Libraries
|
Group: Development/Languages/Tcl
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
%if %{compat_gl}
|
%if %{compat_gl}
|
||||||
Conflicts: vtk-tcl
|
Conflicts: vtk-tcl
|
||||||
@ -293,7 +293,7 @@ This package provides a few testing programs for VTK.
|
|||||||
|
|
||||||
# Replace relative path ../../../VTKData with %%{_datadir}/%%{pkgname}data-%%{version}
|
# Replace relative path ../../../VTKData with %%{_datadir}/%%{pkgname}data-%%{version}
|
||||||
# otherwise it will break on symlinks.
|
# otherwise it will break on symlinks.
|
||||||
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
|
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -359,7 +359,7 @@ make %{?_smp_mflags} VERBOSE=1
|
|||||||
make %{?_smp_mflags} DoxygenDoc
|
make %{?_smp_mflags} DoxygenDoc
|
||||||
|
|
||||||
# Remove executable bits from sources (some of which are generated)
|
# Remove executable bits from sources (some of which are generated)
|
||||||
find . -name \*.c -or -name \*.cxx -or -name \*.h -or -name \*.hxx -or -name \*.gif | xargs chmod -x
|
find . -name \*.c -o -name \*.cxx -o -name \*.h -o -name \*.hxx -o -name \*.gif -exec chmod -x "{}" "+"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user