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