ilmbase-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: Abraction/convenience libraries
  2. Name: ilmbase
  3. Version: 1.0.1
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://www.openexr.com/
  8. Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
  9. Source1: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz.sig
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: automake libtool
  12. # undefined pthread symbols
  13. Patch1: ilmbase-1.0.0-no_undefined.patch
  14. # move pthread linkage to Libs.private, tho probably not needed
  15. # if already using patch1 above.
  16. Patch2: ilmbase-1.0.0-pkgconfig.patch
  17. %description
  18. Half is a class that encapsulates the ilm 16-bit floating-point format.
  19. IlmThread is a thread abstraction library for use with OpenEXR
  20. and other software packages.
  21. Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
  22. and other useful 2D and 3D math functions.
  23. Iex is an exception-handling library.
  24. %package devel
  25. Summary: Headers and libraries for building apps that use %{name}
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: libGL-devel libGLU-devel
  29. Requires: pkgconfig
  30. %description devel
  31. %{summary}.
  32. %prep
  33. %setup -q
  34. %patch1 -p1 -b .no_undefined
  35. %patch2 -p1 -b .pkgconfig
  36. # for patch1
  37. ./bootstrap
  38. %build
  39. %configure --disable-static
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  45. %check
  46. make check
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc AUTHORS ChangeLog COPYING NEWS README
  54. %{_libdir}/lib*.so.*
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %{_includedir}/OpenEXR/
  58. %{_libdir}/lib*.so
  59. %{_libdir}/pkgconfig/*
  60. %changelog
  61. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  62. - initial build for Vine Linux
  63. * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
  64. - respin (gcc43)
  65. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
  66. - ilmbase-1.0.1
  67. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
  68. - include *.tar.sig in sources
  69. * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
  70. - update %%summary
  71. - -devel: +Requires: libGL-devel libGLU-devel
  72. - make install ... INSTALL="install -p" to preserve timestamps
  73. * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
  74. - ilmbase-1.0.0 (first try)