]>
Commit | Line | Data |
---|---|---|
518498c4 | 1 | # |
2 | Summary: Generic image processing library | |
3 | Name: gegl | |
4 | Version: 0.0.12 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: ftp://ftp.gtk.org/pub/gegl/0.0/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: dda7513cb4ab4b62528a9822e5c5751b | |
10 | Patch0: %{name}-build.patch | |
11 | URL: http://www.gegl.org/gegl/ | |
12 | BuildRequires: OpenEXR-devel | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: babl-devel | |
16 | BuildRequires: cairo-devel | |
17 | BuildRequires: glib2-devel | |
18 | BuildRequires: gtk+2-devel | |
19 | BuildRequires: libjpeg-devel | |
20 | BuildRequires: libpng-devel | |
21 | BuildRequires: librsvg-devel | |
22 | BuildRequires: pango-devel | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | GEGL (Generic Graphics Library) is a graph based image processing | |
27 | framework. | |
28 | ||
29 | GEGLs original design was made to scratch GIMPs itches for a new | |
30 | compositing and processing core. This core is being designed to have | |
31 | minimal dependencies. and a simple well defined API. | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for gegl library | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gegl | |
36 | Group: Development/Libraries | |
37 | # if base package contains shared library for which these headers are | |
38 | #Requires: %{name} = %{version}-%{release} | |
39 | # if -libs package contains shared library for which these headers are | |
40 | #Requires: %{name}-libs = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | Header files for gegl library. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki nagłówkowe biblioteki gegl. | |
47 | ||
48 | %package static | |
49 | Summary: Static gegl library | |
50 | Summary(pl.UTF-8): Statyczna biblioteka gegl | |
51 | Group: Development/Libraries | |
52 | Requires: %{name}-devel = %{version}-%{release} | |
53 | ||
54 | %description static | |
55 | Static gegl library. | |
56 | ||
57 | %description static -l pl.UTF-8 | |
58 | Statyczna biblioteka gegl. | |
59 | ||
60 | %prep | |
61 | %setup -q | |
62 | %patch0 -p1 | |
63 | ||
64 | %build | |
65 | %{__aclocal} | |
66 | %{__autoconf} | |
67 | %{__automake} | |
68 | %configure | |
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post -p /sbin/ldconfig | |
81 | %postun -p /sbin/ldconfig | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog NEWS README | |
86 | %attr(755,root,root) %{_bindir}/gegl | |
87 | %dir %{_libdir}/gegl-* | |
88 | %{_libdir}/gegl-*/*.so | |
89 | %attr(755,root,root) %{_libdir}/libgegl-*.so.*.*.* | |
90 | ||
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
93 | %{_includedir}/gegl-* | |
94 | %{_libdir}/libgegl-*.la | |
95 | %{_libdir}/libgegl-*.so | |
96 | %{_pkgconfigdir}/gegl.pc | |
97 | ||
98 | %files static | |
99 | %defattr(644,root,root,755) | |
100 | %{_libdir}/libgegl-1.0.a |