2005-06-26 19:50:33 +00:00
|
|
|
%define freetype_version 2.1.3-3
|
|
|
|
%define fontconfig_version 2.0
|
|
|
|
|
2006-12-09 06:28:34 +00:00
|
|
|
Summary: A vector graphics library
|
|
|
|
Name: cairo
|
2007-05-01 23:46:58 +00:00
|
|
|
Version: 1.4.6
|
2006-12-15 05:23:44 +00:00
|
|
|
Release: 1%{?dist}
|
2006-12-09 06:28:34 +00:00
|
|
|
URL: http://cairographics.org
|
2007-03-06 10:02:15 +00:00
|
|
|
Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
|
2006-12-09 06:28:34 +00:00
|
|
|
License: LGPL/MPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
BuildRequires: pkgconfig
|
2005-10-31 17:34:22 +00:00
|
|
|
BuildRequires: libXrender-devel
|
2006-01-31 16:17:08 +00:00
|
|
|
BuildRequires: libX11-devel
|
2005-06-26 19:50:33 +00:00
|
|
|
BuildRequires: libpng-devel
|
2006-05-16 14:58:32 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2005-06-26 19:50:33 +00:00
|
|
|
BuildRequires: freetype-devel >= %{freetype_version}
|
|
|
|
BuildRequires: fontconfig-devel >= %{fontconfig_version}
|
|
|
|
|
2004-11-12 21:44:30 +00:00
|
|
|
%description
|
|
|
|
Cairo is a vector graphics library designed to provide high-quality
|
|
|
|
display and print output. Currently supported output targets include
|
|
|
|
the X Window System, OpenGL (via glitz), in-memory image buffers, and
|
2006-08-09 05:20:58 +00:00
|
|
|
image files (PDF, PostScript, and SVG). Cairo is designed to produce
|
2005-05-18 03:10:00 +00:00
|
|
|
identical output on all output media while taking advantage of display
|
2007-04-11 23:38:51 +00:00
|
|
|
hardware acceleration when available (e.g. through the X Render
|
2005-05-18 03:10:00 +00:00
|
|
|
Extension or OpenGL).
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%package devel
|
2005-05-18 03:10:00 +00:00
|
|
|
Summary: Cairo developmental libraries and header files
|
2004-11-12 21:44:30 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-10-31 17:34:22 +00:00
|
|
|
Requires: libXrender-devel
|
2005-06-26 19:50:33 +00:00
|
|
|
Requires: libpng-devel
|
|
|
|
Requires: freetype-devel >= %{freetype_version}
|
|
|
|
Requires: fontconfig-devel >= %{fontconfig_version}
|
2006-11-06 04:18:42 +00:00
|
|
|
Requires: pkgconfig
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Developmental libraries and header files required for developing or
|
2007-04-11 23:38:51 +00:00
|
|
|
compiling software which links to the cairo graphics library, which is
|
|
|
|
an open source vector graphics library.
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2006-12-09 06:28:34 +00:00
|
|
|
%configure --disable-static \
|
|
|
|
--enable-warnings \
|
|
|
|
--enable-xlib \
|
|
|
|
--enable-freetype \
|
|
|
|
--enable-ps \
|
|
|
|
--enable-pdf \
|
|
|
|
--enable-svg \
|
2005-06-21 01:37:48 +00:00
|
|
|
--disable-gtk-doc
|
2004-11-16 15:54:58 +00:00
|
|
|
make
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-06-21 02:29:03 +00:00
|
|
|
|
2006-08-09 16:29:32 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-06-21 17:12:39 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
2005-06-21 02:29:03 +00:00
|
|
|
|
2004-11-12 21:44:30 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-11-16 15:54:58 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-11-12 21:44:30 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-04-11 23:38:51 +00:00
|
|
|
%doc AUTHORS BIBLIOGRAPHY BUGS ChangeLog COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 NEWS PORTING_GUIDE README TODO ROADMAP
|
2004-11-12 21:44:30 +00:00
|
|
|
%{_libdir}/libcairo*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-06-21 17:12:39 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libcairo*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
2006-12-09 06:28:34 +00:00
|
|
|
%{_datadir}/gtk-doc/html/cairo
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-05-01 23:46:58 +00:00
|
|
|
* Tue May 1 2007 Carl Worth <cworth@redhat.com> 1.4.6-1
|
|
|
|
- Update to 1.4.6
|
|
|
|
|
|
|
|
* Mon Apr 16 2007 Carl Worth <cworth@redhat.com> 1.4.4-1
|
2007-04-16 14:20:00 +00:00
|
|
|
- Update to 1.4.4
|
|
|
|
|
2007-03-20 19:35:58 +00:00
|
|
|
* Tue Mar 20 2007 Carl Worth <cworth@redhat.com> 1.4.2-1
|
|
|
|
- Update to 1.4.2
|
|
|
|
|
2007-03-06 10:02:15 +00:00
|
|
|
* Tue Mar 6 2007 Carl Worth <cworth@redhat.com> 1.4.0-1
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
2007-02-14 08:59:24 +00:00
|
|
|
* Wed Feb 14 2007 Carl Worth <cworth@redhat.com> 1.3.14-1
|
|
|
|
- Update to 1.3.14
|
|
|
|
|
2007-01-20 11:37:13 +00:00
|
|
|
* Sat Jan 20 2007 Carl Worth <cworth@redhat.com> 1.3.12-1
|
|
|
|
- Update to 1.3.12
|
|
|
|
|
2006-12-23 09:06:41 +00:00
|
|
|
* Sat Dec 23 2006 Carl Worth <cworth@redhat.com> 1.3.10-1
|
|
|
|
- Update to 1.3.10
|
|
|
|
|
2006-12-15 05:23:44 +00:00
|
|
|
* Thu Dec 14 2006 Carl Worth <cworth@redhat.com> 1.3.8-1
|
|
|
|
- Update to 1.3.8
|
|
|
|
|
2006-12-09 06:28:34 +00:00
|
|
|
* Sat Dec 9 2006 Matthias Clasen <mclasen@redhat.com> 1.3.6-2
|
|
|
|
- Small spec file cleanups
|
|
|
|
|
2006-12-07 04:38:46 +00:00
|
|
|
* Wed Dec 6 2006 Matthias Clasen <mclasen@redhat.com> 1.3.6-1
|
|
|
|
- Update to 1.3.6
|
|
|
|
|
2006-11-23 06:31:03 +00:00
|
|
|
* Thu Nov 23 2006 Matthias Clasen <mclasen@redhat.com> 1.3.4-1
|
|
|
|
- Update to 1.3.4
|
|
|
|
|
2006-11-16 04:55:24 +00:00
|
|
|
* Wed Nov 15 2006 Carl Worth <cworth@redhat.com> 1.3.2-1
|
|
|
|
- Update to 1.3.2
|
|
|
|
|
2006-11-06 04:18:42 +00:00
|
|
|
* Sun Nov 5 2006 Matthias Clasen <mclasen@redhat.com> 1.2.6-1
|
|
|
|
- Update to 1.2.6
|
|
|
|
|
2006-08-21 03:26:08 +00:00
|
|
|
* Sun Aug 20 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.2.4-1
|
|
|
|
- Update to 1.2.4
|
|
|
|
- Drop libXt-devel BuildReq as it shouldn't need it anymore.
|
|
|
|
|
2006-08-10 15:53:55 +00:00
|
|
|
* Wed Aug 9 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.2.2-3
|
|
|
|
- Remove unnecessary --disable-* arguments to configure, add --enable-*
|
|
|
|
for those backends we really want to make sure are enabled.
|
|
|
|
|
2006-08-09 16:29:32 +00:00
|
|
|
* Wed Aug 9 2006 Ray Strode <rstrode@redhat.com> - 1.2.2-2
|
|
|
|
- add lame libXt-devel BuildReq to get things building again.
|
|
|
|
- small spec tweaks to follow conventions
|
|
|
|
|
2006-08-09 05:20:58 +00:00
|
|
|
* Wed Aug 9 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.2.2-1
|
|
|
|
- Update to 1.2.2
|
|
|
|
|
2006-07-18 16:23:15 +00:00
|
|
|
* Tue Jul 18 2006 Matthias Clasen <mclasen@redhat.com> - 1.2.0-2
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-12 04:40:29 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-04 03:10:48 +00:00
|
|
|
* Mon Jul 3 2006 Matthias Clasen <mclasen@redhat.com> 1.2.0-1
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
2006-06-16 17:37:20 +00:00
|
|
|
* Fri Jun 16 2006 Carl Worth <cworth@redhat.com> 1.1.10-1
|
|
|
|
- Update to 1.1.10 (fixes crash on 16-bit X servers like Xvnc)
|
|
|
|
|
2006-06-14 15:29:44 +00:00
|
|
|
* Wed Jun 14 2006 Matthias Clasen <mclasen@redhat.com> 1.1.8-1
|
|
|
|
- Update to 1.1.8
|
|
|
|
|
2006-05-16 14:58:32 +00:00
|
|
|
* Tue May 16 2006 Karsten Hopp <karsten@redhat.de> 1.1.6-6
|
|
|
|
- buildrequire libxml2-devel
|
|
|
|
|
2006-05-05 07:44:43 +00:00
|
|
|
* Fri May 5 2006 Carl Worth <cworth@redhat.com> - 1.1.6-2
|
|
|
|
- Refuse to build pdf2svg to avoid depending on newer poppler
|
|
|
|
|
2006-05-05 07:29:43 +00:00
|
|
|
* Fri May 5 2006 Carl Worth <cworth@redhat.com> - 1.1.6-1
|
|
|
|
- Update to new upstream 1.1.6
|
|
|
|
|
2006-05-03 09:26:34 +00:00
|
|
|
* Wed May 3 2006 Carl Worth <cworth@redhat.com> - 1.1.4-2
|
|
|
|
- Revert upstream commit that introduced a dependency on a newer
|
|
|
|
poppler version for the PDF tests.
|
|
|
|
|
2006-05-03 09:11:41 +00:00
|
|
|
* Wed May 3 2006 Carl Worth <cworth@redhat.com> - 1.1.4-1
|
|
|
|
- Update to new upstream 1.1.4
|
|
|
|
- Drop both embedded-bitmaps and XRenderAddGlyphs patches as both now
|
|
|
|
have upstream versions
|
|
|
|
|
2006-04-28 15:18:25 +00:00
|
|
|
* Fri Apr 28 2006 Carl Worth <cworth@redhat.com> - 1.1.2-2
|
|
|
|
- Add suggested patch for XRenderAddGlyphs crash of bug #4705
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=4705
|
|
|
|
|
2006-04-25 17:41:23 +00:00
|
|
|
* Tue Apr 25 2006 Carl Worth <cworth@redhat.com> - 1.1.2-1
|
|
|
|
- Update to new upstream 1.1.2
|
|
|
|
- Port forward the embedded bitmaps patch (now committed upstream to
|
|
|
|
1.1.3)
|
|
|
|
- Drop build-fix and chunk-glyphs patches which now come from upstream
|
|
|
|
|
2006-03-15 19:22:34 +00:00
|
|
|
* Wed Mar 15 2006 Matthias Clasen <mclasen@redhat.com> - 1.0.4-1
|
|
|
|
- Update to 1.0.4
|
2006-03-15 19:26:01 +00:00
|
|
|
- Drop upstreamed patches
|
2006-03-15 19:22:34 +00:00
|
|
|
|
2006-03-03 20:42:28 +00:00
|
|
|
* Fri Mar 3 2006 Carl Worth <cworth@redhat.com> - 1.0.2-5
|
|
|
|
- add patch to chunk Xlib glyph compositing (bug 182416 and
|
|
|
|
CVE-20060528)
|
|
|
|
|
2006-02-11 02:13:39 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-4.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:12:46 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-4.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-31 16:17:08 +00:00
|
|
|
* Tue Jan 31 2006 Ray Strode <rstrode@redhat.com> 1.0.2-4
|
|
|
|
- add patch from Tim Mayberry to support embbedded bitmap
|
|
|
|
fonts (bug 176910)
|
|
|
|
|
2006-01-03 19:59:18 +00:00
|
|
|
* Tue Jan 3 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.2
|
|
|
|
- rebuilt again
|
|
|
|
|
2005-12-09 20:41:35 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-10-31 17:34:22 +00:00
|
|
|
* Mon Oct 31 2005 Matthias Clasen <mclasen@redhat.com> 1.0.2-3
|
|
|
|
- Require libXrender-devel instead of xorg-X11-devel
|
|
|
|
|
2005-10-11 19:43:20 +00:00
|
|
|
* Tue Oct 11 2005 Kristian Høgsberg <krh@redhat.com> 1.0.2-2
|
|
|
|
- Rebuild against freetype-2.10 to pick up FT_GlyphSlot_Embolden.
|
|
|
|
|
2005-10-06 14:46:16 +00:00
|
|
|
* Thu Oct 6 2005 Kristian Høgsberg <krh@redhat.com> - 1.0.2-1
|
|
|
|
- Update to cairo-1.0.2.
|
|
|
|
|
2005-08-24 18:25:01 +00:00
|
|
|
* Wed Aug 24 2005 Kristian Høgsberg <krh@redhat.com> - 1.0.0-1
|
|
|
|
- Update to cairo-1.0.0.
|
|
|
|
- Drop cairo-0.9.2-cache-eviction-fix.patch and
|
|
|
|
cairo-0.9.2-dont-hash-null-string.patch.
|
|
|
|
|
2005-08-19 20:39:55 +00:00
|
|
|
* Fri Aug 19 2005 Kristian Høgsberg <krh@redhat.com> 0.9.2-3
|
|
|
|
- Add cairo-0.9.2-dont-hash-null-string.patch to avoid crash when
|
|
|
|
creating a cairo font from a FT_Face.
|
|
|
|
|
2005-08-16 23:36:41 +00:00
|
|
|
* Tue Aug 16 2005 Kristian Høgsberg <krh@redhat.com> - 0.9.2-2
|
|
|
|
- Rebuild against new freetype to get rid of --rpath in cairo.pc.
|
|
|
|
|
2005-08-15 14:43:44 +00:00
|
|
|
* Mon Aug 15 2005 Kristian Høgsberg <krh@redhat.com> 0.9.2-1
|
|
|
|
- Also obsolete libpixman-debuginfo.
|
|
|
|
- Add cairo-0.9.2-cache-eviction-fix.patch to fix ft font cache eviction.
|
|
|
|
|
2005-08-14 20:32:43 +00:00
|
|
|
* Sun Aug 14 2005 Kristian Høgsberg <krh@redhat.com> 0.9.2-1
|
|
|
|
- Update to cairo 0.9.2. Add Obsoletes: for libpixman <= 0.1.6.
|
|
|
|
- Drop cairo-0.6.0-font-options-to-scaled-font.patch.
|
|
|
|
|
2005-08-02 18:06:43 +00:00
|
|
|
* Tue Aug 2 2005 Kristian Høgsberg <krh@redhat.com> - 0.6.0-2
|
|
|
|
- Add cairo-0.6.0-font-options-to-scaled-font.patch to make sure font
|
|
|
|
cache eviction works correctly (#164664).
|
|
|
|
|
2005-07-28 20:17:22 +00:00
|
|
|
* Thu Jul 28 2005 Owen Taylor <otaylor@devserv.devel.redhat.com> 0.6.0-1
|
|
|
|
- Update to cairo-0.6.0
|
|
|
|
|
2005-07-18 19:01:01 +00:00
|
|
|
* Mon Jul 18 2005 Kristian Høgsberg <krh@redhat.com> 0.5.2-1
|
|
|
|
- Update to cairo-0.5.2 and drop bitmap font patch.
|
|
|
|
|
2005-07-06 14:35:17 +00:00
|
|
|
* Wed Jul 6 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.1-5
|
|
|
|
- Fix typo in use of libpixman_version macro (Thanks to Michael
|
|
|
|
Schwendt, #162550).
|
|
|
|
|
2005-06-26 19:50:33 +00:00
|
|
|
* Sun Jun 26 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.1-4
|
|
|
|
- Add more missing devel package requires (libpng-devel and
|
|
|
|
xorg-x11-devel) (#161688)
|
|
|
|
- Add Owens patch (cairo-0.5.1-bitmap-fonts.patch) to make bitmap
|
|
|
|
fonts work with cairo (#161653).
|
|
|
|
|
2005-07-06 14:35:17 +00:00
|
|
|
* Wed Jun 22 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.1-3
|
2005-06-22 20:30:17 +00:00
|
|
|
- Add requirement on libpixman-devel for devel package.
|
|
|
|
|
2005-06-21 17:12:39 +00:00
|
|
|
* Tue Jun 21 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.1-2
|
|
|
|
- Package gtk docs as part of devel package.
|
|
|
|
- Nuke static library.
|
|
|
|
- Update devel files so /usr/include/cairo is owned by devel package.
|
|
|
|
|
|
|
|
* Mon Jun 20 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.1-1
|
2005-06-21 01:22:32 +00:00
|
|
|
- Update to cairo 0.5.1.
|
2005-06-21 02:29:03 +00:00
|
|
|
- Remove gtk-doc files, since --disable-gtk-doc doesn't work.
|
2005-06-21 01:37:48 +00:00
|
|
|
- Disable gtk-doc and add freetype and fontconfig BuildRequires.
|
2005-06-21 01:22:32 +00:00
|
|
|
|
2005-06-21 17:12:39 +00:00
|
|
|
* Tue Jun 14 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.0-2
|
2005-06-14 15:35:02 +00:00
|
|
|
- Add libpixman-devel BuildRequires.
|
|
|
|
- Explicitly disable win32 backend.
|
|
|
|
|
2005-05-18 03:10:00 +00:00
|
|
|
* Tue May 17 2005 Kristian Høgsberg <krh@redhat.com> - 0.5.0-1
|
|
|
|
- Update to 0.5.0.
|
|
|
|
|
2005-01-23 22:24:36 +00:00
|
|
|
* Sun Jan 23 2005 Kristian Høgsberg <krh@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0, explicitly disable more backends.
|
|
|
|
|
2004-11-16 15:54:58 +00:00
|
|
|
* Tue Nov 16 2004 Kristian Høgsberg <krh@redhat.com> - 0.2.0-1
|
|
|
|
- Incorporate changes suggested by katzj: Require: ldconfig and run it
|
2006-12-09 06:28:34 +00:00
|
|
|
in %%post and %%postun, don't pass CFLAGS to make.
|
2004-11-16 15:54:58 +00:00
|
|
|
|
2004-11-12 22:08:52 +00:00
|
|
|
* Mon Aug 9 2004 Kristian Høgsberg <krh@redhat.com> - 0.2.0-1
|
|
|
|
- Update license, explicitly disable glitz.
|
2004-11-12 21:44:30 +00:00
|
|
|
- Create package.
|