cairo-vl.spec 9.3 KB

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