babl-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: A dynamic, any to any, pixel format conversion library
  2. Name: babl
  3. Version: 0.1.18
  4. Release: 1%{?_dist_release}
  5. # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
  6. License: LGPLv3+ and GPLv3+
  7. Group: System Environment/Libraries
  8. URL: http://www.gegl.org/babl/
  9. Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: w3m
  12. %description
  13. Babl is a dynamic, any to any, pixel format conversion library. It
  14. provides conversions between the myriad of buffer types images can be
  15. stored in. Babl doesn't only help with existing pixel formats, but also
  16. facilitates creation of new and uncommon ones.
  17. %package devel
  18. Summary: Headers for developing programs that will use %{name}
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. This package contains the libraries and header files needed for
  24. developing with %{name}.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make DESTDIR=%{buildroot} install INSTALL='install -p'
  33. mkdir -p babl_docs babl_docs/html
  34. cp -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
  35. rm -rf babl_docs/html/graphics/Makefile*
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  37. %check
  38. pushd tests
  39. rm -f concurrency-stress-test
  40. cat << EOF > concurrency-stress-test
  41. #!/bin/sh
  42. echo Skipping test concurrency-stress-test
  43. EOF
  44. chmod +x concurrency-stress-test
  45. popd
  46. make check
  47. %clean
  48. rm -rf %{buildroot}
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-, root, root, -)
  53. %doc AUTHORS ChangeLog COPYING README NEWS
  54. %{_libdir}/*.so.*
  55. %{_libdir}/babl-0.1/
  56. %files devel
  57. %defattr(-, root, root, -)
  58. %doc babl_docs/html
  59. %{_includedir}/babl-0.1/babl/
  60. %{_libdir}/*.so
  61. %{_libdir}/pkgconfig/%{name}.pc
  62. %changelog
  63. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
  64. - new upstream release
  65. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-3
  66. - remove *.la files
  67. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-2
  68. - rebuild with VineSeed environment
  69. - fix %%check (based on fedora package)
  70. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-1
  71. - new upstream release
  72. - remove BuildRequires: inkscape, ruby
  73. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  74. - new upstream release
  75. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  76. - rebuilt with rpm-4.8.1-3
  77. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  78. - new upstream release
  79. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.22-1
  80. - initial build for Vine Linux
  81. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1
  82. - Update to latest release
  83. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.20-1
  84. - New release
  85. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2
  86. - Apply patch to fix extensions loading on 64bit systems
  87. * Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  88. - Update to 0.0.18
  89. * Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  90. - Update to 0.0.16 release
  91. - License change from GPLv2+ to GPLv3+
  92. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn
  93. - Update the License field
  94. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn
  95. - Package the extension libraries in the main package
  96. - Run 'make check'
  97. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn
  98. - Ensure timestamps are kept during install
  99. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.2.20071011svn
  100. - Remove the use of inexistent source url (Package reviews)
  101. - Package the html docs
  102. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.1.20071011svn
  103. - Initial packaging for Fedora