1 |
ahmad |
24755 |
%define major 0 |
2 |
|
|
%define api 0.1 |
3 |
|
|
%define libname %mklibname %{name} %{api}_%{major} |
4 |
|
|
%define develname %mklibname -d %{name} %{api} |
5 |
|
|
|
6 |
|
|
Name: gegl |
7 |
|
|
Version: 0.1.2 |
8 |
ahmad |
24764 |
Release: %mkrel 3 |
9 |
ahmad |
24755 |
Summary: GEGL (Generic Graphics Library) - graph based image processing framework |
10 |
|
|
Group: System/Libraries |
11 |
|
|
License: LGPLv3+ |
12 |
|
|
URL: http://www.gegl.org/ |
13 |
|
|
Source0: ftp://ftp.gimp.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2 |
14 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
15 |
|
|
|
16 |
|
|
BuildRequires: babl-devel >= 0.1.2 |
17 |
|
|
BuildRequires: glib2-devel |
18 |
|
|
BuildRequires: png-devel |
19 |
|
|
BuildRequires: pango-devel |
20 |
|
|
BuildRequires: imagemagick |
21 |
|
|
BuildRequires: ruby |
22 |
|
|
BuildRequires: librsvg2-devel |
23 |
|
|
BuildRequires: OpenEXR-devel |
24 |
|
|
BuildRequires: lua-devel |
25 |
|
|
BuildRequires: enscript |
26 |
|
|
BuildRequires: graphviz |
27 |
|
|
BuildRequires: gtk2-devel |
28 |
|
|
BuildRequires: SDL-devel |
29 |
|
|
BuildRequires: libopenraw-devel |
30 |
|
|
#gw warning: this needs the deprecated libavcodec scaler (img_convert,...) |
31 |
|
|
BuildRequires: ffmpeg-devel |
32 |
|
|
BuildRequires: jpeg-devel |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
%description |
36 |
|
|
GEGL (Generic Graphics Library) is a graph based image processing |
37 |
|
|
framework. |
38 |
|
|
|
39 |
|
|
GEGLs original design was made to scratch GIMPs itches for a new |
40 |
|
|
compositing and processing core. This core is being designed to |
41 |
|
|
have minimal dependencies. and a simple well defined API. |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
%package -n %{libname} |
45 |
|
|
Summary: A library for %name |
46 |
|
|
Group: System/Libraries |
47 |
|
|
|
48 |
|
|
%description -n %{libname} |
49 |
|
|
GEGL (Generic Graphics Library) is a graph based image processing |
50 |
|
|
framework. |
51 |
|
|
|
52 |
|
|
GEGLs original design was made to scratch GIMPs itches for a new |
53 |
|
|
compositing and processing core. This core is being designed to |
54 |
|
|
have minimal dependencies. and a simple well defined API. |
55 |
|
|
|
56 |
|
|
%package -n %{develname} |
57 |
|
|
Summary: Header files for %name |
58 |
|
|
Group: Development/C |
59 |
|
|
Requires: %{libname} = %{version}-%{release} |
60 |
|
|
Provides: lib%{name}-devel = %{version}-%{release} |
61 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
62 |
|
|
Obsoletes: %{_lib}%{name}-devel |
63 |
|
|
|
64 |
|
|
%description -n %{develname} |
65 |
|
|
GEGL (Generic Graphics Library) is a graph based image processing |
66 |
|
|
framework. |
67 |
|
|
|
68 |
|
|
GEGLs original design was made to scratch GIMPs itches for a new |
69 |
|
|
compositing and processing core. This core is being designed to |
70 |
|
|
have minimal dependencies. and a simple well defined API. |
71 |
|
|
|
72 |
|
|
%prep |
73 |
|
|
%setup -q |
74 |
|
|
|
75 |
|
|
%build |
76 |
|
|
%configure2_5x --enable-workshop |
77 |
|
|
%make |
78 |
|
|
|
79 |
|
|
%install |
80 |
|
|
rm -rf %buildroot |
81 |
|
|
%makeinstall_std |
82 |
|
|
|
83 |
|
|
%clean |
84 |
|
|
rm -fr %buildroot |
85 |
|
|
|
86 |
|
|
%files |
87 |
|
|
%defattr(-,root,root) |
88 |
|
|
%_bindir/gegl |
89 |
|
|
|
90 |
|
|
%files -n %{libname} |
91 |
|
|
%defattr(-,root,root) |
92 |
|
|
%doc README AUTHORS NEWS |
93 |
|
|
%_libdir/libgegl-%{api}.so.%{major}* |
94 |
|
|
%_libdir/gegl-%{api}/ |
95 |
|
|
|
96 |
|
|
%files -n %{develname} |
97 |
|
|
%defattr(-,root,root) |
98 |
|
|
%doc ChangeLog |
99 |
|
|
%doc %{_datadir}/gtk-doc/html/%{name} |
100 |
|
|
%_libdir/*.so |
101 |
|
|
%_libdir/*.la |
102 |
|
|
%_includedir/gegl-%{api}/ |
103 |
|
|
%_libdir/pkgconfig/%{name}.pc |
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|