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