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

Revision 2041, 10.1 KB checked in by Takemikaduchi, 14 years ago (diff)

update to GNOME-2.32.0

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