]> git.pld-linux.org Git - packages/vigra.git/blame - vigra.spec
- boost 1.61 rebuild
[packages/vigra.git] / vigra.spec
CommitLineData
0992852b 1# TODO: [lib]lemon, WITH_LEMON
ff77f0f9 2Summary: Generic Programming for Computer Vision
ce893eac 3Summary(pl.UTF-8): Ogólne programowanie obrazu komputerowego
ff77f0f9 4Name: vigra
0992852b 5Version: 1.10.0
aada4c11 6Release: 12
259a4a28 7License: MIT
ff77f0f9 8Group: Libraries
0992852b
JB
9#Source0Download: http://ukoethe.github.io/vigra/#download
10Source0: https://github.com/ukoethe/vigra/releases/download/Version-1-10-0/%{name}-%{version}-src-with-docu.tar.gz
11# Source0-md5: 85e2968e4ee5f9541b5dd8b3fb9cc433
d6aa230b 12Patch0: python-install.patch
5cfa7ed0 13URL: http://hci.iwr.uni-heidelberg.de/vigra/
0992852b 14BuildRequires: OpenEXR-devel
c67566a7 15BuildRequires: boost-python-devel >= 1.40.0
5cfa7ed0
JB
16BuildRequires: cmake >= 2.6.0
17BuildRequires: doxygen
c67566a7
JB
18BuildRequires: fftw3-single-devel
19BuildRequires: hdf5-devel >= 1.8
a7865023 20BuildRequires: libjpeg-devel
0992852b 21BuildRequires: libpng-devel >= 2:1.4.0
f83ee3d9 22BuildRequires: libstdc++-devel
a7865023 23BuildRequires: libtiff-devel
1d1bcd93 24BuildRequires: pkgconfig
5cfa7ed0 25BuildRequires: python
5cfa7ed0
JB
26BuildRequires: python-devel
27BuildRequires: python-numpy-devel
28BuildRequires: rpmbuild(macros) >= 1.586
c67566a7 29BuildRequires: sphinx-pdg
a7865023 30BuildRequires: zlib-devel
ff77f0f9 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ff77f0f9 32
33%description
34VIGRA stands for "Vision with Generic Algorithms". It's a novel
35computer vision library that puts its main emphasize on customizable
36algorithms and data structures. By using template techniques similar
37to those in the C++ Standard Template Library, you can easily adapt
38any VIGRA component to the needs of your application, without thereby
39giving up execution speed.
40
a1e41389
JR
41%description -l pl.UTF-8
42VIGRA to skrót od "Vision with Generic Algorithms" (widok z ogólnymi
43algorytmami). Jest to nowa biblioteka do obrazu komputerowego kładąca
44główny nacisk na algorytmy i struktury danych z możliwością
45dostosowania do własnych potrzeb. Poprzez użycie technik szablonów
46podobnych do tych w standardowej bibliotece szablonów C++ (STL) można
47łatwo zaadaptować dowolny komponent VIGRA do potrzeb własnej aplikacji
48bez poświęcania szybkości wykonywania.
a7865023 49
ff77f0f9 50%package devel
92c6e0e9 51Summary: Header files for vigra library
ce893eac 52Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vigra
92c6e0e9 53Group: Development/Libraries
54Requires: %{name} = %{version}-%{release}
c67566a7
JB
55Requires: fftw3-single-devel
56Requires: hdf5-devel >= 1.8
f83ee3d9 57Requires: libjpeg-devel
0992852b 58Requires: libpng-devel >= 2:1.4.0
f83ee3d9
JB
59Requires: libstdc++-devel
60Requires: libtiff-devel
5cfa7ed0 61Obsoletes: vigra-static
ff77f0f9 62
63%description devel
64Header files needed to compile programs with vigra.
65
a1e41389
JR
66%description devel -l pl.UTF-8
67Pliki nagłówkowe potrzebne do budowania programów używających
a7865023
JB
68biblioteki vigra.
69
5cfa7ed0
JB
70%package -n python-vigra
71Summary: VIGRA Python bindings
72Summary(pl.UTF-8): Wiązania Pythona do biblioteki VIGRA
73Group: Libraries/Python
74Requires: %{name} = %{version}-%{release}
75Requires: python-numpy
76Suggests: python-PyQt4
ff77f0f9 77
5cfa7ed0
JB
78%description -n python-vigra
79VIGRA Python bindings.
a7865023 80
5cfa7ed0
JB
81%description -n python-vigra -l pl.UTF-8
82Wiązania Pythona do biblioteki VIGRA.
ff77f0f9 83
0992852b
JB
84%package -n python-vigra-devel
85Summary: Development file for VIGRA Python bindings
86Summary(pl.UTF-8): Plik programistyczny wiązań Pythona do biblioteki VIGRA
87Group: Development/Libraries
88Requires: cmake
89Requires: python-vigra = %{version}-%{release}
90
91%description -n python-vigra-devel
92Development (cmake config) file for VIGRA Python bindings.
93
94%description -n python-vigra-devel -l pl.UTF-8
95Plik programistyczny (konfiguracja cmake'a) dla wiązań Pythona do
96biblioteki VIGRA.
97
f83ee3d9
JB
98%package doc
99Summary: Development documentation for vigra library
ce893eac 100Summary(pl.UTF-8): Dokumentacja programisty do biblioteki vigra
f83ee3d9
JB
101Group: Documentation
102
103%description doc
104Development documentation for vigra library.
105
a1e41389 106%description doc -l pl.UTF-8
f83ee3d9
JB
107Dokumentacja programisty do biblioteki vigra.
108
ff77f0f9 109%prep
5cfa7ed0 110%setup -q
d6aa230b 111%patch0 -p1
ff77f0f9 112
f83ee3d9 113%build
5cfa7ed0 114%cmake . \
0992852b
JB
115 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
116 -DWITH_BOOST_GRAPH=ON \
117 -DWITH_OPENEXR=ON
97e428ba 118
ff77f0f9 119%{__make}
120
ff77f0f9 121%install
122rm -rf $RPM_BUILD_ROOT
f83ee3d9
JB
123
124%{__make} install \
5cfa7ed0
JB
125 DESTDIR=$RPM_BUILD_ROOT
126
127%py_comp $RPM_BUILD_ROOT%{py_sitedir}/vigra
128%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/vigra
129%py_postclean
130
131%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/vigra*
ff77f0f9 132
ff77f0f9 133%clean
a7865023
JB
134rm -rf $RPM_BUILD_ROOT
135
136%post -p /sbin/ldconfig
137%postun -p /sbin/ldconfig
ff77f0f9 138
139%files
140%defattr(644,root,root,755)
0992852b 141%doc LICENSE.txt README.md
5cfa7ed0 142%attr(755,root,root) %{_libdir}/libvigraimpex.so.*.*
0992852b 143%attr(755,root,root) %ghost %{_libdir}/libvigraimpex.so.5
ff77f0f9 144
145%files devel
146%defattr(644,root,root,755)
f83ee3d9 147%attr(755,root,root) %{_bindir}/vigra-config
4993c24d 148%attr(755,root,root) %{_libdir}/libvigraimpex.so
f83ee3d9 149%{_includedir}/vigra
5cfa7ed0
JB
150%dir %{_libdir}/vigra
151%{_libdir}/vigra/VigraConfig*.cmake
152%{_libdir}/vigra/vigra-targets*.cmake
ff77f0f9 153
5cfa7ed0 154%files -n python-vigra
ff77f0f9 155%defattr(644,root,root,755)
5cfa7ed0
JB
156%dir %{py_sitedir}/vigra
157%attr(755,root,root) %{py_sitedir}/vigra/*.so
158%{py_sitedir}/vigra/*.py[co]
159%dir %{py_sitedir}/vigra/pyqt
160%{py_sitedir}/vigra/pyqt/*.py[co]
f83ee3d9 161
0992852b
JB
162%files -n python-vigra-devel
163%defattr(644,root,root,755)
164%dir %{_libdir}/vigranumpy
165%{_libdir}/vigranumpy/VigranumpyConfig.cmake
166
f83ee3d9
JB
167%files doc
168%defattr(644,root,root,755)
5cfa7ed0 169%doc doc/{vigra,vigranumpy}
This page took 0.060904 seconds and 4 git commands to generate.