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