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