no hdf5-devel in RHEL-7
This commit is contained in:
parent
2ca58d805f
commit
4035590f13
21
vigra.spec
21
vigra.spec
@ -2,15 +2,17 @@
|
|||||||
Summary: Generic Programming for Computer Vision
|
Summary: Generic Programming for Computer Vision
|
||||||
Name: vigra
|
Name: vigra
|
||||||
Version: 1.9.0
|
Version: 1.9.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source: http://hci.iwr.uni-heidelberg.de/%{name}/%{name}-%{version}-src.tar.gz
|
Source: http://hci.iwr.uni-heidelberg.de/%{name}/%{name}-%{version}-src.tar.gz
|
||||||
URL: http://hci.iwr.uni-heidelberg.de/vigra/
|
URL: http://hci.iwr.uni-heidelberg.de/vigra/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: zlib-devel libjpeg-devel libpng-devel libtiff-devel fftw-devel >= 3
|
BuildRequires: zlib-devel libjpeg-devel libpng-devel libtiff-devel fftw-devel >= 3
|
||||||
BuildRequires: cmake hdf5-devel boost-devel boost-python doxygen python-sphinx numpy-f2py
|
BuildRequires: cmake boost-devel doxygen
|
||||||
BuildRequires: OpenEXR-devel
|
%if ! 0%{?rhel}
|
||||||
|
BuildRequires: hdf5-devel python-sphinx numpy-f2py boost-python OpenEXR-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision
|
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision
|
||||||
@ -30,6 +32,7 @@ Requires: hdf5-devel boost-devel boost-python numpy-f2py OpenEXR-devel
|
|||||||
The vigra-devel package includes the header files necessary for developing
|
The vigra-devel package includes the header files necessary for developing
|
||||||
programs that use the vigra library.
|
programs that use the vigra library.
|
||||||
|
|
||||||
|
%if ! 0%{?rhel}
|
||||||
%package python
|
%package python
|
||||||
Summary: Python interface for the vigra computer vision library
|
Summary: Python interface for the vigra computer vision library
|
||||||
Requires: vigra = %{version}-%{release}
|
Requires: vigra = %{version}-%{release}
|
||||||
@ -37,12 +40,17 @@ Requires: numpy numpy-f2py
|
|||||||
|
|
||||||
%description python
|
%description python
|
||||||
The vigra-python package provides python bindings for vigra
|
The vigra-python package provides python bindings for vigra
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake . -DWITH_OPENEXR=1 -DWITH_HDF5=1
|
%if ! 0%{?rhel}
|
||||||
|
%cmake . -DWITH_OPENEXR=1 -DWITH_HDF5=1 -DWITH_VIGRANUMPY=1 -DWITH_VALGRIND=0
|
||||||
|
%else
|
||||||
|
%cmake . -DWITH_OPENEXR=0 -DWITH_HDF5=0 -DWITH_VIGRANUMPY=0 -DWITH_VALGRIND=0
|
||||||
|
%endif
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
# cleanup
|
# cleanup
|
||||||
rm -f doc/vigranumpy/.buildinfo
|
rm -f doc/vigranumpy/.buildinfo
|
||||||
@ -76,11 +84,16 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/vigra
|
%{_libdir}/vigra
|
||||||
%doc doc/vigra doc/vigranumpy
|
%doc doc/vigra doc/vigranumpy
|
||||||
|
|
||||||
|
%if ! 0%{?rhel}
|
||||||
%files python
|
%files python
|
||||||
%defattr(-, root, root,-)
|
%defattr(-, root, root,-)
|
||||||
%{python_sitearch}/vigra
|
%{python_sitearch}/vigra
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 14 2013 Caolán McNamara <caolanm@redhat.com> - 1.9.0-4
|
||||||
|
- no hdf5-devel in RHEL-7
|
||||||
|
|
||||||
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.9.0-3
|
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.9.0-3
|
||||||
- Rebuild for Boost-1.53.0
|
- Rebuild for Boost-1.53.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user