vigra-vl.spec 3.5 KB

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