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