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