1 | Summary: A graph based image processing framework |
---|
2 | Summary(ja): グラフベースの画像処理フレームワーク |
---|
3 | Name: gegl |
---|
4 | Version: 0.1.6 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | # The binary is under the GPL, while the libs are under LGPL |
---|
7 | License: LGPLv3+ and GPLv3+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: http://www.gegl.org/ |
---|
10 | Source0: ftp://ftp.gtk.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | # backported, stripped down git commit 36f1e514acd32152dfee7c09d0e5a4e022a5a543 |
---|
13 | # "Fix erroneous use of $(DESTDIR)." |
---|
14 | Patch0: gegl-0.1.6-destdir.patch |
---|
15 | # backported git commit 4439c947c25ead3073fc3cb00b03fbfc0914e81a |
---|
16 | # "Check if aux_rect is NULL before dereferencing" |
---|
17 | Patch1: gegl-0.1.6-hstack.patch |
---|
18 | # rebuilt autofoo files due to the above |
---|
19 | Patch100: gegl-0.1.6-autoreconf.patch |
---|
20 | |
---|
21 | Patch500: gegl-0.1.6-ppc-check-vine.patch |
---|
22 | |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
24 | BuildRequires: babl-devel gtk2-devel ruby |
---|
25 | BuildRequires: libpng-devel libjpeg-devel librsvg2-devel |
---|
26 | BuildRequires: perl SDL-devel OpenEXR-devel lua-devel |
---|
27 | BuildRequires: asciidoc enscript w3m graphviz pkgconfig |
---|
28 | |
---|
29 | %description |
---|
30 | GEGL (Generic Graphics Library) is a graph based image processing framework. |
---|
31 | GEGLs original design was made to scratch GIMPs itches for a new |
---|
32 | compositing and processing core. This core is being designed to have |
---|
33 | minimal dependencies. and a simple well defined API. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for %{name} |
---|
37 | Summary(ja): %{name} の開発ファイル |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: pkgconfig babl-devel glib2-devel |
---|
41 | |
---|
42 | %description devel |
---|
43 | This package contains the libraries and header files needed for |
---|
44 | developing with %{name}. |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q |
---|
48 | %patch0 -p1 -b .destdir |
---|
49 | %patch1 -p1 -b .hstack |
---|
50 | |
---|
51 | %patch100 -p1 -b .autoreconf |
---|
52 | |
---|
53 | %ifarch ppc |
---|
54 | %patch500 -p1 -b .ppc_check |
---|
55 | %endif |
---|
56 | |
---|
57 | chmod -x operations/external/ff-load.c operations/common/perlin/perlin.* |
---|
58 | |
---|
59 | %build |
---|
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 | |
---|
67 | %install |
---|
68 | rm -rf %{buildroot} |
---|
69 | make DESTDIR=%{buildroot} install INSTALL='install -p' |
---|
70 | |
---|
71 | rm -f %{buildroot}%{_libdir}/*.la |
---|
72 | |
---|
73 | %check |
---|
74 | make check |
---|
75 | |
---|
76 | %clean |
---|
77 | rm -rf %{buildroot} |
---|
78 | |
---|
79 | %post -p /sbin/ldconfig |
---|
80 | |
---|
81 | %postun -p /sbin/ldconfig |
---|
82 | |
---|
83 | %files |
---|
84 | %defattr(-, root, root, -) |
---|
85 | %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README |
---|
86 | %{_bindir}/gegl |
---|
87 | %{_libdir}/*.so.* |
---|
88 | %{_libdir}/gegl-0.1/ |
---|
89 | |
---|
90 | %files devel |
---|
91 | %defattr(-, root, root, -) |
---|
92 | %ifnarch ppc64 |
---|
93 | %doc %{_datadir}/gtk-doc/html/%{name} |
---|
94 | %endif |
---|
95 | %{_includedir}/gegl-0.1/ |
---|
96 | %{_libdir}/*.so |
---|
97 | %{_libdir}/pkgconfig/%{name}.pc |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1 |
---|
101 | - new upstream release |
---|
102 | - update patches |
---|
103 | |
---|
104 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2 |
---|
105 | - rebuilt with rpm-4.8.1-3 |
---|
106 | |
---|
107 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1 |
---|
108 | - new upstream release |
---|
109 | - add Patch0 and Patch1 from FC package |
---|
110 | |
---|
111 | * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1 |
---|
112 | - initial build for Vine Linux |
---|
113 | |
---|
114 | * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1 |
---|
115 | - Update to latest release |
---|
116 | |
---|
117 | * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1 |
---|
118 | - New release |
---|
119 | |
---|
120 | * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117 |
---|
121 | - Update to a svn snapshot for gnome-scan |
---|
122 | - Apply patch to fix extensions loading on 64bit systems |
---|
123 | - Building the docs on ppc64 segfaults, avoid it for now. |
---|
124 | |
---|
125 | * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1 |
---|
126 | - Update to 0.0.14 release |
---|
127 | - License change from GPLv2+ to GPLv3+ |
---|
128 | |
---|
129 | * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn |
---|
130 | - Include missing requires for the devel subpackage |
---|
131 | |
---|
132 | * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn |
---|
133 | - BR graphiz instead of graphiz-devel |
---|
134 | - Remove the spurious exec flag from a couple of source codes |
---|
135 | |
---|
136 | * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn |
---|
137 | - Fix missing directory ownership |
---|
138 | |
---|
139 | * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn |
---|
140 | - Update the License field |
---|
141 | |
---|
142 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.20071011svn |
---|
143 | - Package the extension libraries in the main package |
---|
144 | - Run 'make check' |
---|
145 | |
---|
146 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.2.20071011svn |
---|
147 | - Remove the use of inexistent source |
---|
148 | |
---|
149 | * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn |
---|
150 | - Initial packaging for Fedora |
---|