cairo-vl.spec 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. Summary: Cairo - multi-platform 2D graphics library.
  2. Summary(ja): Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
  3. Name: cairo
  4. Version: 1.8.10
  5. Release: 3%{?_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. %prep
  75. %setup -q
  76. %build
  77. %configure --enable-gtk-doc
  78. %ifarch x86_64
  79. cp libtool libtool.old
  80. ldpath="/lib64 /usr/lib64 /usr/lib /usr/X11R6/lib64 /usr/X11R6/lib"
  81. sed "s|^sys_lib_search_path_spec=.*|sys_lib_search_path_spec=$ldpath|" libtool.old \
  82. > libtool
  83. rm libtool.old
  84. %endif
  85. make
  86. %install
  87. rm -rf $RPM_BUILD_ROOT
  88. %makeinstall
  89. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  90. %clean
  91. rm -rf $RPM_BUILD_ROOT
  92. %post -p /sbin/ldconfig
  93. %postun -p /sbin/ldconfig
  94. %post -n compat32-%{name} -p /sbin/ldconfig
  95. %postun -n compat32-%{name} -p /sbin/ldconfig
  96. %files
  97. %defattr(644,root,root,755)
  98. %doc AUTHORS BUGS COPYING COPYING-* ChangeLog NEWS README
  99. %{_libdir}/lib*.so.*
  100. %files devel
  101. %defattr(644,root,root,755)
  102. %{_libdir}/lib*.so
  103. #{_libdir}/lib*.la
  104. %{_includedir}/*
  105. %{_libdir}/pkgconfig/*.pc
  106. %{_libdir}/lib*.a
  107. %{_datadir}/gtk-doc/html/cairo
  108. %if %{build_compat32}
  109. %files -n compat32-%{name}
  110. %defattr(644,root,root,755)
  111. %{_libdir}/lib*.so.*
  112. %endif
  113. %changelog
  114. * Tue Sep 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3
  115. - add BuildRequires: fontconfig-devel
  116. - add Requires: fontconfig-devel (devel package)
  117. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.10-2
  118. - build with rpm-4.8.1-1 for pkg-config file
  119. * Tue Mar 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.10-1
  120. - new upstream release
  121. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1
  122. - new upstream release
  123. * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.8.6-2
  124. - applied cairo-1.8.6-status-return-fix.patch from Gentoo Linux
  125. - added BuildRequires: gtk-doc
  126. * Sat Jan 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1
  127. - new upstream release
  128. * Tue Nov 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.4-1
  129. - new upstream release
  130. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.0-1
  131. - new upstream release
  132. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.6-1
  133. - new upstream release
  134. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.4-1
  135. - new upstream release
  136. * Wed May 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.6.4-3
  137. - add Requires: pixman-devel to -devel
  138. * Sun May 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-2
  139. - rebuilt with xorg-x11 7.3
  140. - spec in UTF-8
  141. * Thu May 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-1
  142. - new upstream release
  143. - removed lib*.la from devel package
  144. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-1vl5
  145. - used %%{?_dist_release}
  146. * Thu Feb 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-0vl1
  147. - new upstream release
  148. * Sun Dec 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1
  149. - new upstream release
  150. * Tue Jul 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.10-0vl1
  151. - new upstream release
  152. * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.6-0vl1
  153. - new upstream release
  154. - remove BuildRequires: pango-devel, gtk2-devel
  155. (these are only needed for testing)
  156. * Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.2-0vl1
  157. - upstream release
  158. - Patch30 and Patch40 is skipped (not working correctly)
  159. but held in src.rpm
  160. - add BUGS, ROADMAP to %%doc
  161. - add BuildRequires: pango-devel, gtk2-devel
  162. * Tue Oct 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
  163. - rebuild without XOrg-compat70-devel
  164. - add BuildConflicts: XOrg-compat70-devel
  165. * Sun Oct 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl1
  166. - new upstream release
  167. - remove unneeded Patch20 which breaks 8bpp rendering (<BTS:297>)
  168. * Tue Sep 19 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl3
  169. - added Patch40 for 15bpp problem
  170. * Tue Sep 5 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl2
  171. - added ad-hoc Patch30 for 16bpp problem
  172. * Thu Aug 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1
  173. - new upstream release
  174. * Sat Aug 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  175. - new upstream release
  176. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  177. - new upstream release
  178. * Sat May 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-0vl4
  179. - added compat32- package for x86_64 architecture support
  180. * Sun Mar 05 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl3
  181. - added x86_64 architecture support
  182. * Sat Dec 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
  183. - add Patch20 to fix broken desktop rendering on xorg-x11-6.9
  184. - add X.Org 6.9.0 (6090000) to blacklist
  185. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
  186. - new upstream release
  187. * Tue Oct 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl5
  188. - update Patch10
  189. * Sun Oct 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl4
  190. - add Patch10 to use embedded bitmap font if available.
  191. (controllable by "embeddedbitmap" in fontconfig)
  192. * Thu Sep 29 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl3
  193. - rebuild with new fontconfig
  194. * Sun Sep 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl2
  195. - add Requires: libpng-devel, XOrg-devel, freetype2-devel
  196. to devel package instead of BuildRequires (typo)
  197. - add Japanese summaries
  198. * Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
  199. - new upstream release
  200. - remove libpixman dependency (which is now included in cairo)
  201. - obsoletes libpixman <= 0.1.6
  202. - add more BuildRequires
  203. * Sat Aug 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.2-0vl1
  204. - new upstream version
  205. * Sun Jul 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.1-0vl1
  206. - new upstream version
  207. - fixed License (http://cairographics.org/introduction)
  208. * Sun Mar 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1
  209. - new upstream version
  210. - include gtk-doc files
  211. * Sun Jan 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1
  212. - new upstream version
  213. - add Requires: libpixman
  214. * Mon Nov 01 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2.0-0vl1
  215. - new upstream version (cairo-0.2.0)
  216. * Mon Oct 11 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.23-1vl1
  217. - rebuilt for VineLinux
  218. * Tue Jun 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.23-1mdk
  219. - 0.1.23
  220. - reenable libtoolize
  221. * Wed May 5 2004 G魚Waschk <waschk@linux-mandrake.com> 0.1.22-1mdk
  222. - fix devel provides
  223. - drop redundant buildrequires
  224. - requires new pixman
  225. - autoconf 2.5 macro
  226. - New release 0.1.22
  227. * Fri Feb 06 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-2mdk
  228. - build with X11
  229. * Sun Feb 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-1mdk
  230. - 0.1.17
  231. - provides cairo
  232. - drop patch, use --disable-xlib
  233. - buildrequires
  234. - don't run libtoolize
  235. * Sun Dec 14 2003 Marcel Pol <mpol@mandrake.org> 0.1.13-1mdk
  236. - initial mandrake package