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