[521] | 1 | Summary: Generic Programming for Computer Vision |
---|
| 2 | Name: vigra |
---|
| 3 | Version: 1.5.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: MIT |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz |
---|
| 8 | URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/ |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 10 | BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel, fftw3-devel |
---|
| 11 | |
---|
| 12 | %description |
---|
| 13 | VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision |
---|
| 14 | library that puts its main emphasis on customizable algorithms and data |
---|
| 15 | structures. By using template techniques similar to those in the C++ Standard |
---|
| 16 | Template Library, you can easily adapt any VIGRA component to the needs of your |
---|
| 17 | application without thereby giving up execution speed. |
---|
| 18 | |
---|
| 19 | %package devel |
---|
| 20 | Summary: Development tools for programs which will use the vigra library |
---|
| 21 | Summary(ja): Development tools for programs which will use the vigra library |
---|
| 22 | Group: Development/Libraries |
---|
| 23 | Requires: vigra = %{version}-%{release} |
---|
| 24 | Requires: libjpeg-devel, libtiff-devel, libpng-devel, zlib-devel, fftw3-devel |
---|
| 25 | |
---|
| 26 | %description devel |
---|
| 27 | The vigra-devel package includes the header files necessary for developing |
---|
| 28 | programs that use the vigra library. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n %{name}%{version} |
---|
| 32 | chmod 644 %{_builddir}/%{name}%{version}/doc/vigra/documents/*.ps |
---|
| 33 | rm -f %{_builddir}/%{name}%{version}/doc/vigra/.cvsignore |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | export CXXFLAGS="$RPM_OPT_FLAGS" |
---|
| 37 | ./configure \ |
---|
| 38 | --prefix=/usr \ |
---|
| 39 | --with-tiff \ |
---|
| 40 | --with-jpeg \ |
---|
| 41 | --with-png \ |
---|
| 42 | --with-zlib \ |
---|
| 43 | --with-fftw \ |
---|
| 44 | --enable-shared \ |
---|
| 45 | --disable-static \ |
---|
| 46 | --libdir=%{_libdir} |
---|
| 47 | make |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | %makeinstall |
---|
| 52 | rm -f %{buildroot}/%{_libdir}/libvigraimpex.la |
---|
| 53 | rm -rf %{buildroot}/usr/doc |
---|
| 54 | |
---|
| 55 | %post -p /sbin/ldconfig |
---|
| 56 | %postun -p /sbin/ldconfig |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf %{buildroot} |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-, root, root,-) |
---|
| 63 | %doc LICENSE.txt README.txt |
---|
| 64 | %{_libdir}/libvigraimpex.so.* |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-, root, root,-) |
---|
| 68 | %{_bindir}/vigra-config |
---|
| 69 | %{_includedir}/vigra |
---|
| 70 | %{_libdir}/libvigraimpex.so |
---|
| 71 | %doc doc/vigra/* |
---|
| 72 | |
---|
| 73 | %changelog |
---|
| 74 | * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-1 |
---|
| 75 | - initial build for Vine Linux |
---|
| 76 | |
---|
| 77 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-4 |
---|
| 78 | - Autorebuild for GCC 4.3 |
---|
| 79 | |
---|
| 80 | * Tue Aug 21 2007 Bruno Postle <bruno@postle.net> 1.5.0-3 |
---|
| 81 | - Bumping for Jesse |
---|
| 82 | |
---|
| 83 | * Mon Feb 19 2007 Bruno Postle <bruno@postle.net> 1.5.0-2 |
---|
| 84 | - update to 1.5.0 release |
---|
| 85 | - fix bug 228926: vigra: $RPM_OPT_FLAGS not used |
---|
| 86 | |
---|
| 87 | * Tue Sep 12 2006 Bruno Postle <bruno@postle.net> 1.4.0-4 |
---|
| 88 | - remove gcc-c++ dependency |
---|
| 89 | |
---|
| 90 | * Fri Sep 08 2006 Bruno Postle <bruno@postle.net> 1.4.0-3 |
---|
| 91 | - change defattr |
---|
| 92 | - require fftw >= 3, gcc-c++ |
---|
| 93 | |
---|
| 94 | * Tue Sep 05 2006 Bruno Postle <bruno@postle.net> 1.4.0-2 |
---|
| 95 | - update with review feedback |
---|
| 96 | |
---|
| 97 | * Mon Aug 28 2006 Bruno Postle <bruno@postle.net> 1.4.0-1 |
---|
| 98 | - revive, update to 1.4 with new license, remove patches, |
---|
| 99 | - split to devel package |
---|
| 100 | |
---|
| 101 | * Fri Jul 02 2004 Bruno Postle <bruno@postle.net> |
---|
| 102 | - add pablo's vigra_typetraits_extension.diff patch and shorten |
---|
| 103 | the impex patch so it doesn't conflict |
---|
| 104 | |
---|
| 105 | * Wed May 05 2004 Bruno Postle <bruno@postle.net> |
---|
| 106 | - new build with patches for 16bit tiff and viff bug |
---|
| 107 | |
---|
| 108 | * Sun Feb 08 2004 Bruno Postle <bruno@postle.net> |
---|
| 109 | - new build with shared libraries |
---|
| 110 | |
---|
| 111 | * Wed Jan 04 2004 Bruno Postle <bruno@postle.net> |
---|
| 112 | - new build without shared libraries |
---|
| 113 | |
---|
| 114 | * Tue Nov 25 2003 Bruno Postle <bruno@postle.net> |
---|
| 115 | - new build with shared libraries |
---|
| 116 | |
---|
| 117 | * Sun Nov 23 2003 Bruno Postle <bruno@postle.net> |
---|
| 118 | - make a horrible mess |
---|
| 119 | |
---|
| 120 | |
---|