2024-01-06 06:02:36 +01:00
|
|
|
%define pkgver %(echo %version | tr . -)
|
2024-01-06 06:02:36 +01:00
|
|
|
Name: libvigra
|
2024-01-06 06:02:36 +01:00
|
|
|
Version: 1.10.0
|
2024-01-06 06:02:36 +01:00
|
|
|
Release: 3mamba
|
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>
|
|
|
|
URL: http://hci.iwr.uni-heidelberg.de/vigra
|
2024-01-06 06:02:36 +01:00
|
|
|
Source: https://github.com/ukoethe/vigra/releases/download/Version-%{pkgver}/vigra-%{version}-src-with-docu.tar.gz
|
|
|
|
#Source: http://hci.iwr.uni-heidelberg.de/vigra/vigra-%{version}-src.tar.gz
|
2024-01-06 06:02:36 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libhdf5-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libpython27-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: python-boost-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: python-numpy
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n vigra-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-06 06:02:36 +01:00
|
|
|
-DWITH_OPENEXR=1 \
|
2024-01-06 06:02:36 +01:00
|
|
|
-DDOCINSTALL=share/doc
|
|
|
|
%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
|
|
|
%ifnarch arm
|
2024-01-06 06:02:36 +01:00
|
|
|
%dir %{python_sitearch}/vigra
|
|
|
|
%{python_sitearch}/vigra/*
|
2024-01-06 06:02:36 +01:00
|
|
|
%endif
|
|
|
|
#%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
|
|
|
%ifnarch arm
|
2024-01-06 06:02:36 +01:00
|
|
|
%{_libdir}/vigranumpy/VigranumpyConfig.cmake
|
|
|
|
%endif
|
2024-01-06 06:02:36 +01:00
|
|
|
%{_libdir}/libvigraimpex.so
|
2024-01-06 06:02:36 +01:00
|
|
|
%dir %{_docdir}/vigra
|
|
|
|
%{_docdir}/vigra/*
|
|
|
|
%dir %{_docdir}/vigranumpy
|
|
|
|
%{_docdir}/vigranumpy/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:02:36 +01:00
|
|
|
* Thu Apr 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.10.0-3mamba
|
|
|
|
- Added support for openEXR
|
|
|
|
|
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
|