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