]> git.pld-linux.org Git - packages/cairo.git/commitdiff
- do not require glib2-devel, simply remove gobject and glib references from
authorsparky <sparky@pld-linux.org>
Sun, 23 Jan 2011 14:07:51 +0000 (14:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  cairo.pc
- release: 4

Changed files:
    cairo.spec -> 1.122

cairo.spec

index a76575eb7bab94ae1f117c0df5863b67553120ff..2eb768e7d995952e9bed6aa84daf292d17ee516a 100644 (file)
@@ -12,7 +12,7 @@ Summary:      Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:          cairo
 Version:       1.10.2
-Release:       3
+Release:       4
 License:       LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{name}-%{version}.tar.gz
@@ -33,6 +33,7 @@ BuildRequires:        pixman-devel >= 0.18.4
 BuildRequires: pkgconfig >= 1:0.9
 BuildRequires: poppler-glib-devel >= 0.13.3
 BuildRequires: rpm >= 4.4.9-56
+BuildRequires: sed >= 4.0
 %if %{with xcb}
 BuildRequires: libxcb-devel >= 1.4
 %endif
@@ -82,7 +83,6 @@ Group:                Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      fontconfig-devel >= 2.2.95
 Requires:      freetype-devel >= 1:2.3.0
-Requires:      glib2-devel >= 1:2.0
 Requires:      libpng-devel >= 2:1.4.0
 %{?with_xcb:Requires:  libxcb-devel >= 1.4}
 Requires:      pixman-devel >= 0.18.4
@@ -193,6 +193,9 @@ Dokumentacja API Cairo.
        --enable-ps \
        %{?with_xcb:--enable-xcb} \
        --with-html-dir=%{_gtkdocdir}
+
+%{__sed} -i 's/gobject-2.0 glib-2.0//' src/cairo.pc
+
 %{__make}
 %{?with_tests:%{__make} check}
 
This page took 0.124049 seconds and 4 git commands to generate.