1 Summary: Generic Programming for Computer Vision
5 License: The VIGRA Artistic License
7 Source0: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz
8 # Source0-md5: fbb385e93d4b40469b04af4bc7079734
9 URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11 BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel, fftw-devel
14 VIGRA stands for "Vision with Generic Algorithms". It's a novel
15 computer vision library that puts its main emphasize on customizable
16 algorithms and data structures. By using template techniques similar
17 to those in the C++ Standard Template Library, you can easily adapt
18 any VIGRA component to the needs of your application, without thereby
19 giving up execution speed.
22 Summary: vigra - header files
23 Group: Development/Libraries
24 Requires: %{name} = %{version}-%{release}
27 Header files needed to compile programs with vigra.
30 Summary: vigra - static library
31 Group: Development/Libraries
32 Requires: %{name}-devel = %{version}-%{release}
35 Static version of vigra..
44 LDFLAGS="${LDFLAGS:-%rpmldflags}" \
45 CFLAGS="${CFLAGS:-%rpmcflags}" \
46 CXXFLAGS="${CXXFLAGS:-%rpmcflags}" \
47 FFLAGS="${FFLAGS:-%rpmcflags}" \
48 CPPFLAGS="${CPPFLAGS:-}" \
49 %{?__cc:CC="%{__cc}"} \
50 %{?__cxx:CXX="%{__cxx}"} \
51 --build=%{_target_platform} \
53 --exec-prefix=%{_exec_prefix} \
55 --includedir=%{_includedir} \
63 --docdir=%{buildroot}%{_datadir}/doc/%{name}-%{version}
70 rm -rf $RPM_BUILD_ROOT
73 prefix=$RPM_BUILD_ROOT%{_prefix} \
74 exec-prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
75 bindir=$RPM_BUILD_ROOT%{_bindir} \
76 includedir=$RPM_BUILD_ROOT%{_includedir} \
77 libdir=$RPM_BUILD_ROOT%{_libdir} \
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %{_docdir}/%{name}-%{version}/LICENSE
92 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}
100 %defattr(644,root,root,755)