ilmbase-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Summary: Abraction/convenience libraries
  2. Name: ilmbase
  3. Version: 2.1.0
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: pkgconfig
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. Half is a class that encapsulates the ilm 16-bit floating-point format.
  15. IlmThread is a thread abstraction library for use with OpenEXR
  16. and other software packages.
  17. Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
  18. and other useful 2D and 3D math functions.
  19. Iex is an exception-handling library.
  20. %package devel
  21. Summary: Headers and libraries for building apps that use %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libGL-devel libGLU-devel
  25. Requires: pkgconfig
  26. %description devel
  27. %{summary}.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  36. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  37. %check
  38. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  39. test "$(pkg-config --modversion IlmBase)" = "%{version}"
  40. %ifarch %{ix86}
  41. make check ||:
  42. %else
  43. make check
  44. %endif
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS ChangeLog COPYING NEWS README
  52. %{_libdir}/lib*.so.*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %{_includedir}/OpenEXR/
  56. %{_libdir}/lib*.so
  57. %{_libdir}/pkgconfig/*
  58. %changelog
  59. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
  60. - update to 2.1.0
  61. - remove Patch50
  62. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1
  63. - updated to 1.0.2
  64. - rebuilt with rpm-4.8.1
  65. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  66. - initial build for Vine Linux
  67. * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
  68. - respin (gcc43)
  69. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
  70. - ilmbase-1.0.1
  71. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
  72. - include *.tar.sig in sources
  73. * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
  74. - update %%summary
  75. - -devel: +Requires: libGL-devel libGLU-devel
  76. - make install ... INSTALL="install -p" to preserve timestamps
  77. * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
  78. - ilmbase-1.0.0 (first try)