fix .pc files
This commit is contained in:
parent
aa5a2dc285
commit
8359010bba
@ -3,12 +3,15 @@
|
|||||||
Name: librsvg2
|
Name: librsvg2
|
||||||
Summary: An SVG library based on cairo
|
Summary: An SVG library based on cairo
|
||||||
Version: 2.31.0
|
Version: 2.31.0
|
||||||
Release: 0.1.%{alphatag}%{?dist}
|
Release: 0.2.%{alphatag}%{?dist}
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/librsvg/2.31/librsvg-%{version}-%{alphatag}.tar.bz2
|
Source: http://download.gnome.org/sources/librsvg/2.31/librsvg-%{version}-%{alphatag}.tar.bz2
|
||||||
|
|
||||||
|
# upstream fix
|
||||||
|
Patch0: rsvg-pixbuf.patch
|
||||||
|
|
||||||
Requires(post): gdk-pixbuf2
|
Requires(post): gdk-pixbuf2
|
||||||
Requires(postun): gdk-pixbuf2
|
Requires(postun): gdk-pixbuf2
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
@ -48,6 +51,7 @@ files to allow you to develop with librsvg.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n librsvg-%{version}
|
%setup -q -n librsvg-%{version}
|
||||||
|
%patch0 -p1 -b .pixbuf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
GDK_PIXBUF_QUERYLOADERS=/usr/bin/gdk-pixbuf-query-loaders-%{__isa_bits}
|
GDK_PIXBUF_QUERYLOADERS=/usr/bin/gdk-pixbuf-query-loaders-%{__isa_bits}
|
||||||
@ -98,6 +102,9 @@ gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 30 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.0-0.2.20100628git
|
||||||
|
- Fix the .pc file to require gdk-pixbuf-2.0
|
||||||
|
|
||||||
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.0-0.1.20100628git
|
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.0-0.1.20100628git
|
||||||
- Update to a git snapshot that builds against standalone gdk-pixbuf
|
- Update to a git snapshot that builds against standalone gdk-pixbuf
|
||||||
- Drop librsvg3 package
|
- Drop librsvg3 package
|
||||||
|
12
rsvg-pixbuf.patch
Normal file
12
rsvg-pixbuf.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up librsvg-2.31.0/librsvg.pc.in.pixbuf librsvg-2.31.0/librsvg.pc.in
|
||||||
|
--- librsvg-2.31.0/librsvg.pc.in.pixbuf 2010-06-30 21:25:28.641806068 -0400
|
||||||
|
+++ librsvg-2.31.0/librsvg.pc.in 2010-06-30 21:25:53.882811376 -0400
|
||||||
|
@@ -9,7 +9,7 @@ css_supported=@CSS_SUPPORTED@
|
||||||
|
Name: librsvg
|
||||||
|
Description: library that renders svg files
|
||||||
|
Version: @VERSION@
|
||||||
|
-Requires: glib-2.0 gio-2.0 gdk-pixbuf-@GTK_API_VERSION@ cairo
|
||||||
|
+Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo
|
||||||
|
Requires.private:
|
||||||
|
Libs: -L${libdir} -lrsvg-@RSVG_API_MAJOR_VERSION@ -lm
|
||||||
|
Cflags: -I${includedir}/librsvg-@RSVG_API_VERSION@
|
Loading…
Reference in New Issue
Block a user