1 Summary: Cairo - multi-platform 2D graphics library
2 Summary(pl): Cairo - wieloplatformowa biblioteka graficzna 2D
6 License: LGPL v2.1 or MPL v1.1
8 Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
9 # Source0-md5: 78c1a536d3a45bdc06a8335d33e63d8f
10 URL: http://cairographics.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: fontconfig-devel
14 BuildRequires: freetype-devel >= 2.1.0
15 BuildRequires: glitz-devel >= 0.3.0
16 BuildRequires: libpixman-devel >= 0.1.2
17 BuildRequires: libpng-devel
18 BuildRequires: libtool
19 BuildRequires: pkgconfig
20 #BuildRequires: xcb-devel (http://freedesktop.org/software/xcb - CVS only, not released yet)
21 BuildRequires: xrender-devel >= 0.6
22 BuildRequires: zlib-devel
23 Requires: freetype >= 2.1.0
24 Requires: glitz >= 0.3.0
25 Requires: libpixman >= 0.1.2
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Cairo provides anti-aliased vector-based rendering for X. Paths
30 consist of line segments and cubic splines and can be rendered at any
31 width with various join and cap styles. All colors may be specified
32 with optional translucence (opacity/alpha) and combined using the
33 extended Porter/Duff compositing algebra as found in the X Render
36 Cairo exports a stateful rendering API similar in spirit to the path
37 construction, text, and painting operators of PostScript, (with the
38 significant addition of translucence in the imaging model). When
39 complete, the API is intended to support the complete imaging model of
42 Cairo relies on the Xc library for backend rendering. Xc provides an
43 abstract interface for rendering to multiple target types. As of this
44 writing, Xc allows Cairo to target X drawables as well as generic
45 image buffers. Future backends such as PostScript, PDF, and perhaps
46 OpenGL are currently being planned.
49 Cairo obs³uguje oparty na wektorach rendering z antyaliasingiem dla X.
50 ¦cie¿ki sk³adaj± siê z odcinków i splajnów kubicznych, a renderowane
51 mog± byæ z dowoln± grubo¶ci± i ró¿nymi stylami po³±czeñ i zakoñczeñ.
52 Wszystkie kolory mog± byæ podane z opcjonaln± pó³przezroczysto¶ci±
53 (podan± przez wspó³czynnik nieprzezroczysto¶ci lub alpha) i ³±czone
54 przy u¿yciu rozszerzonego algorytmu mieszania Portera-Duffa, który
55 mo¿na znale¼æ w rozszerzeniu X Render.
57 Cairo eksportuje stanowe API renderuj±ce w duchu podobne do operatorów
58 konstruowania ¶cie¿ek, tekstu i rysowania z PostScriptu (ze znacznym
59 dodatkiem pó³przezroczysto¶ci w modelu obrazu). Kiedy API zostanie
60 ukoñczone, ma obs³ugiwaæ pe³ny model obrazu z PDF w wersji 1.4.
62 Cairo do backendowego renderowania wykorzystuje bibliotekê Xc. Xc
63 dostarcza abstrakcyjny interfejs do renderowania na wiele rodzajów
64 wyj¶æ. Aktualnie Xc pozwala Cairo tworzyæ obiekty X, a tak¿e ogólne
65 bufory obrazu. W przysz³o¶ci planowane s± takie backendy jak
66 PostScript, PDF i byæ mo¿e OpenGL.
69 Summary: Development files for Cairo library
70 Summary(pl): Pliki programistyczne biblioteki Cairo
71 Group: Development/Libraries
72 Requires: %{name} = %{version}-%{release}
73 Requires: fontconfig-devel
74 Requires: freetype-devel >= 2.1.0
75 Requires: glitz-devel >= 0.3.0
76 Requires: libpixman-devel >= 0.1.2
77 Requires: libpng-devel
78 Requires: xrender-devel >= 0.6
81 Development files for Cairo library.
83 %description devel -l pl
84 Pliki programistyczne biblioteki Cairo.
87 Summary: Static Cairo library
88 Summary(pl): Statyczna biblioteka Cairo
89 Group: Development/Libraries
90 Requires: %{name}-devel = %{version}-%{release}
95 %description static -l pl
96 Statyczna biblioteka Cairo.
111 rm -rf $RPM_BUILD_ROOT
114 DESTDIR=$RPM_BUILD_ROOT
117 rm -rf $RPM_BUILD_ROOT
119 %post -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
123 %defattr(644,root,root,755)
124 # COPYING contains only notes, not LGPL/MPL texts
125 %doc AUTHORS COPYING ChangeLog NEWS README TODO
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_pkgconfigdir}/*.pc
136 %defattr(644,root,root,755)