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