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

Revision 1864, 9.6 KB checked in by Takemikaduchi, 14 years ago (diff)

add BR: fontconfig-devel and R:fontconfig-devel

Line 
1Summary:        Cairo - multi-platform 2D graphics library.
2Summary(ja):    Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
3Name:           cairo
4Version:        1.8.10
5Release:        3%{?_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
89%prep
90%setup -q
91
92%build
93%configure --enable-gtk-doc
94%ifarch x86_64
95cp libtool libtool.old
96ldpath="/lib64 /usr/lib64 /usr/lib /usr/X11R6/lib64 /usr/X11R6/lib"
97sed "s|^sys_lib_search_path_spec=.*|sys_lib_search_path_spec=$ldpath|" libtool.old \
98        > libtool
99rm libtool.old
100%endif
101make
102
103%install
104rm -rf $RPM_BUILD_ROOT
105
106%makeinstall
107rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
112%post   -p /sbin/ldconfig
113%postun -p /sbin/ldconfig
114
115%post   -n compat32-%{name} -p /sbin/ldconfig
116%postun -n compat32-%{name} -p /sbin/ldconfig
117
118
119%files
120%defattr(644,root,root,755)
121%doc AUTHORS BUGS COPYING COPYING-* ChangeLog NEWS README
122%{_libdir}/lib*.so.*
123
124%files devel
125%defattr(644,root,root,755)
126%{_libdir}/lib*.so
127#{_libdir}/lib*.la
128%{_includedir}/*
129%{_libdir}/pkgconfig/*.pc
130%{_libdir}/lib*.a
131%{_datadir}/gtk-doc/html/cairo
132
133%if %{build_compat32}
134%files -n compat32-%{name}
135%defattr(644,root,root,755)
136%{_libdir}/lib*.so.*
137%endif
138
139%changelog
140* Tue Sep 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3
141- add BuildRequires: fontconfig-devel
142- add Requires: fontconfig-devel (devel package)
143
144* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.8.10-2
145- build with rpm-4.8.1-1 for pkg-config file
146
147* Tue Mar  2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.10-1
148- new upstream release
149
150* Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1
151- new upstream release
152
153* Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.8.6-2
154- applied cairo-1.8.6-status-return-fix.patch from Gentoo Linux
155- added BuildRequires: gtk-doc
156
157* Sat Jan 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1
158- new upstream release
159
160* Tue Nov 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.4-1
161- new upstream release
162
163* Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.0-1
164- new upstream release
165
166* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.6-1
167- new upstream release
168
169* Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.4-1
170- new upstream release
171
172* Wed May 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.6.4-3
173- add  Requires: pixman-devel to -devel
174
175* Sun May 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-2
176- rebuilt with xorg-x11 7.3
177- spec in UTF-8
178
179* Thu May  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.4-1
180- new upstream release
181- removed lib*.la from devel package
182
183* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-1vl5
184- used %%{?_dist_release}
185
186* Thu Feb  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.14-0vl1
187- new upstream release
188
189* Sun Dec  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1
190- new upstream release
191
192* Tue Jul 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.10-0vl1
193- new upstream release
194
195* Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.6-0vl1
196- new upstream release
197- remove BuildRequires: pango-devel, gtk2-devel
198  (these are only needed for testing)
199
200* Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.2-0vl1
201- upstream release
202- Patch30 and Patch40 is skipped (not working correctly)
203  but held in src.rpm
204- add BUGS, ROADMAP to %%doc
205- add BuildRequires: pango-devel, gtk2-devel
206
207* Tue Oct 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
208- rebuild without XOrg-compat70-devel
209- add BuildConflicts: XOrg-compat70-devel
210
211* Sun Oct 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl1
212- new upstream release
213- remove unneeded Patch20 which breaks 8bpp rendering (<BTS:297>)
214
215* Tue Sep 19 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl3
216- added Patch40 for 15bpp problem
217
218* Tue Sep  5 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.2-0vl2
219- added ad-hoc Patch30 for 16bpp problem
220
221* Thu Aug 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1
222- new upstream release
223
224* Sat Aug 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
225- new upstream release
226
227* Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
228- new upstream release
229
230* Sat May 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-0vl4
231- added compat32- package for x86_64 architecture support
232
233* Sun Mar 05 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.2-0vl3
234- added x86_64 architecture support
235
236* Sat Dec 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
237- add Patch20 to fix broken desktop rendering on xorg-x11-6.9
238  - add X.Org 6.9.0 (6090000) to blacklist
239
240* Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
241- new upstream release
242
243* Tue Oct 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl5
244- update Patch10
245
246* Sun Oct 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl4
247- add Patch10 to use embedded bitmap font if available.
248  (controllable by "embeddedbitmap" in fontconfig)
249
250* Thu Sep 29 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl3
251- rebuild with new fontconfig
252
253* Sun Sep 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl2
254- add Requires: libpng-devel, XOrg-devel, freetype2-devel
255  to devel package instead of BuildRequires (typo)
256- add Japanese summaries
257
258* Sun Aug 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
259- new upstream release
260- remove libpixman dependency (which is now included in cairo)
261- obsoletes libpixman <= 0.1.6
262- add more BuildRequires
263
264* Sat Aug 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.2-0vl1
265- new upstream version
266
267* Sun Jul 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.1-0vl1
268- new upstream version
269- fixed License (http://cairographics.org/introduction)
270
271* Sun Mar 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1
272- new upstream version
273- include gtk-doc files
274
275* Sun Jan 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1
276- new upstream version
277- add Requires: libpixman
278
279* Mon Nov 01 2004 Satoshi MACHINO <machino@vinelinux.org> 0.2.0-0vl1
280- new upstream version (cairo-0.2.0)
281
282* Mon Oct 11 2004 Satoshi MACHINO <machino@vinelinux.org> 0.1.23-1vl1
283- rebuilt for VineLinux
284
285* Tue Jun 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.23-1mdk
286- 0.1.23
287- reenable libtoolize
288
289* Wed May  5 2004 G魚Waschk <waschk@linux-mandrake.com> 0.1.22-1mdk
290- fix devel provides
291- drop redundant buildrequires
292- requires new pixman
293- autoconf 2.5 macro
294- New release 0.1.22
295
296* Fri Feb 06 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-2mdk
297- build with X11
298
299* Sun Feb 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.17-1mdk
300- 0.1.17
301- provides cairo
302- drop patch, use --disable-xlib
303- buildrequires
304- don't run libtoolize
305
306* Sun Dec 14 2003 Marcel Pol <mpol@mandrake.org> 0.1.13-1mdk
307- initial mandrake package
308
Note: See TracBrowser for help on using the repository browser.