commit 7f27d14cfab1d2a83861b7414a8bd7a1807c2523
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Dec 25 18:06:40 2018 +0000
Update to 1.5.15
Move to wxGTK3 as request in rfbz#5068
.gitignore | 1 +
sources | 2 +-
wxsvg.spec | 20 +++++++++++---------
3 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bafec0a..01f395d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ wxsvg-1.5.5.tar.bz2
/wxsvg-1.5.10.tar.bz2
/wxsvg-1.5.11.tar.bz2
/wxsvg-1.5.12.tar.bz2
+/wxsvg-1.5.15.tar.bz2
diff --git a/sources b/sources
index 39b019e..b30797d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c822e0b7ea4a690b30e7b6711ce674fd wxsvg-1.5.12.tar.bz2
+e4834ccd4a077f0d3ef7c85931624957 wxsvg-1.5.15.tar.bz2
diff --git a/wxsvg.spec b/wxsvg.spec
index 7f9010f..08f3e30 100644
--- a/wxsvg.spec
+++ b/wxsvg.spec
@@ -1,6 +1,6 @@
Name: wxsvg
-Version: 1.5.12
-Release: 7%{?dist}
+Version: 1.5.15
+Release: 1%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
@@ -14,7 +14,7 @@ BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pango-devel
-BuildRequires: compat-wxGTK3-gtk2-devel
+BuildRequires: wxGTK3-devel
BuildRequires: libexif-devel
%description
@@ -30,7 +30,8 @@ provides the files required to develop programs that use wxsvg.
%prep
%setup -q
-%patch1 -p1
+# IIRC we just need patch1 if we use compat-wxGTK3-gtk2
+#patch1 -p1
%build
#clean autogenerated files before run autoreconf
@@ -39,18 +40,15 @@ rm m4/libtool.m4 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4
m4/ltversion.m4
autoreconf -i
%configure \
--disable-dependency-tracking \
- %if (0%{?fedora} && 0%{?fedora} < 28)
- --with-wx-config=/usr/bin/wx-config-3.0-gtk2 \
- %endif
--disable-static
%{__sed} -i
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-%{__make} %{?_smp_mflags}
+%make_build
%install
-%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
+%make_install
# Get rid of those .la files
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -72,6 +70,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
+* Tue Dec 25 2018 Sérgio Basto <sergio(a)serjux.com> - 1.5.15-1
+- Update to 1.5.15
+- Move to wxGTK3 as request in rfbz#5068
+
* Sun Aug 19 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.5.12-7
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
Show replies by date