source: projects/specs/trunk/c/cairo/cairo-vl.spec @ 2052

Revision 2052, 10.8 KB checked in by daisuke, 14 years ago (diff)

cairo: 1.10.0-2


Line 
1Summary:        Cairo - multi-platform 2D graphics library.
2Summary(ja):    Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
3Name:           cairo
4Version:        1.10.0
5Release:        2%{?_dist_release}
6License:        LGPL/MPL
7Group:          System Environment/Libraries
8Source0:        http://cairographics.org/releases/%{name}-%{version}.tar.gz
9
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
13Patch1:         cairo-1.10.0-dont_use_server_side_gradients.patch
14
15URL:            http://cairographics.org/
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18BuildRequires: pkgconfig
19BuildRequires: pixman-devel
20BuildRequires: libpng-devel
21BuildRequires: freetype2-devel
22BuildRequires: fontconfig-devel
23BuildRequires: libX11-devel
24BuildRequires: libXrender-devel
25BuildRequires: gtk-doc
26
27BuildConflicts: XOrg-compat70-devel
28
29%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
30
31%description
32Cairo provides anti-aliased vector-based rendering for X. Paths
33consist of line segments and cubic splines and can be rendered at any
34width with various join and cap styles. All colors may be specified
35with optional translucence (opacity/alpha) and combined using the
36extended Porter/Duff compositing algebra as found in the X Render
37Extension.
38
39Cairo exports a stateful rendering API similar in spirit to the path
40construction, text, and painting operators of PostScript, (with the
41significant addition of translucence in the imaging model). When
42complete, the API is intended to support the complete imaging model of
43PDF 1.4.
44
45Cairo relies on the Xc library for backend rendering. Xc provides an
46abstract interface for rendering to multiple target types. As of this
47writing, Xc allows Cairo to target X drawables as well as generic
48image buffers. Future backends such as PostScript, PDF, and perhaps
49OpenGL are currently being planned.
50
51%package -n compat32-%{name}
52Summary:        Cairo - multi-platform 2D graphics library.
53Summary(ja):    Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
54Group:          System Environment/Libraries
55Requires:       %{name} = %{version}
56
57%description -n compat32-%{name}
58Cairo provides anti-aliased vector-based rendering for X. Paths
59consist of line segments and cubic splines and can be rendered at any
60width with various join and cap styles. All colors may be specified
61with optional translucence (opacity/alpha) and combined using the
62extended Porter/Duff compositing algebra as found in the X Render
63Extension.
64
65Cairo exports a stateful rendering API similar in spirit to the path
66construction, text, and painting operators of PostScript, (with the
67significant addition of translucence in the imaging model). When
68complete, the API is intended to support the complete imaging model of
69PDF 1.4.
70
71Cairo relies on the Xc library for backend rendering. Xc provides an
72abstract interface for rendering to multiple target types. As of this
73writing, Xc allows Cairo to target X drawables as well as generic
74image buffers. Future backends such as PostScript, PDF, and perhaps
75OpenGL are currently being planned.
76
77%package devel
78Summary:        Development files for Cairo library.
79Summary(ja):    Cairo ライブラリの開発用ファイル
80Group:          Development/Libraries
81Provides:       lib%{name}-devel = %{version}-%{release}
82Requires:       %{name} = %{version}
83Requires:       libpng-devel
84Requires:       freetype2-devel
85Requires:       fontconfig-devel
86Requires:       libX11-devel
87Requires:       libXrender-devel
88Requires:       pixman-devel
89
90%description devel
91Development files for Cairo library.
92
93%package tools
94Summary: Development tools for cairo
95Group: Development/Tools
96
97%description tools
98Cairo is a 2D graphics library designed to provide high-quality display
99and print output.
100
101This package contains tools for working with the cairo graphics library.
102 * cairo-trace: Record cairo library calls for later playback
103
104
105%prep
106%setup -q
107%patch1 -p1 -b .dont-use-server-side-gradients
108
109%build
110%configure --enable-gtk-doc
111%ifarch x86_64
112cp libtool libtool.old
113ldpath="/lib64 /usr/lib64 /usr/lib /usr/X11R6/lib64 /usr/X11R6/lib"
114sed "s|^sys_lib_search_path_spec=.*|sys_lib_search_path_spec=$ldpath|" libtool.old \
115        > libtool
116rm libtool.old
117%endif
118make
119
120%install
121rm -rf $RPM_BUILD_ROOT
122
123%makeinstall
124rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
125
126%clean
127rm -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
150%files tools
151%defattr(-,root,root,-)
152%{_bindir}/cairo-trace
153%{_libdir}/cairo
154
155%if %{build_compat32}
156%files -n compat32-%{name}
157%defattr(644,root,root,755)
158%{_libdir}/lib*.so.*
159%endif
160
161%changelog
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
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
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
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
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
Note: See TracBrowser for help on using the repository browser.