]> git.pld-linux.org Git - packages/librsvg.git/blobdiff - librsvg.spec
- updated to 2.50.4 (fixes RUSTSEC-2020-0146 in generic-array)
[packages/librsvg.git] / librsvg.spec
index 3797ad22fc8090d67a63222bbd2f64e2afdf096e..a1cc91e192a4e43ef30ba7a836a29281a5c95492 100644 (file)
@@ -1,11 +1,11 @@
 #
 # Conditional build
-%bcond_without apidocs         # disable gtk-doc
-%bcond_without static_libs     # don't build static library
+%bcond_without apidocs         # gtk-doc based API documentation
+%bcond_without static_libs     # static library
 %bcond_without vala            # Vala API (vala up to 0.38.x already contains librsvg-2.0.vapi)
 
 %define                mver    2.50
-%define                pver    1
+%define                pver    4
 Summary:       A Raph's Library for Rendering SVG Data
 Summary(pl.UTF-8):     Biblioteka Raph's SVG do renderowania danych SVG
 Summary(pt_BR.UTF-8):  Biblioteca SVG
@@ -17,8 +17,8 @@ Release:      1
 Epoch:         1
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/librsvg/%{mver}/%{name}-%{version}.tar.xz
-# Source0-md5: 61624dced1f1a53383cf72e752e154a4
+Source0:       https://download.gnome.org/sources/librsvg/%{mver}/%{name}-%{version}.tar.xz
+# Source0-md5: 94764e3dfbf9392afc986a42f2af0639
 Source1:       rsvg
 Patch0:                x32.patch
 Patch1:                %{name}-gtkdoc.patch
@@ -44,6 +44,7 @@ BuildRequires:        libtool >= 2:2.0
 BuildRequires: libxml2-devel >= 1:2.9.0
 BuildRequires: pango-devel >= 1:1.38.0
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: rust >= 1.40
@@ -60,13 +61,13 @@ Requires:   harfbuzz >= 2.0.0
 Requires:      libcroco >= 0.6.1
 Requires:      libxml2 >= 1:2.9.0
 Requires:      pango >= 1:1.38.0
-Obsoletes:     browser-plugin-librsvg
-Obsoletes:     librsvg-gtk+2
-Obsoletes:     librsvg-gtk+3
+Obsoletes:     browser-plugin-librsvg < 1:2.15
+Obsoletes:     librsvg-gtk+2 < 1:2.40
+Obsoletes:     librsvg-gtk+3 < 1:2.46
 Obsoletes:     librsvg0
-Obsoletes:     mozilla-plugin-rsvg
+Obsoletes:     mozilla-plugin-rsvg < 1:2.16.1
 # rust archs
-ExclusiveArch: %{x8664} %{ix86} x32 aarch64
+ExclusiveArch: %{x8664} %{ix86} x32 aarch64 armv6hl armv7hl armv7hnl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # see gdk-pixbuf2.spec for source of these ifdefs
@@ -151,7 +152,7 @@ Summary:    librsvg API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki librsvg
 Group:         Documentation
 Requires:      gtk-doc-common
-%{?noarchpackage}
+BuildArch:     noarch
 
 %description apidocs
 librsvg API documentation.
@@ -165,7 +166,7 @@ Summary(pl.UTF-8):  API jÄ™zyka Vala do biblioteki librsvg
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Requires:      vala >= 2:0.40
-%{?noarchpackage}
+BuildArch:     noarch
 
 %description -n vala-librsvg
 Vala API for librsvg library.
This page took 0.047558 seconds and 4 git commands to generate.