2005-06-26 19:50:33 +00:00
|
|
|
%define freetype_version 2.1.3-3
|
|
|
|
%define fontconfig_version 2.0
|
|
|
|
%define libpixman_version 0.1.5
|
|
|
|
|
2004-11-12 21:44:30 +00:00
|
|
|
Summary: A vector graphics library
|
|
|
|
Name: cairo
|
2005-07-18 19:01:01 +00:00
|
|
|
Version: 0.5.2
|
|
|
|
Release: 1
|
2004-11-12 21:44:30 +00:00
|
|
|
URL: http://cairographics.org
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
License: LGPL/MPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
2004-11-16 15:54:58 +00:00
|
|
|
Requires: /sbin/ldconfig
|
2004-11-12 21:44:30 +00:00
|
|
|
BuildRequires: pkgconfig
|
2005-06-26 19:50:33 +00:00
|
|
|
BuildRequires: libpixman-devel >= %{libpixman_version}
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
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
|
2005-05-18 03:10:00 +00:00
|
|
|
image files (PDF and PostScript). Cairo is designed to produce
|
|
|
|
identical output on all output media while taking advantage of display
|
|
|
|
hardware acceleration when available (eg. through the X Render
|
|
|
|
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-07-06 14:35:17 +00:00
|
|
|
Requires: libpixman-devel >= %{libpixman_version}
|
2005-06-26 19:50:33 +00:00
|
|
|
Requires: xorg-x11-devel
|
|
|
|
Requires: libpng-devel
|
|
|
|
Requires: freetype-devel >= %{freetype_version}
|
|
|
|
Requires: fontconfig-devel >= %{fontconfig_version}
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Developmental libraries and header files required for developing or
|
|
|
|
compiling software which links to the cairo library, which is an open
|
|
|
|
source vector graphics library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2005-01-23 22:24:36 +00:00
|
|
|
%configure --enable-warnings --disable-glitz --disable-quartz \
|
2005-06-21 01:37:48 +00:00
|
|
|
--disable-atsui --disable-xcb --disable-win32 \
|
|
|
|
--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
|
|
|
|
2004-11-12 21:44:30 +00:00
|
|
|
%makeinstall
|
2005-06-21 17:12:39 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
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,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
|
|
|
|
|
|
|
|
%{_libdir}/libcairo*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-06-21 17:12:39 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libcairo*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_datadir}/gtk-doc/*
|
2004-11-12 21:44:30 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
in %post and %postun, don't pass CFLAGS to make.
|
|
|
|
|
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.
|