1 |
%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 |
Release: %mkrel 2 |
9 |
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 |
%if %mdkversion < 200900 |
87 |
%post -n %{libname} -p /sbin/ldconfig |
88 |
%postun -n %{libname} -p /sbin/ldconfig |
89 |
%endif |
90 |
|
91 |
%files |
92 |
%defattr(-,root,root) |
93 |
%_bindir/gegl |
94 |
|
95 |
%files -n %{libname} |
96 |
%defattr(-,root,root) |
97 |
%doc README AUTHORS NEWS |
98 |
%_libdir/libgegl-%{api}.so.%{major}* |
99 |
%_libdir/gegl-%{api}/ |
100 |
|
101 |
%files -n %{develname} |
102 |
%defattr(-,root,root) |
103 |
%doc ChangeLog |
104 |
%doc %{_datadir}/gtk-doc/html/%{name} |
105 |
%_libdir/*.so |
106 |
%_libdir/*.la |
107 |
%_includedir/gegl-%{api}/ |
108 |
%_libdir/pkgconfig/%{name}.pc |
109 |
|
110 |
|
111 |
|