gegl-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: A graph based image processing framework
  2. Summary(ja): グラフベースの画像処理フレームワーク
  3. Name: gegl
  4. Version: 0.1.2
  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 git commit fc207f85521c3939600bd3e5a337c6ed2dfaa950
  12. # "process: don't leak each node set on a GeglProcessor"
  13. Patch0: gegl-0.1.2-processor-leak.patch
  14. # avoid buffer overflow in gegl_buffer_header_init()
  15. Patch1: gegl-0.1.2-buffer-save-overflow.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: babl-devel gtk2-devel ruby
  18. BuildRequires: libpng-devel libjpeg-devel librsvg2-devel
  19. BuildRequires: perl SDL-devel OpenEXR-devel lua-devel
  20. BuildRequires: asciidoc enscript w3m graphviz pkgconfig
  21. %description
  22. GEGL (Generic Graphics Library) is a graph based image processing framework.
  23. GEGLs original design was made to scratch GIMPs itches for a new
  24. compositing and processing core. This core is being designed to have
  25. minimal dependencies. and a simple well defined API.
  26. %package devel
  27. Summary: Development files for %{name}
  28. Summary(ja): %{name} の開発ファイル
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig babl-devel glib2-devel
  32. %description devel
  33. This package contains the libraries and header files needed for
  34. developing with %{name}.
  35. %prep
  36. %setup -q
  37. chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
  38. %patch0 -p1 -b .processor-leak
  39. %patch1 -p1 -b .buffer-save-overflow
  40. %build
  41. %ifnarch ppc64
  42. %configure --disable-static --enable-workshop
  43. %else
  44. %configure --disable-static --enable-workshop --disable-docs
  45. %endif
  46. make %{?_smp_mflags}
  47. %install
  48. rm -rf %{buildroot}
  49. make DESTDIR=%{buildroot} install INSTALL='install -p'
  50. rm -f %{buildroot}%{_libdir}/*.la
  51. %check
  52. make check
  53. %clean
  54. rm -rf %{buildroot}
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-, root, root, -)
  59. %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
  60. %{_bindir}/gegl
  61. %{_libdir}/*.so.*
  62. %{_libdir}/gegl-0.1/
  63. %files devel
  64. %defattr(-, root, root, -)
  65. %{_includedir}/gegl-0.1/
  66. %{_libdir}/*.so
  67. %{_libdir}/pkgconfig/%{name}.pc
  68. %ifnarch ppc64
  69. %doc %{_datadir}/gtk-doc/html/gegl/
  70. %endif
  71. %changelog
  72. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  73. - new upstream release
  74. - add Patch0 and Patch1 from FC package
  75. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1
  76. - initial build for Vine Linux
  77. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  78. - Update to latest release
  79. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  80. - New release
  81. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117
  82. - Update to a svn snapshot for gnome-scan
  83. - Apply patch to fix extensions loading on 64bit systems
  84. - Building the docs on ppc64 segfaults, avoid it for now.
  85. * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1
  86. - Update to 0.0.14 release
  87. - License change from GPLv2+ to GPLv3+
  88. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn
  89. - Include missing requires for the devel subpackage
  90. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn
  91. - BR graphiz instead of graphiz-devel
  92. - Remove the spurious exec flag from a couple of source codes
  93. * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn
  94. - Fix missing directory ownership
  95. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn
  96. - Update the License field
  97. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.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.13-0.2.20071011svn
  101. - Remove the use of inexistent source
  102. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn
  103. - Initial packaging for Fedora