[521] | 1 | Summary: Cairo - multi-platform 2D graphics library. |
---|
| 2 | Summary(ja): Cairo - マルチプラットフォーム 2D グラフィックスライブラリ |
---|
| 3 | Name: cairo |
---|
[2041] | 4 | Version: 1.10.0 |
---|
[2052] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: LGPL/MPL |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz |
---|
| 9 | |
---|
[2052] | 10 | # don't use serverside gradients, most drivers don't handle those and are |
---|
| 11 | # really slow, should workaround performances issues for ati, nouveau and nvidia |
---|
| 12 | # https://launchpad.net/ubuntu/maverick/+source/cairo/1.10.0-1ubuntu1 |
---|
| 13 | Patch1: cairo-1.10.0-dont_use_server_side_gradients.patch |
---|
| 14 | |
---|
[521] | 15 | URL: http://cairographics.org/ |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | BuildRequires: pkgconfig |
---|
| 19 | BuildRequires: pixman-devel |
---|
| 20 | BuildRequires: libpng-devel |
---|
| 21 | BuildRequires: freetype2-devel |
---|
[1864] | 22 | BuildRequires: fontconfig-devel |
---|
[521] | 23 | BuildRequires: libX11-devel |
---|
| 24 | BuildRequires: libXrender-devel |
---|
| 25 | BuildRequires: gtk-doc |
---|
| 26 | |
---|
| 27 | BuildConflicts: XOrg-compat70-devel |
---|
| 28 | |
---|
| 29 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | Cairo provides anti-aliased vector-based rendering for X. Paths |
---|
| 33 | consist of line segments and cubic splines and can be rendered at any |
---|
| 34 | width with various join and cap styles. All colors may be specified |
---|
| 35 | with optional translucence (opacity/alpha) and combined using the |
---|
| 36 | extended Porter/Duff compositing algebra as found in the X Render |
---|
| 37 | Extension. |
---|
| 38 | |
---|
| 39 | Cairo exports a stateful rendering API similar in spirit to the path |
---|
| 40 | construction, text, and painting operators of PostScript, (with the |
---|
| 41 | significant addition of translucence in the imaging model). When |
---|
| 42 | complete, the API is intended to support the complete imaging model of |
---|
| 43 | PDF 1.4. |
---|
| 44 | |
---|
| 45 | Cairo relies on the Xc library for backend rendering. Xc provides an |
---|
| 46 | abstract interface for rendering to multiple target types. As of this |
---|
| 47 | writing, Xc allows Cairo to target X drawables as well as generic |
---|
| 48 | image buffers. Future backends such as PostScript, PDF, and perhaps |
---|
| 49 | OpenGL are currently being planned. |
---|
| 50 | |
---|
| 51 | %package -n compat32-%{name} |
---|
| 52 | Summary: Cairo - multi-platform 2D graphics library. |
---|
| 53 | Summary(ja): Cairo - マルチプラットフォーム 2D グラフィックスライブラリ |
---|
| 54 | Group: System Environment/Libraries |
---|
| 55 | Requires: %{name} = %{version} |
---|
| 56 | |
---|
| 57 | %description -n compat32-%{name} |
---|
| 58 | Cairo provides anti-aliased vector-based rendering for X. Paths |
---|
| 59 | consist of line segments and cubic splines and can be rendered at any |
---|
| 60 | width with various join and cap styles. All colors may be specified |
---|
| 61 | with optional translucence (opacity/alpha) and combined using the |
---|
| 62 | extended Porter/Duff compositing algebra as found in the X Render |
---|
| 63 | Extension. |
---|
| 64 | |
---|
| 65 | Cairo exports a stateful rendering API similar in spirit to the path |
---|
| 66 | construction, text, and painting operators of PostScript, (with the |
---|
| 67 | significant addition of translucence in the imaging model). When |
---|
| 68 | complete, the API is intended to support the complete imaging model of |
---|
| 69 | PDF 1.4. |
---|
| 70 | |
---|
| 71 | Cairo relies on the Xc library for backend rendering. Xc provides an |
---|
| 72 | abstract interface for rendering to multiple target types. As of this |
---|
| 73 | writing, Xc allows Cairo to target X drawables as well as generic |
---|
| 74 | image buffers. Future backends such as PostScript, PDF, and perhaps |
---|
| 75 | OpenGL are currently being planned. |
---|
| 76 | |
---|
| 77 | %package devel |
---|
| 78 | Summary: Development files for Cairo library. |
---|
| 79 | Summary(ja): Cairo ライブラリの開発用ファイル |
---|
| 80 | Group: Development/Libraries |
---|
| 81 | Provides: lib%{name}-devel = %{version}-%{release} |
---|
| 82 | Requires: %{name} = %{version} |
---|
| 83 | Requires: libpng-devel |
---|
| 84 | Requires: freetype2-devel |
---|
[1864] | 85 | Requires: fontconfig-devel |
---|
[521] | 86 | Requires: libX11-devel |
---|
| 87 | Requires: libXrender-devel |
---|
| 88 | Requires: pixman-devel |
---|
| 89 | |
---|
| 90 | %description devel |
---|
| 91 | Development files for Cairo library. |
---|
| 92 | |
---|
[2041] | 93 | %package tools |
---|
| 94 | Summary: Development tools for cairo |
---|
| 95 | Group: Development/Tools |
---|
[521] | 96 | |
---|
[2041] | 97 | %description tools |
---|
| 98 | Cairo is a 2D graphics library designed to provide high-quality display |
---|
| 99 | and print output. |
---|
| 100 | |
---|
| 101 | This package contains tools for working with the cairo graphics library. |
---|
| 102 | * cairo-trace: Record cairo library calls for later playback |
---|
| 103 | |
---|
| 104 | |
---|
[521] | 105 | %prep |
---|
| 106 | %setup -q |
---|
[2052] | 107 | %patch1 -p1 -b .dont-use-server-side-gradients |
---|
[521] | 108 | |
---|
| 109 | %build |
---|
| 110 | %configure --enable-gtk-doc |
---|
| 111 | %ifarch x86_64 |
---|
| 112 | cp libtool libtool.old |
---|
| 113 | ldpath="/lib64 /usr/lib64 /usr/lib /usr/X11R6/lib64 /usr/X11R6/lib" |
---|
| 114 | sed "s|^sys_lib_search_path_spec=.*|sys_lib_search_path_spec=$ldpath|" libtool.old \ |
---|
| 115 | > libtool |
---|
| 116 | rm libtool.old |
---|
| 117 | %endif |
---|
| 118 | make |
---|
| 119 | |
---|
| 120 | %install |
---|
| 121 | rm -rf $RPM_BUILD_ROOT |
---|
| 122 | |
---|
| 123 | %makeinstall |
---|
| 124 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 125 | |
---|
| 126 | %clean |
---|
| 127 | rm -rf $RPM_BUILD_ROOT |
---|
| 128 | |
---|
| 129 | %post -p /sbin/ldconfig |
---|
| 130 | %postun -p /sbin/ldconfig |
---|
| 131 | |
---|
| 132 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 133 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | %files |
---|
| 137 | %defattr(644,root,root,755) |
---|
| 138 | %doc AUTHORS BUGS COPYING COPYING-* ChangeLog NEWS README |
---|
| 139 | %{_libdir}/lib*.so.* |
---|
| 140 | |
---|
| 141 | %files devel |
---|
| 142 | %defattr(644,root,root,755) |
---|
| 143 | %{_libdir}/lib*.so |
---|
| 144 | #{_libdir}/lib*.la |
---|
| 145 | %{_includedir}/* |
---|
| 146 | %{_libdir}/pkgconfig/*.pc |
---|
| 147 | %{_libdir}/lib*.a |
---|
| 148 | %{_datadir}/gtk-doc/html/cairo |
---|
| 149 | |
---|
[2041] | 150 | %files tools |
---|
| 151 | %defattr(-,root,root,-) |
---|
| 152 | %{_bindir}/cairo-trace |
---|
| 153 | %{_libdir}/cairo |
---|
| 154 | |
---|
[521] | 155 | %if %{build_compat32} |
---|
| 156 | %files -n compat32-%{name} |
---|
| 157 | %defattr(644,root,root,755) |
---|
| 158 | %{_libdir}/lib*.so.* |
---|
| 159 | %endif |
---|
| 160 | |
---|
| 161 | %changelog |
---|
[2052] | 162 | * Wed Oct 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-2 |
---|
| 163 | - add patch1 from ubuntu to fix performance regressions |
---|
| 164 | - don't use serverside gradients, most drivers don't handle those and are |
---|
| 165 | really slow, should workaround performances issues for ati, nouveau and nvidia |
---|
| 166 | https://launchpad.net/ubuntu/maverick/+source/cairo/1.10.0-1ubuntu1 |
---|
| 167 | |
---|
[2041] | 168 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 169 | - new upstream release |
---|
| 170 | - add tools sub package |
---|
| 171 | |
---|
[1864] | 172 | * Tue Sep 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3 |
---|
| 173 | - add BuildRequires: fontconfig-devel |
---|
| 174 | - add Requires: fontconfig-devel (devel package) |
---|
| 175 | |
---|
[1851] | 176 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.10-2 |
---|
| 177 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 178 | |
---|
[521] | 179 | * Tue Mar 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.10-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
| 182 | * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
| 185 | * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.8.6-2 |
---|
| 186 | - applied cairo-1.8.6-status-return-fix.patch from Gentoo Linux |
---|
| 187 | - added BuildRequires: gtk-doc |
---|
| 188 | |
---|
| 189 | * Sat Jan 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
| 192 | * Tue Nov 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.4-1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
| 195 | * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.0-1 |
---|
| 196 | - new upstream release |
---|
| 197 | |
---|
| 198 | * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.6-1 |
---|
| 199 | - new upstream release |
---|
| 200 | |
---|
| 201 | * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.4-1 |
---|
| 202 | - new upstream release |
---|
| 203 | |
---|
| 204 | * Wed May 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.6.4-3 |
---|
| 205 | - add Requires: pixman-devel to -devel |
---|
| 206 | |
---|
| 207 | * Sun May 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-2 |
---|
| 208 | - rebuilt with xorg-x11 7.3 |
---|
| 209 | - spec in UTF-8 |
---|
| 210 | |
---|
| 211 | * Thu May 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-1 |
---|
| 212 | - new upstream release |
---|
| 213 | - removed lib*.la from devel package |
---|
| 214 | |
---|
| 215 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-1vl5 |
---|
| 216 | - used %%{?_dist_release} |
---|
| 217 | |
---|
| 218 | * Thu Feb 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-0vl1 |
---|
| 219 | - new upstream release |
---|
| 220 | |
---|
| 221 | * Sun Dec 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1 |
---|
| 222 | - new upstream release |
---|
| 223 | |
---|
| 224 | * Tue Jul 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.10-0vl1 |
---|
| 225 | - new upstream release |
---|
| 226 | |
---|
| 227 | * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.6-0vl1 |
---|
| 228 | - new upstream release |
---|
| 229 | - remove BuildRequires: pango-devel, gtk2-devel |
---|
| 230 | (these are only needed for testing) |
---|
| 231 | |
---|
| 232 | * Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.2-0vl1 |
---|
| 233 | - upstream release |
---|
| 234 | - Patch30 and Patch40 is skipped (not working correctly) |
---|
| 235 | but held in src.rpm |
---|
| 236 | - add BUGS, ROADMAP to %%doc |
---|
| 237 | - add BuildRequires: pango-devel, gtk2-devel |
---|
| 238 | |
---|
| 239 | * Tue Oct 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2 |
---|
| 240 | - rebuild without XOrg-compat70-devel |
---|
| 241 | - add BuildConflicts: XOrg-compat70-devel |
---|
| 242 | |
---|
| 243 | * Sun Oct 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl1 |
---|
| 244 | - new upstream release |
---|
| 245 | - remove unneeded Patch20 which breaks 8bpp rendering (<BTS:297>) |
---|
| 246 | |
---|
| 247 | * Tue Sep 19 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl3 |
---|
| 248 | - added Patch40 for 15bpp problem |
---|
| 249 | |
---|
| 250 | * Tue Sep 5 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl2 |
---|
| 251 | - added ad-hoc Patch30 for 16bpp problem |
---|
| 252 | |
---|
| 253 | * Thu Aug 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1 |
---|
| 254 | - new upstream release |
---|
| 255 | |
---|
| 256 | * Sat Aug 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1 |
---|
| 257 | - new upstream release |
---|
| 258 | |
---|
| 259 | * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1 |
---|
| 260 | - new upstream release |
---|
| 261 | |
---|
| 262 | * Sat May 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-0vl4 |
---|
| 263 | - added compat32- package for x86_64 architecture support |
---|
| 264 | |
---|
| 265 | * Sun Mar 05 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl3 |
---|
| 266 | - added x86_64 architecture support |
---|
| 267 | |
---|
| 268 | * Sat Dec 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2 |
---|
| 269 | - add Patch20 to fix broken desktop rendering on xorg-x11-6.9 |
---|
| 270 | - add X.Org 6.9.0 (6090000) to blacklist |
---|
| 271 | |
---|
| 272 | * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1 |
---|
| 273 | - new upstream release |
---|
| 274 | |
---|
| 275 | * Tue Oct 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl5 |
---|
| 276 | - update Patch10 |
---|
| 277 | |
---|
| 278 | * Sun Oct 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl4 |
---|
| 279 | - add Patch10 to use embedded bitmap font if available. |
---|
| 280 | (controllable by "embeddedbitmap" in fontconfig) |
---|
| 281 | |
---|
| 282 | * Thu Sep 29 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl3 |
---|
| 283 | - rebuild with new fontconfig |
---|
| 284 | |
---|
| 285 | * Sun Sep 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl2 |
---|
| 286 | - add Requires: libpng-devel, XOrg-devel, freetype2-devel |
---|
| 287 | to devel package instead of BuildRequires (typo) |
---|
| 288 | - add Japanese summaries |
---|
| 289 | |
---|
| 290 | * Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1 |
---|
| 291 | - new upstream release |
---|
| 292 | - remove libpixman dependency (which is now included in cairo) |
---|
| 293 | - obsoletes libpixman <= 0.1.6 |
---|
| 294 | - add more BuildRequires |
---|
| 295 | |
---|
| 296 | * Sat Aug 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.2-0vl1 |
---|
| 297 | - new upstream version |
---|
| 298 | |
---|
| 299 | * Sun Jul 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.1-0vl1 |
---|
| 300 | - new upstream version |
---|
| 301 | - fixed License (http://cairographics.org/introduction) |
---|
| 302 | |
---|
| 303 | * Sun Mar 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1 |
---|
| 304 | - new upstream version |
---|
| 305 | - include gtk-doc files |
---|
| 306 | |
---|
| 307 | * Sun Jan 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1 |
---|
| 308 | - new upstream version |
---|
| 309 | - add Requires: libpixman |
---|
| 310 | |
---|
| 311 | * Mon Nov 01 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2.0-0vl1 |
---|
| 312 | - new upstream version (cairo-0.2.0) |
---|
| 313 | |
---|
| 314 | * Mon Oct 11 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.23-1vl1 |
---|
| 315 | - rebuilt for VineLinux |
---|
| 316 | |
---|
| 317 | * Tue Jun 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.23-1mdk |
---|
| 318 | - 0.1.23 |
---|
| 319 | - reenable libtoolize |
---|
| 320 | |
---|
| 321 | * Wed May 5 2004 G魚Waschk <waschk@linux-mandrake.com> 0.1.22-1mdk |
---|
| 322 | - fix devel provides |
---|
| 323 | - drop redundant buildrequires |
---|
| 324 | - requires new pixman |
---|
| 325 | - autoconf 2.5 macro |
---|
| 326 | - New release 0.1.22 |
---|
| 327 | |
---|
| 328 | * Fri Feb 06 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-2mdk |
---|
| 329 | - build with X11 |
---|
| 330 | |
---|
| 331 | * Sun Feb 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-1mdk |
---|
| 332 | - 0.1.17 |
---|
| 333 | - provides cairo |
---|
| 334 | - drop patch, use --disable-xlib |
---|
| 335 | - buildrequires |
---|
| 336 | - don't run libtoolize |
---|
| 337 | |
---|
| 338 | * Sun Dec 14 2003 Marcel Pol <mpol@mandrake.org> 0.1.13-1mdk |
---|
| 339 | - initial mandrake package |
---|
| 340 | |
---|