[11802] | 1 | %define VER 0.4 |
---|
| 2 | |
---|
| 3 | Summary: A graph based image processing framework |
---|
| 4 | Summary(ja): グラフベースの画像処理フレームワーク |
---|
| 5 | Name: gegl04 |
---|
[12005] | 6 | Version: 0.4.12 |
---|
[11802] | 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/ |
---|
[12005] | 12 | Source0: https://download.gimp.org/pub/gegl/%{VER}/gegl-%{version}.tar.bz2 |
---|
[11802] | 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.56 |
---|
| 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 | |
---|
[12005] | 41 | Obsoletes: gegl < 0.4 |
---|
| 42 | Obsoletes: gegl03 < 0.4 |
---|
| 43 | Provides: gegl = %{version}-%{release} |
---|
[11802] | 44 | |
---|
| 45 | Vendor: Project Vine |
---|
| 46 | Distribution: Vine Linux |
---|
| 47 | |
---|
| 48 | %description |
---|
| 49 | GEGL (Generic Graphics Library) is a graph based image processing framework. |
---|
| 50 | GEGLs original design was made to scratch GIMPs itches for a new |
---|
| 51 | compositing and processing core. This core is being designed to have |
---|
| 52 | minimal dependencies. and a simple well defined API. |
---|
| 53 | |
---|
| 54 | %package devel |
---|
| 55 | Summary: Development files for %{name} |
---|
| 56 | Summary(ja): %{name} の開発ファイル |
---|
| 57 | Group: Development/Libraries |
---|
| 58 | Requires: %{name} = %{version}-%{release} |
---|
| 59 | Requires: pkgconfig babl-devel glib2-devel |
---|
[12005] | 60 | Obsoletes: gegl-devel < 0.4 |
---|
| 61 | Obsoletes: gegl03-devel < 0.4 |
---|
| 62 | Provides: gegl-devel = %{version}-%{release} |
---|
[11802] | 63 | |
---|
| 64 | %description devel |
---|
| 65 | This package contains the libraries and header files needed for |
---|
| 66 | developing with %{name}. |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %prep |
---|
[12005] | 70 | %setup -q -n gegl-%{version} |
---|
[11802] | 71 | |
---|
| 72 | %build |
---|
| 73 | ./autogen.sh |
---|
| 74 | %{configure} --disable-static |
---|
| 75 | %{__make} %{?_smp_mflags} |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | %{__make} DESTDIR=${RPM_BUILD_ROOT} install INSTALL='install -p' |
---|
| 80 | |
---|
| 81 | find ${RPM_BUILD_ROOT} -name '*.la' -delete |
---|
| 82 | |
---|
| 83 | %find_lang gegl-%{VER} |
---|
| 84 | |
---|
| 85 | %clean |
---|
| 86 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 87 | |
---|
| 88 | %post -p %{_syssbindir}/ldconfig |
---|
| 89 | |
---|
| 90 | %postun -p %{_syssbindir}/ldconfig |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | %files -f gegl-%{VER}.lang |
---|
| 94 | %defattr(-, root, root, -) |
---|
[12005] | 95 | %license COPYING COPYING.LESSER |
---|
| 96 | %doc AUTHORS MAINTAINERS |
---|
[11802] | 97 | %doc docs/ChangeLog docs/NEWS.txt |
---|
[12005] | 98 | %{_bindir}/* |
---|
[11802] | 99 | %{_libdir}/libgegl-%{VER}.so.* |
---|
| 100 | %{_libdir}/libgegl-npd-%{VER}.so |
---|
| 101 | %{_libdir}/libgegl-sc-%{VER}.so |
---|
| 102 | %{_libdir}/gegl-%{VER} |
---|
| 103 | %{_libdir}/girepository-1.0/Gegl-%{VER}.typelib |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-, root, root, -) |
---|
| 107 | %{_includedir}/gegl-%{VER} |
---|
| 108 | %{_libdir}/libgegl-%{VER}.so |
---|
| 109 | %{_libdir}/pkgconfig/gegl-%{VER}.pc |
---|
| 110 | %{_libdir}/pkgconfig/gegl-sc-%{VER}.pc |
---|
| 111 | %{_datadir}/gir-1.0/Gegl-%{VER}.gir |
---|
[12005] | 112 | %{_datadir}/gtk-doc/html/* |
---|
[11802] | 113 | |
---|
| 114 | |
---|
| 115 | %changelog |
---|
[12005] | 116 | * Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.12-1 |
---|
| 117 | - new upstream release. |
---|
| 118 | - added O:gegl{,03}{,-devel}: none required. |
---|
| 119 | |
---|
[11802] | 120 | * Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.4.8-1 |
---|
| 121 | - initial build |
---|
| 122 | |
---|