]> git.pld-linux.org Git - packages/librsvg.git/blobdiff - librsvg.spec
- updated to 2.52.2
[packages/librsvg.git] / librsvg.spec
index 3797ad22fc8090d67a63222bbd2f64e2afdf096e..87f6b7c8b9a356e96c41efbd89ae861358cfe494 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                mver    2.52
+%define                pver    2
 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,13 +17,13 @@ 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: dd86ac45603acb165a066a834c04f7cb
 Source1:       rsvg
 Patch0:                x32.patch
 Patch1:                %{name}-gtkdoc.patch
 URL:           http://librsvg.sourceforge.net/
-BuildRequires: autoconf >= 2.50
+BuildRequires: autoconf >= 2.69
 BuildRequires: automake >= 1:1.9
 BuildRequires: cairo-devel >= 1.16.0
 BuildRequires: cairo-gobject-devel >= 1.16.0
@@ -33,7 +33,6 @@ BuildRequires:        fontconfig-devel
 # pkgconfig(freetype) >= 20.0.14
 BuildRequires: freetype-devel >= 1:2.8
 BuildRequires: gdk-pixbuf2-devel >= 2.20
-BuildRequires: gettext-tools >= 0.19.8
 BuildRequires: glib2-devel >= 1:2.50.0
 BuildRequires: gobject-introspection-devel >= 0.10.8
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.13}
@@ -42,11 +41,12 @@ BuildRequires:      harfbuzz-devel >= 2.0.0
 BuildRequires: libcroco-devel >= 0.6.1
 BuildRequires: libtool >= 2:2.0
 BuildRequires: libxml2-devel >= 1:2.9.0
-BuildRequires: pango-devel >= 1:1.38.0
+BuildRequires: pango-devel >= 1:1.44.0
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.752
-BuildRequires: rust >= 1.40
+BuildRequires: rust >= 1.52
 BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
 %{?with_vala:BuildRequires:    vala >= 2:0.18}
@@ -59,14 +59,14 @@ Requires:   glib2 >= 1:2.50.0
 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
+Requires:      pango >= 1:1.44.0
+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
@@ -105,7 +105,7 @@ Requires:   gdk-pixbuf2-devel >= 2.20
 Requires:      glib2-devel >= 1:2.50.0
 Requires:      libcroco-devel >= 0.6.1
 Requires:      libxml2-devel >= 1:2.9.0
-Requires:      pango-devel >= 1:1.38.0
+Requires:      pango-devel >= 1:1.44.0
 Obsoletes:     librsvg0-devel
 
 %description devel
@@ -151,7 +151,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 +165,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.
@@ -228,8 +228,6 @@ rm -rf $RPM_BUILD_ROOT
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
 
-%find_lang %{name}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -245,7 +243,7 @@ if [ -x %{_bindir}/gdk-pixbuf-query-loaders%{pqext} ]; then
        %{_bindir}/gdk-pixbuf-query-loaders%{pqext} --update-cache
 fi
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS
 %attr(755,root,root) %{_bindir}/rsvg
This page took 0.081167 seconds and 4 git commands to generate.