]>
Commit | Line | Data |
---|---|---|
518498c4 | 1 | Summary: Generic image processing library |
79c90bc4 | 2 | Summary(pl.UTF-8): Ogólna biblioteka przetwarzania obrazu |
518498c4 | 3 | Name: gegl |
4 | Version: 0.0.12 | |
5 | Release: 1 | |
79c90bc4 JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
518498c4 | 8 | Source0: ftp://ftp.gtk.org/pub/gegl/0.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: dda7513cb4ab4b62528a9822e5c5751b | |
10 | Patch0: %{name}-build.patch | |
79c90bc4 | 11 | URL: http://www.gegl.org/ |
518498c4 | 12 | BuildRequires: OpenEXR-devel |
88cd9c64 JB |
13 | BuildRequires: SDL-devel |
14 | BuildRequires: autoconf >= 2.54 | |
518498c4 | 15 | BuildRequires: automake |
88cd9c64 | 16 | BuildRequires: babl-devel >= 0.0.14 |
518498c4 | 17 | BuildRequires: cairo-devel |
88cd9c64 JB |
18 | BuildRequires: enscript |
19 | BuildRequires: glib2-devel >= 1:2.6.4 | |
20 | BuildRequires: gtk+2-devel >= 2:2.8.6 | |
21 | BuildRequires: graphviz | |
518498c4 | 22 | BuildRequires: libjpeg-devel |
23 | BuildRequires: libpng-devel | |
88cd9c64 JB |
24 | BuildRequires: librsvg-devel >= 1:2.14.0 |
25 | BuildRequires: libtool | |
26 | BuildRequires: pango-devel >= 1:1.10.0 | |
27 | BuildRequires: perl-base | |
28 | BuildRequires: pkgconfig | |
29 | BuildRequires: ruby | |
518498c4 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | GEGL (Generic Graphics Library) is a graph based image processing | |
34 | framework. | |
35 | ||
79c90bc4 | 36 | GEGL's original design was made to scratch GIMP's itches for a new |
518498c4 | 37 | compositing and processing core. This core is being designed to have |
79c90bc4 JB |
38 | minimal dependencies and a simple well defined API. |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | GEGL (Generic Graphics Library) to oparty na grafice szkielet do | |
42 | przetwarzania obrazu. | |
43 | ||
44 | Pierwotny projekt biblioteki GEGL powstał z myślą o nowym rdzeniu do | |
45 | składania i przetwarzania obrazu w GIMP-ie. Rdzeń ten jest | |
46 | projektowany tak, by miał minimalne zależności i proste, dobrze | |
47 | zdefiniowane API. | |
518498c4 | 48 | |
49 | %package devel | |
50 | Summary: Header files for gegl library | |
51 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gegl | |
52 | Group: Development/Libraries | |
79c90bc4 | 53 | Requires: %{name} = %{version}-%{release} |
88cd9c64 JB |
54 | Requires: babl-devel >= 0.0.14 |
55 | Requires: glib2-devel >= 1:2.6.4 | |
518498c4 | 56 | |
57 | %description devel | |
58 | Header files for gegl library. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe biblioteki gegl. | |
62 | ||
63 | %package static | |
64 | Summary: Static gegl library | |
65 | Summary(pl.UTF-8): Statyczna biblioteka gegl | |
66 | Group: Development/Libraries | |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | Static gegl library. | |
71 | ||
72 | %description static -l pl.UTF-8 | |
73 | Statyczna biblioteka gegl. | |
74 | ||
75 | %prep | |
76 | %setup -q | |
77 | %patch0 -p1 | |
78 | ||
79 | %build | |
88cd9c64 | 80 | %{__libtoolize} |
518498c4 | 81 | %{__aclocal} |
82 | %{__autoconf} | |
88cd9c64 | 83 | %{__autoheader} |
518498c4 | 84 | %{__automake} |
85 | %configure | |
86 | %{__make} | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post -p /sbin/ldconfig | |
98 | %postun -p /sbin/ldconfig | |
99 | ||
100 | %files | |
101 | %defattr(644,root,root,755) | |
102 | %doc AUTHORS ChangeLog NEWS README | |
103 | %attr(755,root,root) %{_bindir}/gegl | |
518498c4 | 104 | %attr(755,root,root) %{_libdir}/libgegl-*.so.*.*.* |
79c90bc4 JB |
105 | %dir %{_libdir}/gegl-* |
106 | %attr(755,root,root) %{_libdir}/gegl-*/*.so | |
518498c4 | 107 | |
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
79c90bc4 | 110 | %attr(755,root,root) %{_libdir}/libgegl-*.so |
518498c4 | 111 | %{_libdir}/libgegl-*.la |
79c90bc4 | 112 | %{_includedir}/gegl-* |
518498c4 | 113 | %{_pkgconfigdir}/gegl.pc |
114 | ||
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libgegl-1.0.a |