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