gegl-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. Summary: A graph based image processing framework
  2. Summary(ja): グラフベースの画像処理フレームワーク
  3. Name: gegl
  4. Version: 0.1.2
  5. Release: 2%{?_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 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  73. - rebuilt with rpm-4.8.1-3
  74. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  75. - new upstream release
  76. - add Patch0 and Patch1 from FC package
  77. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1
  78. - initial build for Vine Linux
  79. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  80. - Update to latest release
  81. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  82. - New release
  83. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117
  84. - Update to a svn snapshot for gnome-scan
  85. - Apply patch to fix extensions loading on 64bit systems
  86. - Building the docs on ppc64 segfaults, avoid it for now.
  87. * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1
  88. - Update to 0.0.14 release
  89. - License change from GPLv2+ to GPLv3+
  90. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn
  91. - Include missing requires for the devel subpackage
  92. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn
  93. - BR graphiz instead of graphiz-devel
  94. - Remove the spurious exec flag from a couple of source codes
  95. * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn
  96. - Fix missing directory ownership
  97. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn
  98. - Update the License field
  99. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.20071011svn
  100. - Package the extension libraries in the main package
  101. - Run 'make check'
  102. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.2.20071011svn
  103. - Remove the use of inexistent source
  104. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn
  105. - Initial packaging for Fedora