gegl-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. Summary: A graph based image processing framework
  2. Summary(ja): グラフベースの画像処理フレームワーク
  3. Name: gegl
  4. Version: 0.1.6
  5. Release: 1%{?_dist_release}
  6. # The binary is under the GPL, while the libs are under LGPL
  7. License: LGPLv3+ and GPLv3+
  8. Group: System Environment/Libraries
  9. URL: http://www.gegl.org/
  10. Source0: ftp://ftp.gtk.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2
  11. # backported, stripped down git commit 36f1e514acd32152dfee7c09d0e5a4e022a5a543
  12. # "Fix erroneous use of $(DESTDIR)."
  13. Patch0: gegl-0.1.6-destdir.patch
  14. # backported git commit 4439c947c25ead3073fc3cb00b03fbfc0914e81a
  15. # "Check if aux_rect is NULL before dereferencing"
  16. Patch1: gegl-0.1.6-hstack.patch
  17. # rebuilt autofoo files due to the above
  18. Patch100: gegl-0.1.6-autoreconf.patch
  19. Patch500: gegl-0.1.6-ppc-check-vine.patch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  21. BuildRequires: babl-devel gtk2-devel ruby
  22. BuildRequires: libpng-devel libjpeg-devel librsvg2-devel
  23. BuildRequires: perl SDL-devel OpenEXR-devel lua-devel
  24. BuildRequires: asciidoc enscript w3m graphviz pkgconfig
  25. %description
  26. GEGL (Generic Graphics Library) is a graph based image processing framework.
  27. GEGLs original design was made to scratch GIMPs itches for a new
  28. compositing and processing core. This core is being designed to have
  29. minimal dependencies. and a simple well defined API.
  30. %package devel
  31. Summary: Development files for %{name}
  32. Summary(ja): %{name} の開発ファイル
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig babl-devel glib2-devel
  36. %description devel
  37. This package contains the libraries and header files needed for
  38. developing with %{name}.
  39. %prep
  40. %setup -q
  41. %patch0 -p1 -b .destdir
  42. %patch1 -p1 -b .hstack
  43. %patch100 -p1 -b .autoreconf
  44. %ifarch ppc
  45. %patch500 -p1 -b .ppc_check
  46. %endif
  47. chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
  48. %build
  49. %ifnarch ppc64
  50. %configure --disable-static --enable-workshop
  51. %else
  52. %configure --disable-static --enable-workshop --disable-docs
  53. %endif
  54. make %{?_smp_mflags}
  55. %install
  56. rm -rf %{buildroot}
  57. make DESTDIR=%{buildroot} install INSTALL='install -p'
  58. rm -f %{buildroot}%{_libdir}/*.la
  59. %check
  60. make check
  61. %clean
  62. rm -rf %{buildroot}
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-, root, root, -)
  67. %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
  68. %{_bindir}/gegl
  69. %{_libdir}/*.so.*
  70. %{_libdir}/gegl-0.1/
  71. %files devel
  72. %defattr(-, root, root, -)
  73. %ifnarch ppc64
  74. %doc %{_datadir}/gtk-doc/html/%{name}
  75. %endif
  76. %{_includedir}/gegl-0.1/
  77. %{_libdir}/*.so
  78. %{_libdir}/pkgconfig/%{name}.pc
  79. %changelog
  80. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1
  81. - new upstream release
  82. - update patches
  83. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  84. - rebuilt with rpm-4.8.1-3
  85. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  86. - new upstream release
  87. - add Patch0 and Patch1 from FC package
  88. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1
  89. - initial build for Vine Linux
  90. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  91. - Update to latest release
  92. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  93. - New release
  94. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117
  95. - Update to a svn snapshot for gnome-scan
  96. - Apply patch to fix extensions loading on 64bit systems
  97. - Building the docs on ppc64 segfaults, avoid it for now.
  98. * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1
  99. - Update to 0.0.14 release
  100. - License change from GPLv2+ to GPLv3+
  101. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn
  102. - Include missing requires for the devel subpackage
  103. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn
  104. - BR graphiz instead of graphiz-devel
  105. - Remove the spurious exec flag from a couple of source codes
  106. * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn
  107. - Fix missing directory ownership
  108. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn
  109. - Update the License field
  110. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.20071011svn
  111. - Package the extension libraries in the main package
  112. - Run 'make check'
  113. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.2.20071011svn
  114. - Remove the use of inexistent source
  115. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn
  116. - Initial packaging for Fedora