diff --git a/librsvg.changes b/librsvg.changes index 0a8ff10..ba529d2 100644 --- a/librsvg.changes +++ b/librsvg.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Feb 8 11:09:51 UTC 2012 - vuntz@opensuse.org + +- Really build introspection support: + + Pass --enable-introspection to configure. + + Add typelib-1_0-Rsvg-2_0 subpackage. + + Add typelib-1_0-Rsvg-2_0 Requires to devel subpackage. +- Stop passing non-existing --with-svgz option to configure. +- Change group of librsvg-2-2 from Development/Libraries/C and C++ + to System/Libraries. + ------------------------------------------------------------------- Tue Feb 7 11:17:28 UTC 2012 - vuntz@opensuse.org diff --git a/librsvg.spec b/librsvg.spec index 108bb33..1896119 100644 --- a/librsvg.spec +++ b/librsvg.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: librsvg Version: 2.35.2 Release: 0 @@ -47,7 +48,7 @@ http://www.w3c.org). %package -n librsvg-2-2 Summary: A Library for Rendering SVG Data License: LGPL-2.0+ -Group: Development/Libraries/C and C++ +Group: System/Libraries # bug437293 %ifarch ppc64 Obsoletes: librsvg-64bit @@ -63,6 +64,18 @@ This package contains a library to render SVG (scalable vector graphics) data. This format has been specified by the W3C (see http://www.w3c.org). +%package -n typelib-1_0-Rsvg-2_0 +Summary: A Library for Rendering SVG Data -- Introspection bindings +License: LGPL-2.0+ +Group: System/Libraries + +%description -n typelib-1_0-Rsvg-2_0 +This package contains a library to render SVG (scalable vector +graphics) data. This format has been specified by the W3C (see +http://www.w3c.org). + +This package provides the GObject Introspection bindings for librsvg. + %package devel Summary: Include Files and Libraries mandatory for Development License: LGPL-2.0+ @@ -70,6 +83,7 @@ Group: Development/Libraries/C and C++ Provides: librsvg2-devel = %{version} Obsoletes: librsvg2-devel < %{version} Requires: librsvg-2-2 = %{version} +Requires: typelib-1_0-Rsvg-2_0 = %{version} # bug437293 %ifarch ppc64 Obsoletes: librsvg-devel-64bit @@ -124,7 +138,7 @@ touch aclocal.m4 %build %configure\ --disable-static\ - --with-svgz + --enable-introspection make %{?jobs:-j%jobs} %install @@ -149,7 +163,11 @@ rm -rf $RPM_BUILD_ROOT %files -n librsvg-2-2 %defattr(-,root,root) %doc AUTHORS COPYING.LIB ChangeLog NEWS README -%{_libdir}/*.so.* +%{_libdir}/librsvg-2.so.* + +%files -n typelib-1_0-Rsvg-2_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Rsvg-2.0.typelib %files -n gdk-pixbuf-loader-rsvg %defattr(-,root,root) @@ -170,8 +188,9 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %{_includedir}/librsvg-2.0/ -%{_libdir}/*.so -%{_libdir}/pkgconfig/*.pc +%{_libdir}/librsvg-2.so +%{_libdir}/pkgconfig/librsvg-2.0.pc +%{_datadir}/gir-1.0/Rsvg-2.0.gir %{_datadir}/gtk-doc/html/rsvg-2.0/ # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc