1 Summary: Generic Programming for Computer Vision
2 Summary(pl.UTF-8): Ogólne programowanie obrazu komputerowego
8 Source0: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz
9 # Source0-md5: d62650a6f908e85643e557a236ea989c
10 Patch0: %{name}-ac.patch
11 URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: fftw3-devel
15 BuildRequires: libjpeg-devel
16 BuildRequires: libpng-devel
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtiff-devel
19 BuildRequires: libtool >= 2:1.5
20 #BuildRequires: python
21 #BuildRequires: python-devel
22 BuildRequires: zlib-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 VIGRA stands for "Vision with Generic Algorithms". It's a novel
27 computer vision library that puts its main emphasize on customizable
28 algorithms and data structures. By using template techniques similar
29 to those in the C++ Standard Template Library, you can easily adapt
30 any VIGRA component to the needs of your application, without thereby
31 giving up execution speed.
33 %description -l pl.UTF-8
34 VIGRA to skrót od "Vision with Generic Algorithms" (widok z ogólnymi
35 algorytmami). Jest to nowa biblioteka do obrazu komputerowego kładąca
36 główny nacisk na algorytmy i struktury danych z możliwością
37 dostosowania do własnych potrzeb. Poprzez użycie technik szablonów
38 podobnych do tych w standardowej bibliotece szablonów C++ (STL) można
39 łatwo zaadaptować dowolny komponent VIGRA do potrzeb własnej aplikacji
40 bez poświęcania szybkości wykonywania.
43 Summary: Header files for vigra library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vigra
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: libjpeg-devel
48 Requires: libpng-devel
49 Requires: libstdc++-devel
50 Requires: libtiff-devel
53 Header files needed to compile programs with vigra.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe potrzebne do budowania programów używających
60 Summary: vigra - static library
61 Summary(pl.UTF-8): Statyczna biblioteka vigra
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static version of vigra library.
68 %description static -l pl.UTF-8
69 Statyczna wersja biblioteki vigra.
72 Summary: Development documentation for vigra library
73 Summary(pl.UTF-8): Dokumentacja programisty do biblioteki vigra
77 Development documentation for vigra library.
79 %description doc -l pl.UTF-8
80 Dokumentacja programisty do biblioteki vigra.
83 %setup -q -n %{name}%{version}
86 tail -n +510 config/acinclude.m4 > acinclude.m4
87 ln -sf config/configure.in .
90 cp -f /usr/share/automake/config.* config
101 # --with-python requires src/pythonbindings (missing in sources)
106 rm -rf $RPM_BUILD_ROOT
109 prefix=$RPM_BUILD_ROOT%{_prefix} \
110 exec-prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
111 bindir=$RPM_BUILD_ROOT%{_bindir} \
112 includedir=$RPM_BUILD_ROOT%{_includedir} \
113 libdir=$RPM_BUILD_ROOT%{_libdir} \
117 rm -rf $RPM_BUILD_ROOT
119 %post -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
123 %defattr(644,root,root,755)
124 %doc LICENSE.txt README.txt
125 %attr(755,root,root) %{_libdir}/libvigraimpex.so.*.*.*
126 %attr(755,root,root) %ghost %{_libdir}/libvigraimpex.so.2
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_bindir}/vigra-config
131 %attr(755,root,root) %{_libdir}/libvigraimpex.so
132 %{_libdir}/libvigraimpex.la
136 %defattr(644,root,root,755)
137 %{_libdir}/libvigraimpex.a
140 %defattr(644,root,root,755)