Accepting request 103311 from home:vuntz:branches:GNOME:Factory
Really build introspection support OBS-URL: https://build.opensuse.org/request/show/103311 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=48
This commit is contained in:
parent
d07384f964
commit
abc62da1a2
@ -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
|
Tue Feb 7 11:17:28 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
29
librsvg.spec
29
librsvg.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: librsvg
|
Name: librsvg
|
||||||
Version: 2.35.2
|
Version: 2.35.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -47,7 +48,7 @@ http://www.w3c.org).
|
|||||||
%package -n librsvg-2-2
|
%package -n librsvg-2-2
|
||||||
Summary: A Library for Rendering SVG Data
|
Summary: A Library for Rendering SVG Data
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: System/Libraries
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: librsvg-64bit
|
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
|
graphics) data. This format has been specified by the W3C (see
|
||||||
http://www.w3c.org).
|
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
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0+
|
||||||
@ -70,6 +83,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Provides: librsvg2-devel = %{version}
|
Provides: librsvg2-devel = %{version}
|
||||||
Obsoletes: librsvg2-devel < %{version}
|
Obsoletes: librsvg2-devel < %{version}
|
||||||
Requires: librsvg-2-2 = %{version}
|
Requires: librsvg-2-2 = %{version}
|
||||||
|
Requires: typelib-1_0-Rsvg-2_0 = %{version}
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: librsvg-devel-64bit
|
Obsoletes: librsvg-devel-64bit
|
||||||
@ -124,7 +138,7 @@ touch aclocal.m4
|
|||||||
%build
|
%build
|
||||||
%configure\
|
%configure\
|
||||||
--disable-static\
|
--disable-static\
|
||||||
--with-svgz
|
--enable-introspection
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -149,7 +163,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n librsvg-2-2
|
%files -n librsvg-2-2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
|
%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
|
%files -n gdk-pixbuf-loader-rsvg
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -170,8 +188,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/librsvg-2.0/
|
%{_includedir}/librsvg-2.0/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/librsvg-2.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/librsvg-2.0.pc
|
||||||
|
%{_datadir}/gir-1.0/Rsvg-2.0.gir
|
||||||
%{_datadir}/gtk-doc/html/rsvg-2.0/
|
%{_datadir}/gtk-doc/html/rsvg-2.0/
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
# Own these repositories to not depend on gtk-doc while building:
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user