2024-01-06 06:02:36 +01:00
|
|
|
%define pkgver %(echo %version | tr . -)
|
2024-01-06 06:02:36 +01:00
|
|
|
Name: libvigra
|
2024-09-09 12:41:46 +02:00
|
|
|
Version: 1.12.1
|
2024-01-06 06:02:39 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:02:36 +01:00
|
|
|
Summary: A computer vision library that puts its main emphasize on customizable algorithms and data structures
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:02:36 +01:00
|
|
|
URL: https://ukoethe.github.io/vigra/
|
|
|
|
Source: https://github.com/ukoethe/vigra.git/Version-%{pkgver}/vigra-%{version}.tar.bz2
|
|
|
|
Patch0: libvigra-1.11.1-fix-incorrect-template-parameter-type.patch
|
|
|
|
Patch1: libvigra-1.11.1-python-3.7.patch
|
|
|
|
Patch2: libvigra-1.11.1-openexr-3.0.1.patch
|
2024-01-06 06:02:36 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libboost-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libhdf5-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libimath-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libopenexr-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 06:02:39 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:02:36 +01:00
|
|
|
BuildRequires: libopenexr-devel >= 3.0.4-1mamba
|
2024-01-06 06:02:36 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision library that puts its main emphasize on customizable algorithms and data structures. By using template techniques similar to those in the C++ Standard Template Library, you can easily adapt any VIGRA component to the needs of your application, without thereby giving up execution speed.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision library that puts its main emphasize on customizable algorithms and data structures. By using template techniques similar to those in the C++ Standard Template Library, you can easily adapt any VIGRA component to the needs of your application, without thereby giving up execution speed.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
%package -n python-vigra-py3
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-vigra-py3
|
|
|
|
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision library that puts its main emphasize on customizable algorithms and data structures. By using template techniques similar to those in the C++ Standard Template Library, you can easily adapt any VIGRA component to the needs of your application, without thereby giving up execution speed.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n vigra-%{version}
|
2024-01-06 06:02:39 +01:00
|
|
|
#%patch 0 -p1
|
|
|
|
#%patch 1 -p1
|
|
|
|
%patch 2 -p1
|
2024-01-06 06:02:36 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-06 06:02:36 +01:00
|
|
|
-DDOCINSTALL=share/doc \
|
2024-09-09 12:41:46 +02:00
|
|
|
-DPython_EXECUTABLE=%{__python3} \
|
|
|
|
-DPython_INCLUDEDIR=%{python3_inc} \
|
2024-01-06 06:02:36 +01:00
|
|
|
-DWITH_OPENEXR=true \
|
|
|
|
-DWITH_VIGRANUMPY=1 \
|
|
|
|
-DCMAKE_C_FLAGS="-DH5_USE_110_API" \
|
|
|
|
-DCMAKE_CXX_FLAGS="-DH5_USE_110_API"
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_docdir}/vigranumpy/.buildinfo
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libvigraimpex.so.*
|
2024-01-06 06:02:36 +01:00
|
|
|
#%doc README.txt
|
2024-01-06 06:02:36 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/vigra-config
|
|
|
|
%dir %{_includedir}/vigra
|
|
|
|
%{_includedir}/vigra/*
|
|
|
|
%{_libdir}/vigra/*.cmake
|
2024-01-06 06:02:36 +01:00
|
|
|
%{_libdir}/libvigraimpex.so
|
2024-01-06 06:02:36 +01:00
|
|
|
%{_libdir}/vigranumpy/VigranumpyConfig.cmake
|
2024-01-06 06:02:36 +01:00
|
|
|
%dir %{_docdir}/vigra
|
|
|
|
%{_docdir}/vigra/*
|
2024-01-06 06:02:36 +01:00
|
|
|
#%dir %{_docdir}/vigranumpy
|
|
|
|
#%{_docdir}/vigranumpy/*
|
|
|
|
|
|
|
|
%files -n python-vigra-py3
|
|
|
|
%defattr(-,root,root)
|
2024-09-09 12:41:46 +02:00
|
|
|
%dir %{python3_sitelib}/vigra
|
|
|
|
%{python3_sitelib}/vigra/*
|
2024-01-06 06:02:36 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-09-09 12:41:46 +02:00
|
|
|
* Tue Sep 03 2024 Automatic Build System <autodist@openmamba.org> 1.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:02:39 +01:00
|
|
|
* Sun Oct 08 2023 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.1-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libopenexr-devel>=3.0.4-1mamba
|
|
|
|
|
|
|
|
* Sat May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.1-1mamba
|
|
|
|
- update to 1.11.1
|
|
|
|
|
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- update to 1.11.0
|
2024-01-06 06:02:36 +01:00
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
* Sun Dec 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-2mamba
|
|
|
|
- rebuilt with gcc 5.2.0
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- update to 1.10.0
|
|
|
|
|
2024-01-06 06:02:36 +01:00
|
|
|
* Mon Dec 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-3mamba
|
|
|
|
- rebuilt with python 2.7
|
|
|
|
|
|
|
|
* Mon Mar 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
|
|
|
|
- rebuilt with libhdf5 1.8.10
|
|
|
|
|
|
|
|
* Mon Mar 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- update to 1.9.0
|
|
|
|
|
|
|
|
* Fri Jan 07 2011 Automatic Build System <autodist@mambasoft.it> 1.7.1-2mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 06 2011 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- update to 1.7.1
|
|
|
|
|
|
|
|
* Thu Jan 06 2011 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jul 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- package created by autospec
|