babl-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Summary: A dynamic, any to any, pixel format conversion library
  2. Name: babl
  3. Version: 0.1.56
  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. #'
  18. %package devel
  19. Summary: Headers for developing programs that will use %{name}
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. This package contains the libraries and header files needed for
  25. developing with %{name}.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. %{__make} %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf %{buildroot}
  33. %{__make} DESTDIR=%{buildroot} install INSTALL='install -p'
  34. %{__mkdir_p} babl_docs babl_docs/html
  35. %{__cp} -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
  36. %{__rm} -rf babl_docs/html/graphics/Makefile*
  37. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  38. %check
  39. pushd tests
  40. %{__rm} -f concurrency-stress-test
  41. cat << EOF > concurrency-stress-test
  42. #!/bin/sh
  43. echo Skipping test concurrency-stress-test
  44. EOF
  45. chmod +x concurrency-stress-test
  46. popd
  47. make check
  48. %clean
  49. %{__rm} -rf %{buildroot}
  50. %post -p %{_syssbindir}/ldconfig
  51. %postun -p %{_syssbindir}/ldconfig
  52. %files
  53. %defattr(-, root, root, -)
  54. %doc AUTHORS COPYING README NEWS
  55. %{_libdir}/*.so.*
  56. %{_libdir}/babl-0.1/
  57. %files devel
  58. %defattr(-, root, root, -)
  59. %doc babl_docs/html
  60. %{_includedir}/babl-0.1/babl/
  61. %{_libdir}/*.so
  62. %{_libdir}/pkgconfig/%{name}.pc
  63. %changelog
  64. * Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.1.56-1
  65. - new upstream release
  66. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
  67. - new upstream release
  68. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-3
  69. - remove *.la files
  70. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-2
  71. - rebuild with VineSeed environment
  72. - fix %%check (based on fedora package)
  73. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-1
  74. - new upstream release
  75. - remove BuildRequires: inkscape, ruby
  76. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  77. - new upstream release
  78. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  79. - rebuilt with rpm-4.8.1-3
  80. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  81. - new upstream release
  82. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.22-1
  83. - initial build for Vine Linux
  84. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1
  85. - Update to latest release
  86. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.20-1
  87. - New release
  88. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2
  89. - Apply patch to fix extensions loading on 64bit systems
  90. * Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  91. - Update to 0.0.18
  92. * Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  93. - Update to 0.0.16 release
  94. - License change from GPLv2+ to GPLv3+
  95. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn
  96. - Update the License field
  97. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn
  98. - Package the extension libraries in the main package
  99. - Run 'make check'
  100. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn
  101. - Ensure timestamps are kept during install
  102. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.2.20071011svn
  103. - Remove the use of inexistent source url (Package reviews)
  104. - Package the html docs
  105. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.1.20071011svn
  106. - Initial packaging for Fedora