cairo-vl.spec 10 KB

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