babl-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: A dynamic, any to any, pixel format conversion library
  2. Name: babl
  3. Version: 0.1.10
  4. Release: 2%{?_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: ftp://ftp.gtk.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. rm -rf %{buildroot}%{_libdir}/*.la
  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. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-2
  64. - rebuild with VineSeed environment
  65. - fix %%check (based on fedora package)
  66. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-1
  67. - new upstream release
  68. - remove BuildRequires: inkscape, ruby
  69. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  70. - new upstream release
  71. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  72. - rebuilt with rpm-4.8.1-3
  73. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  74. - new upstream release
  75. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.22-1
  76. - initial build for Vine Linux
  77. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1
  78. - Update to latest release
  79. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.20-1
  80. - New release
  81. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2
  82. - Apply patch to fix extensions loading on 64bit systems
  83. * Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  84. - Update to 0.0.18
  85. * Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  86. - Update to 0.0.16 release
  87. - License change from GPLv2+ to GPLv3+
  88. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn
  89. - Update the License field
  90. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn
  91. - Package the extension libraries in the main package
  92. - Run 'make check'
  93. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn
  94. - Ensure timestamps are kept during install
  95. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.2.20071011svn
  96. - Remove the use of inexistent source url (Package reviews)
  97. - Package the html docs
  98. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.1.20071011svn
  99. - Initial packaging for Fedora