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

Revision 2444, 11.0 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

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