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