gegl03-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define VER 0.3
  2. Summary: A graph based image processing framework
  3. Summary(ja): グラフベースの画像処理フレームワーク
  4. Name: gegl03
  5. Version: 0.3.8
  6. Release: 1%{?_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}/gegl-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: glib2-devel
  14. BuildRequires: gdk-pixbuf2-devel
  15. BuildRequires: pango-devel
  16. BuildRequires: babl-devel >= 0.1.12
  17. BuildRequires: json-glib-devel
  18. BuildRequires: perl
  19. BuildRequires: ruby
  20. BuildRequires: exiv2-devel
  21. BuildRequires: libgexiv2-devel
  22. BuildRequires: lcms2-devel
  23. BuildRequires: libpng-devel
  24. BuildRequires: libjpeg-devel
  25. BuildRequires: librsvg2-devel
  26. BuildRequires: libtiff-devel
  27. BuildRequires: libwebp-devel
  28. BuildRequires: LibRaw-devel
  29. BuildRequires: jasper-devel
  30. BuildRequires: lensfun-devel
  31. BuildRequires: asciidoc
  32. BuildRequires: SDL-devel
  33. BuildRequires: OpenEXR-devel
  34. BuildRequires: lua-devel
  35. BuildRequires: enscript
  36. BuildRequires: w3m
  37. BuildRequires: graphviz
  38. Vendor: Project Vine
  39. Distribution: Vine Linux
  40. %description
  41. GEGL (Generic Graphics Library) is a graph based image processing framework.
  42. GEGLs original design was made to scratch GIMPs itches for a new
  43. compositing and processing core. This core is being designed to have
  44. minimal dependencies. and a simple well defined API.
  45. %package devel
  46. Summary: Development files for %{name}
  47. Summary(ja): %{name} の開発ファイル
  48. Group: Development/Libraries
  49. Requires: %{name} = %{version}-%{release}
  50. Requires: pkgconfig babl-devel glib2-devel
  51. %description devel
  52. This package contains the libraries and header files needed for
  53. developing with %{name}.
  54. %prep
  55. %setup -q -n gegl-%{version}
  56. chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
  57. %build
  58. # Needed by Ruby 1.9.3.
  59. export LANG=en_US.utf8
  60. %ifnarch ppc64
  61. %configure --disable-static --enable-workshop
  62. %else
  63. %configure --disable-static --enable-workshop --disable-docs
  64. %endif
  65. make %{?_smp_mflags}
  66. %install
  67. rm -rf %{buildroot}
  68. make DESTDIR=%{buildroot} install INSTALL='install -p'
  69. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  70. # conflict with gegl-0.2
  71. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
  72. rm -rf $RPM_BUILD_ROOT%{_bindir}
  73. %find_lang gegl-%{VER}
  74. %clean
  75. rm -rf %{buildroot}
  76. %post -p /sbin/ldconfig
  77. %postun -p /sbin/ldconfig
  78. %files -f gegl-%{VER}.lang
  79. %defattr(-, root, root, -)
  80. %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
  81. %{_libdir}/libgegl-%{VER}.so.*
  82. %{_libdir}/libgegl-npd-%{VER}.so
  83. %{_libdir}/libgegl-sc-%{VER}.so
  84. %{_libdir}/gegl-%{VER}
  85. %{_libdir}/girepository-1.0/Gegl-%{VER}.typelib
  86. %files devel
  87. %defattr(-, root, root, -)
  88. %{_includedir}/gegl-%{VER}
  89. %{_libdir}/libgegl-%{VER}.so
  90. %{_libdir}/pkgconfig/gegl-%{VER}.pc
  91. %{_libdir}/pkgconfig/gegl-sc-%{VER}.pc
  92. %{_datadir}/gir-1.0/Gegl-%{VER}.gir
  93. %changelog
  94. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1
  95. - initial build