From 35accf9d6767a7729b6bf9e567dde22bc8555b38 Mon Sep 17 00:00:00 2001 From: bpostle Date: Tue, 12 Sep 2006 21:50:31 +0000 Subject: [PATCH] auto-import vigra-1.4.0-4.fc5 on branch devel from vigra-1.4.0-4.fc5.src.rpm --- .cvsignore | 1 + sources | 1 + vigra.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 vigra.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e07c26d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vigra1.4.0.tar.gz diff --git a/sources b/sources index e69de29..cff51a0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ea91f2fb4212a21d708aced277e6e85a vigra1.4.0.tar.gz diff --git a/vigra.spec b/vigra.spec new file mode 100644 index 0000000..5fba90c --- /dev/null +++ b/vigra.spec @@ -0,0 +1,105 @@ +Summary: Generic Programming for Computer Vision +Name: vigra +Version: 1.4.0 +Release: 4%{?dist} +License: MIT +Group: Development/Libraries +Source: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz +URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel, fftw-devel >= 3 + +%description +VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision +library that puts its main emphasis on customizable algorithms and data +structures. By using template techniques similar to those in the C++ Standard +Template Library, you can easily adapt any VIGRA component to the needs of your +application without thereby giving up execution speed. + +%package devel +Summary: Development tools for programs which will use the vigra library +Group: Development/Libraries +Requires: vigra = %{version}-%{release} +Requires: libjpeg-devel, libtiff-devel, libpng-devel, zlib-devel, fftw-devel >= 3 + +%description devel +The vigra-devel package includes the header files necessary for developing +programs that use the vigra library. + +%prep +%setup -q -n %{name}%{version} +chmod 644 %{_builddir}/vigra1.4.0/doc/vigra/documents/*.ps +rm -f %{_builddir}/vigra1.4.0/doc/vigra/.cvsignore + +%build +./configure \ + --prefix=/usr \ + --with-tiff \ + --with-jpeg \ + --with-png \ + --with-zlib \ + --with-fftw \ + --enable-shared \ + --disable-static \ + --libdir=%{_libdir} +make + +%install +rm -rf %{buildroot} +%makeinstall +rm -f %{buildroot}/%{_libdir}/libvigraimpex.la +rm -rf %{buildroot}/usr/doc + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root,-) +%doc LICENSE README +%{_libdir}/libvigraimpex.so.* + +%files devel +%defattr(-, root, root,-) +%{_bindir}/vigra-config +%{_includedir}/vigra +%{_libdir}/libvigraimpex.so +%doc doc/vigra/* + +%changelog +* Tue Sep 12 2006 Bruno Postle 1.4.0-4 + - remove gcc-c++ dependency + +* Fri Sep 08 2006 Bruno Postle 1.4.0-3 + - change defattr + - require fftw >= 3, gcc-c++ + +* Tue Sep 05 2006 Bruno Postle 1.4.0-2 + - update with review feedback + +* Mon Aug 28 2006 Bruno Postle 1.4.0-1 + - revive, update to 1.4 with new license, remove patches, + - split to devel package + +* Fri Jul 02 2004 Bruno Postle + - add pablo's vigra_typetraits_extension.diff patch and shorten + the impex patch so it doesn't conflict + +* Wed May 05 2004 Bruno Postle + - new build with patches for 16bit tiff and viff bug + +* Sun Feb 08 2004 Bruno Postle + - new build with shared libraries + +* Wed Jan 04 2004 Bruno Postle + - new build without shared libraries + +* Tue Nov 25 2003 Bruno Postle + - new build with shared libraries + +* Sun Nov 23 2003 Bruno Postle + - make a horrible mess + +