]> git.pld-linux.org Git - packages/cairo.git/blame - cairo.spec
- updated to 0.1.22
[packages/cairo.git] / cairo.spec
CommitLineData
b7ccdbe1
JB
1Summary: Cairo - multi-platform 2D graphics library
2Summary(pl): Cairo - wieloplatformowa biblioteka graficzna 2D
8c7ef450 3Name: cairo
9bc5a16c 4Version: 0.1.22
56de7934 5Release: 1
8c7ef450 6License: BSD-like
b7ccdbe1 7Group: Libraries
56de7934 8Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
9bc5a16c 9# Source0-md5: e3a2206cedaad27985b99fbc4aa9c485
8c7ef450 10URL: http://cairographics.org/
b7ccdbe1
JB
11BuildRequires: autoconf
12BuildRequires: automake
9bc5a16c
JB
13BuildRequires: fontconfig-devel
14BuildRequires: freetype-devel >= 2.1.0
15BuildRequires: glitz-devel >= 0.1.0
16BuildRequires: libpixman-devel >= 0.1.1
17BuildRequires: libpng-devel
b7ccdbe1
JB
18BuildRequires: libtool
19BuildRequires: pkgconfig
9bc5a16c
JB
20#BuildRequires: xcb-devel (http://freedesktop.org/software/xcb - CVS only, not released yet)
21BuildRequires: xrender-devel >= 0.6
22BuildRequires: zlib-devel
b7ccdbe1 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8c7ef450 24
25%description
b7ccdbe1
JB
26Cairo provides anti-aliased vector-based rendering for X. Paths
27consist of line segments and cubic splines and can be rendered at any
28width with various join and cap styles. All colors may be specified
29with optional translucence (opacity/alpha) and combined using the
30extended Porter/Duff compositing algebra as found in the X Render
31Extension.
32
33Cairo exports a stateful rendering API similar in spirit to the path
34construction, text, and painting operators of PostScript, (with the
35significant addition of translucence in the imaging model). When
36complete, the API is intended to support the complete imaging model of
37PDF 1.4.
38
39Cairo relies on the Xc library for backend rendering. Xc provides an
40abstract interface for rendering to multiple target types. As of this
41writing, Xc allows Cairo to target X drawables as well as generic
42image buffers. Future backends such as PostScript, PDF, and perhaps
43OpenGL are currently being planned.
44
45%description -l pl
46