Updating link to change in openSUSE:Factory/cairo revision 33.0
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/cairo?expand=0&rev=7f4715abedccd1292043eec72dd6c31f
This commit is contained in:
committed by
Git OBS Bridge
parent
d396b5eee3
commit
874cfef810
65
cairo.spec
65
cairo.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package cairo (Version 1.9.14)
|
||||
# spec file for package cairo (Version 1.10.0)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -16,9 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%define build_xcb_backend 0
|
||||
%define build_gl_backend 0
|
||||
|
||||
Name: cairo
|
||||
Version: 1.9.14
|
||||
Version: 1.10.0
|
||||
Release: 1
|
||||
License: LGPLv2.1+ ; MPL ..
|
||||
Summary: Vector Graphics Library with Cross-Device Output Support
|
||||
@@ -31,14 +33,20 @@ Patch0: cairo-modules-no-version.patch
|
||||
# These libraries are needed only for tests.
|
||||
# Do not enable tests in build systems, it causes build loop!
|
||||
#BuildRequires: librsvg-devel poppler-devel
|
||||
%if %build_gl_backend
|
||||
BuildRequires: Mesa-devel
|
||||
%endif
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(pixman-1)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
%if %build_xcb_backend
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -68,6 +76,21 @@ in-memory image buffers, and PostScript. Cairo is designed to produce
|
||||
identical output on all output media while taking advantage of display
|
||||
hardware acceleration when available.
|
||||
|
||||
%package -n libcairo-gobject2
|
||||
Summary: Vector Graphics Library with Cross-Device Output Support
|
||||
License: LGPLv2.1+ ; MPL ..
|
||||
Group: Development/Libraries/X11
|
||||
|
||||
%description -n libcairo-gobject2
|
||||
Cairo is a vector graphics library with cross-device output support.
|
||||
Currently supported output targets include the X Window System,
|
||||
in-memory image buffers, and PostScript. Cairo is designed to produce
|
||||
identical output on all output media while taking advantage of display
|
||||
hardware acceleration when available.
|
||||
|
||||
This library contains GType declarations for Cairo types. It is also
|
||||
meant to support gobject-introspection binding creation.
|
||||
|
||||
%package -n libcairo-script-interpreter2
|
||||
Summary: Vector Graphics Library with Cross-Device Output Support
|
||||
License: LGPLv2.1+ ; MPL ..
|
||||
@@ -80,14 +103,17 @@ in-memory image buffers, and PostScript. Cairo is designed to produce
|
||||
identical output on all output media while taking advantage of display
|
||||
hardware acceleration when available.
|
||||
|
||||
%package utils
|
||||
%package tools
|
||||
Summary: Vector Graphics Library with Cross-Device Output Support -- Utilities
|
||||
License: LGPLv2.1+ ; MPL ..
|
||||
Group: Development/Libraries/X11
|
||||
# We need an explicit requires since nothing links to the cairo library
|
||||
Requires: libcairo2 = %{version}
|
||||
# Named changed during development of 11.4
|
||||
Provides: %{name}-utils = %{version}
|
||||
Obsoletes: %{name}-utils < %{version}
|
||||
|
||||
%description utils
|
||||
%description tools
|
||||
Cairo is a vector graphics library with cross-device output support.
|
||||
Currently supported output targets include the X Window System,
|
||||
in-memory image buffers, and PostScript. Cairo is designed to produce
|
||||
@@ -101,6 +127,7 @@ License: LGPLv2.1+ ; MPL ..
|
||||
Summary: Development environment for cairo
|
||||
Group: Development/Libraries/X11
|
||||
Requires: libcairo2 = %{version}
|
||||
Requires: libcairo-gobject2 = %{version}
|
||||
Requires: libcairo-script-interpreter2 = %{version}
|
||||
Provides: cairo-doc = %{version}
|
||||
Obsoletes: cairo-doc < %{version}
|
||||
@@ -122,11 +149,21 @@ cairo.
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%configure \
|
||||
--with-pic \
|
||||
--enable-fc \
|
||||
--enable-ft \
|
||||
%if %build_gl_backend
|
||||
--enable-gl \
|
||||
%endif
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-xcb \
|
||||
--enable-svg \
|
||||
--enable-script \
|
||||
--enable-svg \
|
||||
--enable-tee \
|
||||
%if %build_xcb_backend
|
||||
--enable-xcb \
|
||||
%else
|
||||
--enable-xlib \
|
||||
%endif
|
||||
--disable-gtk-doc \
|
||||
--disable-static
|
||||
%{__make} %{?jobs:-j %jobs}
|
||||
@@ -141,6 +178,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%postun -n libcairo2 -p /sbin/ldconfig
|
||||
|
||||
%post -n libcairo-gobject2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcairo-gobject2 -p /sbin/ldconfig
|
||||
|
||||
%post -n libcairo-script-interpreter2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcairo-script-interpreter2 -p /sbin/ldconfig
|
||||
@@ -153,22 +194,28 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog NEWS README
|
||||
%{_libdir}/libcairo.so.*
|
||||
|
||||
%files -n libcairo-gobject2
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libcairo-gobject.so.2*
|
||||
|
||||
%files -n libcairo-script-interpreter2
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libcairo-script-interpreter.so.*
|
||||
|
||||
%files utils
|
||||
%files tools
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/cairo-sphinx
|
||||
%{_bindir}/cairo-trace
|
||||
%dir %{_libdir}/cairo
|
||||
%{_libdir}/cairo/libcairo-trace.so
|
||||
%{_libdir}/cairo/cairo-fdr.so
|
||||
%{_libdir}/cairo/cairo-sphinx.so
|
||||
%{_libdir}/cairo/libcairo-trace.so
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc PORTING_GUIDE
|
||||
%doc %{_datadir}/gtk-doc/html/cairo
|
||||
%{_includedir}/cairo
|
||||
%{_includedir}/cairo/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%if 0%{?suse_version} <= 1110
|
||||
|
Reference in New Issue
Block a user