cairo-vl.spec 9.4 KB

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