]>
Commit | Line | Data |
---|---|---|
79fcc918 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with xcb # enable XCB backend (XCB not released yet) | |
4 | # | |
b7ccdbe1 JB |
5 | Summary: Cairo - multi-platform 2D graphics library |
6 | Summary(pl): Cairo - wieloplatformowa biblioteka graficzna 2D | |
8c7ef450 | 7 | Name: cairo |
7b598464 | 8 | Version: 1.0.2 |
9d2061c1 | 9 | Release: 2 |
9b33cbb5 | 10 | License: LGPL v2.1 or MPL v1.1 |
b7ccdbe1 | 11 | Group: Libraries |
0b5be3e0 | 12 | Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz |
7b598464 | 13 | # Source0-md5: d0b7111a14f90ec3afa777ec40c44984 |
8c7ef450 | 14 | URL: http://cairographics.org/ |
79fcc918 JB |
15 | BuildRequires: autoconf >= 2.54 |
16 | BuildRequires: automake >= 1.7 | |
9bc5a16c | 17 | BuildRequires: fontconfig-devel |
bf69449b | 18 | BuildRequires: freetype-devel >= 2.1.10 |
72e93a6e | 19 | BuildRequires: glitz-devel >= 0.4.4 |
7fdf57cf | 20 | BuildRequires: gtk-doc >= 1.3 |
9bc5a16c | 21 | BuildRequires: libpng-devel |
b7ccdbe1 JB |
22 | BuildRequires: libtool |
23 | BuildRequires: pkgconfig | |
79fcc918 | 24 | %{?with_xcb:BuildRequires: xcb-devel} |
9bc5a16c JB |
25 | BuildRequires: xrender-devel >= 0.6 |
26 | BuildRequires: zlib-devel | |
bf69449b | 27 | Requires: freetype >= 2.1.10 |
72e93a6e | 28 | Requires: glitz >= 0.4.4 |
7fdf57cf | 29 | Requires: xrender >= 0.6 |
b7ccdbe1 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8c7ef450 | 31 | |
32 | %description | |
b7ccdbe1 JB |
33 | Cairo provides anti-aliased vector-based rendering for X. Paths |
34 | consist of line segments and cubic splines and can be rendered at any | |
35 | width with various join and cap styles. All colors may be specified | |
36 | with optional translucence (opacity/alpha) and combined using the | |
37 | extended Porter/Duff compositing algebra as found in the X Render | |
38 | Extension. | |
39 | ||
40 | Cairo exports a stateful rendering API similar in spirit to the path | |
41 | construction, text, and painting operators of PostScript, (with the | |
42 | significant addition of translucence in the imaging model). When | |
43 | complete, the API is intended to support the complete imaging model of | |
44 | PDF 1.4. | |
45 | ||
46 | Cairo relies on the Xc library for backend rendering. Xc provides an | |
47 | abstract interface for rendering to multiple target types. As of this | |
48 | writing, Xc allows Cairo to target X drawables as well as generic | |
49 | image buffers. Future backends such as PostScript, PDF, and perhaps | |
50 | OpenGL are currently being planned. | |
51 | ||
52 | %description -l pl | |
53 |