69758f6
Summary:        Generic Programming for Computer Vision
69758f6
Name:           vigra
69758f6
Version:        1.6.0
a894708
Release:        2%{?dist}
69758f6
License:        MIT
69758f6
Group:          Development/Libraries
69758f6
Source:         http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz
69758f6
URL:            http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
69758f6
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
69758f6
BuildRequires:  zlib-devel libjpeg-devel libpng-devel libtiff-devel
69758f6
BuildRequires:  fftw3-devel
35accf9
35accf9
%description
35accf9
VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision
35accf9
library that puts its main emphasis on customizable algorithms and data
35accf9
structures. By using template techniques similar to those in the C++ Standard
35accf9
Template Library, you can easily adapt any VIGRA component to the needs of your
35accf9
application without thereby giving up execution speed.
35accf9
35accf9
%package devel
69758f6
Summary:        Development tools for programs which will use the vigra library
69758f6
Group:          Development/Libraries
69758f6
Requires:       vigra = %{version}-%{release}
69758f6
Requires:       libjpeg-devel libtiff-devel libpng-devel zlib-devel
69758f6
Requires:       fftw3-devel
35accf9
35accf9
%description devel
35accf9
The vigra-devel package includes the header files necessary for developing
35accf9
programs that use the vigra library.
35accf9
35accf9
%prep
35accf9
%setup -q -n %{name}%{version}
35accf9
35accf9
%build
0b66471
export CXXFLAGS="$RPM_OPT_FLAGS"
35accf9
./configure \
35accf9
    --prefix=/usr \
35accf9
    --with-tiff \
35accf9
    --with-jpeg \
35accf9
    --with-png \
35accf9
    --with-zlib \
35accf9
    --with-fftw \
35accf9
    --enable-shared \
35accf9
    --disable-static \
35accf9
    --libdir=%{_libdir}
35accf9
make
35accf9
35accf9
%install
35accf9
rm -rf %{buildroot}
35accf9
%makeinstall
35accf9
rm -f %{buildroot}/%{_libdir}/libvigraimpex.la
35accf9
rm -rf %{buildroot}/usr/doc
35accf9
35accf9
%post -p /sbin/ldconfig
35accf9
%postun -p /sbin/ldconfig
35accf9
35accf9
%clean
35accf9
rm -rf %{buildroot}
35accf9
35accf9
%files
35accf9
%defattr(-, root, root,-)
0b66471
%doc LICENSE.txt README.txt
35accf9
%{_libdir}/libvigraimpex.so.*
35accf9
35accf9
%files devel
35accf9
%defattr(-, root, root,-)
35accf9
%{_bindir}/vigra-config
35accf9
%{_includedir}/vigra
35accf9
%{_libdir}/libvigraimpex.so
69758f6
%doc doc/vigra/*.html doc/vigra/*.css doc/vigra/*.png doc/vigra/*.gif doc/vigra/*.ps doc/vigra/documents/
35accf9
35accf9
%changelog
a894708
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
a894708
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a894708
69758f6
* Mon Jun 08 2009 Bruno Postle - 1.6.0-1
69758f6
- Update to latest release
69758f6
4db82d4
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
4db82d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4db82d4
171a062
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-4
171a062
- Autorebuild for GCC 4.3
171a062
f689445
* Tue Aug 21 2007 Bruno Postle <bruno@postle.net> 1.5.0-3
f689445
  - Bumping for Jesse
f689445
c3f1ac1
* Mon Feb 19 2007 Bruno Postle <bruno@postle.net> 1.5.0-2
0b66471
  - update to 1.5.0 release
0b66471
  - fix bug 228926: vigra: $RPM_OPT_FLAGS not used
0b66471
35accf9
* Sun Nov 23 2003 Bruno Postle <bruno@postle.net>
69758f6
  - initial package
35accf9
35accf9