File cairomm.spec of Package cairomm
#
# spec file for package cairomm (Version 1.6.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: cairomm
BuildRequires: cairo-devel
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
Version: 1.6.4
Release: 1
Url: http://cairographics.org
Group: System/GUI/GNOME
License: LGPL v2.1 or later
Summary: C++ Interface for Cairo
Source: %{name}-%{version}.tar.bz2
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides a C++ interface for Cairo.
Authors:
--------
Murray Cumming
Jonathon Jongsma
%package devel
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Summary: C++ interface for Cairo
Requires: %{name} = %{version} libstdc++-devel cairo-devel
%description devel
This package provides a C++ interface for Cairo.
Authors:
--------
Murray Cumming
Jonathon Jongsma
%prep
%setup -q
%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog
* Tue Sep 23 2008 maw@suse.de
- Update to version 1.6.4:
+ New API:
* wrap cairo_format_stride_for_width()
+ Fixed a bug where an exception message would often report
"Success" when it should have reported an error message
+ Added ability to get the error status code from an exception:
Cairo::logic_error::get_status_code()
+ Added new elements to the surface type enumeration
+ Bugs fixed: bfo#14559 and bfo#14558.
* Tue Jun 17 2008 crrodriguez@suse.de
- disable unusable static libraries
* Mon Mar 31 2008 vuntz@suse.de
- Update to version 1.4.8:
+ Bug fd.o #14559: build failure in exception.cc on Solaris with
Sun Workshop C++
+ Bug fd.o #14558: cairomm 1.4.6 context.cc needs math.h on
Solaris
- Changes from version 1.4.6:
+ Bug fd.o #11972: Cannot build cairomm with Quartz enabled
- Changes from version 1.4.4:
+ Added the --enable-api-exceptions=yes/no configure option, to
allow cairomm to build when exceptions are disabled. For
instance, when using CXXFLAGS=-fno-exceptions with g++.
- Changes from version 1.4.2:
+ Bug fd.o #11596: Fixed broken shared library versioning
+ Bug fd.o #8511: RefPtr: refcounting broken with cast_*()
methods
- Changes from version 1.4.0:
+ Wrapped new API added in cairo 1.4
+ Added support for Quartz surfaces
+ ability to use dynamic casting for surfaces and patterns
returned from Context::get_target(), Context::get_source(),
etc.
+ Various build and bug fixes
- Changes from version 1.2.4:
+ Fixed an error that prevented Cairo::RefPtr<>::cast_static()
and Cairo::RefPtr<>::cast_dynamic() from compiling.
- Stop using %%run_ldconfig and run /sbin/ldconfig directly.
* Fri Jan 12 2007 sbrabec@suse.cz
- Spec file cleanup.
* Sun Jan 07 2007 ro@suse.de
- GNOME moved to /usr
* Mon Sep 18 2006 jhargadon@suse.de
- Initial SuSE package version 1.2.2