]> git.pld-linux.org Git - packages/vigra.git/blobdiff - vigra.spec
- release 9 (by relup.sh)
[packages/vigra.git] / vigra.spec
index 10f5bf597110e25f9ddd33e228fb805e27bec2c4..3189019a0f3d163588bc24e9874fa208756229ab 100644 (file)
@@ -1,21 +1,23 @@
+# TODO: [lib]lemon, WITH_LEMON
 Summary:       Generic Programming for Computer Vision
 Summary(pl.UTF-8):     Ogólne programowanie obrazu komputerowego
 Name:          vigra
-Version:       1.8.0
-Release:       5
+Version:       1.10.0
+Release:       9
 License:       MIT
 Group:         Libraries
-Source0:       http://hci.iwr.uni-heidelberg.de/vigra/%{name}-%{version}-src.tar.gz
-# Source0-md5: 15c5544448e529ee60020758ab6be264
+#Source0Download: http://ukoethe.github.io/vigra/#download
+Source0:       https://github.com/ukoethe/vigra/releases/download/Version-1-10-0/%{name}-%{version}-src-with-docu.tar.gz
+# Source0-md5: 85e2968e4ee5f9541b5dd8b3fb9cc433
 URL:           http://hci.iwr.uni-heidelberg.de/vigra/
-Patch0:                vigra-1.8.0.lib_suffix.patch
+BuildRequires: OpenEXR-devel
 BuildRequires: boost-python-devel >= 1.40.0
 BuildRequires: cmake >= 2.6.0
 BuildRequires: doxygen
 BuildRequires: fftw3-single-devel
 BuildRequires: hdf5-devel >= 1.8
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel >= 1.4.0
+BuildRequires: libpng-devel >= 2:1.4.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtiff-devel
 BuildRequires: pkgconfig
@@ -52,7 +54,7 @@ Requires:     %{name} = %{version}-%{release}
 Requires:      fftw3-single-devel
 Requires:      hdf5-devel >= 1.8
 Requires:      libjpeg-devel
-Requires:      libpng-devel
+Requires:      libpng-devel >= 2:1.4.0
 Requires:      libstdc++-devel
 Requires:      libtiff-devel
 Obsoletes:     vigra-static
@@ -78,6 +80,20 @@ VIGRA Python bindings.
 %description -n python-vigra -l pl.UTF-8
 Wiązania Pythona do biblioteki VIGRA.
 
+%package -n python-vigra-devel
+Summary:       Development file for VIGRA Python bindings
+Summary(pl.UTF-8):     Plik programistyczny wiązań Pythona do biblioteki VIGRA
+Group:         Development/Libraries
+Requires:      cmake
+Requires:      python-vigra = %{version}-%{release}
+
+%description -n python-vigra-devel
+Development (cmake config) file for VIGRA Python bindings.
+
+%description -n python-vigra-devel -l pl.UTF-8
+Plik programistyczny (konfiguracja cmake'a) dla wiązań Pythona do
+biblioteki VIGRA.
+
 %package doc
 Summary:       Development documentation for vigra library
 Summary(pl.UTF-8):     Dokumentacja programisty do biblioteki vigra
@@ -91,11 +107,12 @@ Dokumentacja programisty do biblioteki vigra.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %cmake . \
-       -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
+       -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
+       -DWITH_BOOST_GRAPH=ON \
+       -DWITH_OPENEXR=ON
 
 %{__make}
 
@@ -119,9 +136,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE.txt README.txt
+%doc LICENSE.txt README.md
 %attr(755,root,root) %{_libdir}/libvigraimpex.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libvigraimpex.so.4
+%attr(755,root,root) %ghost %{_libdir}/libvigraimpex.so.5
 
 %files devel
 %defattr(644,root,root,755)
@@ -140,6 +157,11 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/vigra/pyqt
 %{py_sitedir}/vigra/pyqt/*.py[co]
 
+%files -n python-vigra-devel
+%defattr(644,root,root,755)
+%dir %{_libdir}/vigranumpy
+%{_libdir}/vigranumpy/VigranumpyConfig.cmake
+
 %files doc
 %defattr(644,root,root,755)
 %doc doc/{vigra,vigranumpy}
This page took 0.309854 seconds and 4 git commands to generate.