diff --git a/.gitignore b/.gitignore index 20ff429..d34f2fa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ libxml++-2.30.0.tar.bz2 /libxml++-2.38.1.tar.xz /libxml++-2.40.0.tar.xz /libxml++-2.40.1.tar.xz +/libxml++-2.42.0.tar.xz diff --git a/libxml++.spec b/libxml++.spec index 13dd65e..582dfd6 100644 --- a/libxml++.spec +++ b/libxml++.spec @@ -3,17 +3,21 @@ %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: libxml++ -Version: 2.40.1 -Release: 11%{?dist} +Version: 2.42.0 +Release: 1%{?dist} Summary: C++ wrapper for the libxml2 XML parser library License: LGPLv2+ URL: http://libxmlplusplus.sourceforge.net/ Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml++/%{release_version}/libxml++-%{version}.tar.xz +BuildRequires: docbook-style-xsl +BuildRequires: doxygen, graphviz BuildRequires: gcc-c++ -BuildRequires: libxml2-devel >= 2.6.1 -BuildRequires: glibmm24-devel >= 2.4.0 +BuildRequires: glibmm24-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt +BuildRequires: meson %description libxml++ is a C++ wrapper for the libxml2 XML parser library. Its original @@ -33,7 +37,6 @@ This package contains the headers and libraries for libxml++ development. %package doc Summary: Documentation for %{name}, includes full API docs BuildArch: noarch -BuildRequires: doxygen, graphviz Requires: %{name} = %{version}-%{release} Requires: glibmm24-doc @@ -46,12 +49,11 @@ This package contains the full API documentation for %{name}. sed -i s'#\r##' examples/dom_parser/example_with_namespace.xml %build -%configure --disable-static -make %{?_smp_mflags} +%meson -Dbuild-documentation=true +%meson_build %install -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name "*.la" -o -name '*.a' | xargs rm -f +%meson_install %ldconfig_scriptlets @@ -76,6 +78,10 @@ find $RPM_BUILD_ROOT -name "*.la" -o -name '*.a' | xargs rm -f %changelog +* Mon Oct 5 2020 Kalev Lember - 2.42.0-1 +- Update to 2.42.0 +- Switch to meson build system + * Tue Jul 28 2020 Fedora Release Engineering - 2.40.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 93eb0ed..30915ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -377a87bea899f2b4ff62df2418c3d8a6 libxml++-2.40.1.tar.xz +SHA512 (libxml++-2.42.0.tar.xz) = 2fca5dbea3a71caf3c1264dcbbc808ee92463aa93c64ff1252826275de927b6d5837c58c29e3c837c09b7b8776c818c7c7f568d4a2061df55546fe31def7db51