gegl-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. %define VER 0.2
  2. Summary: A graph based image processing framework
  3. Summary(ja): グラフベースの画像処理フレームワーク
  4. Name: gegl
  5. Version: 0.2.0
  6. Release: 4%{?_dist_release}
  7. # The binary is under the GPL, while the libs are under LGPL
  8. License: LGPLv3+ and GPLv3+
  9. Group: System Environment/Libraries
  10. URL: http://www.gegl.org/
  11. Source0: ftp://ftp.gtk.org/pub/gegl/%{VER}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: babl-devel >= 0.1.10
  14. BuildRequires: glib2-devel
  15. BuildRequires: gdk-pixbuf2-devel
  16. BuildRequires: pango-devel
  17. BuildRequires: ruby
  18. BuildRequires: libpng-devel
  19. BuildRequires: libjpeg-devel
  20. BuildRequires: librsvg2-devel
  21. BuildRequires: perl
  22. BuildRequires: SDL-devel
  23. BuildRequires: OpenEXR-devel
  24. BuildRequires: lua-devel
  25. BuildRequires: asciidoc
  26. BuildRequires: enscript
  27. BuildRequires: w3m
  28. BuildRequires: graphviz
  29. BuildRequires: pkgconfig
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. %description
  33. GEGL (Generic Graphics Library) is a graph based image processing framework.
  34. GEGLs original design was made to scratch GIMPs itches for a new
  35. compositing and processing core. This core is being designed to have
  36. minimal dependencies. and a simple well defined API.
  37. %package devel
  38. Summary: Development files for %{name}
  39. Summary(ja): %{name} の開発ファイル
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: pkgconfig babl-devel glib2-devel
  43. %description devel
  44. This package contains the libraries and header files needed for
  45. developing with %{name}.
  46. %prep
  47. %setup -q
  48. chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
  49. %build
  50. # Needed by Ruby 1.9.3.
  51. export LANG=en_US.utf8
  52. %ifnarch ppc64
  53. %configure --disable-static --enable-workshop
  54. %else
  55. %configure --disable-static --enable-workshop --disable-docs
  56. %endif
  57. make %{?_smp_mflags}
  58. %install
  59. rm -rf %{buildroot}
  60. make DESTDIR=%{buildroot} install INSTALL='install -p'
  61. rm -f %{buildroot}%{_libdir}/*.la
  62. %find_lang %{name}-%{VER}
  63. %check
  64. pushd tests/compositions
  65. rm -f run-clones.xml.sh
  66. cat << EOF > run-clones.xml.sh
  67. #!/bin/sh
  68. echo Skipping test "run-clones.xml.sh"
  69. EOF
  70. chmod 755 run-clones.xml.sh
  71. popd
  72. make check
  73. %clean
  74. rm -rf %{buildroot}
  75. %post -p /sbin/ldconfig
  76. %postun -p /sbin/ldconfig
  77. %files -f %{name}-%{VER}.lang
  78. %defattr(-, root, root, -)
  79. %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
  80. %{_bindir}/gegl
  81. %{_libdir}/*.so.*
  82. %{_libdir}/gegl-%{VER}
  83. %files devel
  84. %defattr(-, root, root, -)
  85. %ifnarch ppc64
  86. %doc %{_datadir}/gtk-doc/html/%{name}
  87. %endif
  88. %{_includedir}/gegl-%{VER}
  89. %{_libdir}/*.so
  90. %{_libdir}/pkgconfig/%{name}-%{VER}.pc
  91. %changelog
  92. * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.2.0-4
  93. - rebuilt with OpenEXR 2.2.0
  94. * Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-3
  95. - rebuild with libpng-1.6.12
  96. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2
  97. - rebuild with VineSeed environment
  98. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  99. - new upstream release
  100. - remove old patches
  101. * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1
  102. - new upstream release
  103. - update patches
  104. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2
  105. - rebuilt with rpm-4.8.1-3
  106. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
  107. - new upstream release
  108. - add Patch0 and Patch1 from FC package
  109. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1
  110. - initial build for Vine Linux
  111. * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
  112. - Update to latest release
  113. * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
  114. - New release
  115. * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117
  116. - Update to a svn snapshot for gnome-scan
  117. - Apply patch to fix extensions loading on 64bit systems
  118. - Building the docs on ppc64 segfaults, avoid it for now.
  119. * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1
  120. - Update to 0.0.14 release
  121. - License change from GPLv2+ to GPLv3+
  122. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn
  123. - Include missing requires for the devel subpackage
  124. * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn
  125. - BR graphiz instead of graphiz-devel
  126. - Remove the spurious exec flag from a couple of source codes
  127. * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn
  128. - Fix missing directory ownership
  129. * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn
  130. - Update the License field
  131. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.20071011svn
  132. - Package the extension libraries in the main package
  133. - Run 'make check'
  134. * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.2.20071011svn
  135. - Remove the use of inexistent source
  136. * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn
  137. - Initial packaging for Fedora