]>
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 |
c067f164 | 4 | Version: 0.0.16 |
518498c4 | 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 |
c067f164 MB |
9 | # Source0-md5: fd49cb219ece97f4677554db4a2c02d1 |
10 | Patch0: %{name}-lua.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 |
c067f164 | 16 | BuildRequires: babl-devel >= 0.0.20 |
88cd9c64 | 17 | BuildRequires: enscript |
c067f164 MB |
18 | BuildRequires: ffmpeg-devel |
19 | BuildRequires: glib2-devel >= 1:2.15.6 | |
88cd9c64 | 20 | BuildRequires: graphviz |
c067f164 MB |
21 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
22 | BuildRequires: gtk-doc | |
518498c4 | 23 | BuildRequires: libjpeg-devel |
88cd9c64 JB |
24 | BuildRequires: librsvg-devel >= 1:2.14.0 |
25 | BuildRequires: libtool | |
c067f164 | 26 | BuildRequires: lua51-devel |
88cd9c64 JB |
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 | ||
c067f164 MB |
75 | %package apidocs |
76 | Summary: gegl library API documentation | |
77 | Summary(pl.UTF-8): Dokumentacja API biblioteki gegl | |
78 | Group: Documentation | |
79 | Requires: gtk-doc-common | |
80 | ||
81 | %description apidocs | |
82 | gegl library API documentation. | |
83 | ||
84 | %description apidocs -l pl.UTF-8 | |
85 | Dokumentacja API biblioteki gegl. | |
86 | ||
518498c4 | 87 | %prep |
88 | %setup -q | |
89 | %patch0 -p1 | |
90 | ||
91 | %build | |
88cd9c64 | 92 | %{__libtoolize} |
518498c4 | 93 | %{__aclocal} |
94 | %{__autoconf} | |
88cd9c64 | 95 | %{__autoheader} |
518498c4 | 96 | %{__automake} |
c067f164 MB |
97 | %configure \ |
98 | --enable-static | |
518498c4 | 99 | %{__make} |
100 | ||
101 | %install | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %{__make} install \ | |
c067f164 MB |
105 | DESTDIR=$RPM_BUILD_ROOT \ |
106 | help_dir=$RPM_BUILD_ROOT%{_gtkdocdir}/gegl | |
107 | ||
108 | rm -f $RPM_BUILD_ROOT%{_libdir}/gegl-0.0/*.{a,la} | |
518498c4 | 109 | |
110 | %clean | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
113 | %post -p /sbin/ldconfig | |
114 | %postun -p /sbin/ldconfig | |
115 | ||
116 | %files | |
117 | %defattr(644,root,root,755) | |
118 | %doc AUTHORS ChangeLog NEWS README | |
119 | %attr(755,root,root) %{_bindir}/gegl | |
c067f164 MB |
120 | %attr(755,root,root) %{_libdir}/libgegl-0.0.so.*.*.* |
121 | %attr(755,root,root) %ghost %{_libdir}/libgegl-0.0.so.0 | |
122 | %dir %{_libdir}/gegl-0.0 | |
123 | %attr(755,root,root) %{_libdir}/gegl-0.0/*.so | |
518498c4 | 124 | |
125 | %files devel | |
126 | %defattr(644,root,root,755) | |
c067f164 MB |
127 | %attr(755,root,root) %{_libdir}/libgegl-0.0.so |
128 | %{_libdir}/libgegl-0.0.la | |
129 | %{_includedir}/gegl-0.0 | |
518498c4 | 130 | %{_pkgconfigdir}/gegl.pc |
131 | ||
132 | %files static | |
133 | %defattr(644,root,root,755) | |
c067f164 MB |
134 | %{_libdir}/libgegl-0.0.a |
135 | ||
136 | %files apidocs | |
137 | %defattr(644,root,root,755) | |
138 | %{_gtkdocdir}/gegl |