[packages/gxml] Update to 0.12.0 (note: new soname)
megabajt
megabajt at pld-linux.org
Sun Oct 2 22:28:56 CEST 2016
commit 4106a0a1d488a4eaf57298dd34236578cf2ec588
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sun Oct 2 22:27:50 2016 +0200
Update to 0.12.0 (note: new soname)
- removed obsolete -bug770449 and -docs patches
gxml-bug770449.patch | 13 ---------
gxml-docs.patch | 76 ----------------------------------------------------
gxml.spec | 38 ++++++++++++--------------
3 files changed, 17 insertions(+), 110 deletions(-)
---
diff --git a/gxml.spec b/gxml.spec
index a3582f6..32c086e 100644
--- a/gxml.spec
+++ b/gxml.spec
@@ -6,16 +6,14 @@
Summary: GXml - GObject API that wraps around libxml2
Summary(pl.UTF-8): GXml - API GObject obudowujące libxml2
Name: gxml
-Version: 0.10.0
-Release: 2
+Version: 0.12.0
+Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gxml/0.10/%{name}-%{version}.tar.xz
-# Source0-md5: a268a60a6bc9fbad3f0fd580a0a93538
-Patch0: %{name}-bug770449.patch
-Patch1: %{name}-missing.patch
-Patch2: %{name}-docs.patch
-Patch3: %{name}-normalize.patch
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gxml/0.12/%{name}-%{version}.tar.xz
+# Source0-md5: 203922473ca4c37dc7fef54b32764b91
+Patch0: %{name}-missing.patch
+Patch1: %{name}-normalize.patch
URL: https://github.com/GNOME/gxml
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.11
@@ -101,8 +99,6 @@ Dokumentacja API biblioteki GXml.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%build
%{__intltoolize}
@@ -127,7 +123,7 @@ rm -rf $RPM_BUILD_ROOT
gxmlgtkdocdir=%{_gtkdocdir}/gxml
# obsoleted by pkg-config
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgxml-0.10.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgxml-0.12.la
# packaged as %doc
%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
@@ -147,27 +143,27 @@ rm -rf $RPM_BUILD_ROOT
%files -f GXml.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libgxml-0.10.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgxml-0.10.so.10
-%{_libdir}/girepository-1.0/GXml-0.10.typelib
+%attr(755,root,root) %{_libdir}/libgxml-0.12.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgxml-0.12.so.12
+%{_libdir}/girepository-1.0/GXml-0.12.typelib
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgxml-0.10.so
-%{_includedir}/gxml-0.10
-%{_datadir}/gir-1.0/GXml-0.10.gir
-%{_pkgconfigdir}/gxml-0.10.pc
+%attr(755,root,root) %{_libdir}/libgxml-0.12.so
+%{_includedir}/gxml-0.12
+%{_datadir}/gir-1.0/GXml-0.12.gir
+%{_pkgconfigdir}/gxml-0.12.pc
%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/libgxml-0.10.a
+%{_libdir}/libgxml-0.12.a
%endif
%files -n vala-gxml
%defattr(644,root,root,755)
-%{_datadir}/vala/vapi/gxml-0.10.deps
-%{_datadir}/vala/vapi/gxml-0.10.vapi
+%{_datadir}/vala/vapi/gxml-0.12.deps
+%{_datadir}/vala/vapi/gxml-0.12.vapi
%if %{with apidocs}
%files apidocs
diff --git a/gxml-bug770449.patch b/gxml-bug770449.patch
deleted file mode 100644
index 1a3478d..0000000
--- a/gxml-bug770449.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gxml-0.10.0/gxml/libxml-NamedAttrMap.vala.orig 2016-02-22 20:23:53.000000000 +0100
-+++ gxml-0.10.0/gxml/libxml-NamedAttrMap.vala 2016-09-23 20:55:54.587484135 +0200
-@@ -32,8 +32,8 @@
- * {@link Gee.Iterable} interfaces.
- */
- public abstract class AbstractNamedAttrMap : Object,
-- Traversable<Entry<string,GXml.Attribute>>,
-- Iterable<Entry<string,GXml.Attribute>>
-+ Traversable<Entry>,
-+ Iterable<Entry>
- {
- protected xElement elem;
-
diff --git a/gxml-docs.patch b/gxml-docs.patch
deleted file mode 100644
index 327dc53..0000000
--- a/gxml-docs.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- gxml-0.10.0/gxml/gxml-init.vala.orig 2015-11-04 20:13:59.000000000 +0100
-+++ gxml-0.10.0/gxml/gxml-init.vala 2016-09-23 21:49:12.100780960 +0200
-@@ -1,4 +1,4 @@
--/**
-+/*
- * GXml
- *
- * Authors:
-@@ -6,21 +6,21 @@
- * Daniel Espinosa <esodan at gmail.com>
- *
- *
-- * Copyright (c) 2015 Daniel Espinosa
-- *
-- * This library is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU Lesser General Public
-- * License as published by the Free Software Foundation; either
-- * version 3 of the License, or (at your option) any later version.
-- *
-- * This library is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- * Lesser General Public License for more details.
-- *
-- * You should have received a copy of the GNU Lesser General Public
-- * License along with this library; if not, write to the Free Software
-- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+ * Copyright (c) 2015 Daniel Espinosa
-+ *
-+ * This library is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU Lesser General Public
-+ * License as published by the Free Software Foundation; either
-+ * version 3 of the License, or (at your option) any later version.
-+ *
-+ * This library is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ * Lesser General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU Lesser General Public
-+ * License along with this library; if not, write to the Free Software
-+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- namespace GXml {
- class Init {
-@@ -33,4 +33,4 @@
- }
- }
- }
--}
-\ No newline at the end of file
-+}
---- gxml-0.10.0/docs/valadoc/gtk-doc/Makefile.am.orig 2015-11-04 20:13:59.000000000 +0100
-+++ gxml-0.10.0/docs/valadoc/gtk-doc/Makefile.am 2016-09-23 21:38:45.854121445 +0200
-@@ -12,7 +12,8 @@
- --pkg gee-0.8 \
- --vapidir=$(top_srcdir)/gxml \
- --vapidir=$(top_srcdir)/vapi \
-- $(top_srcdir)/vapi/xlibxml-1.0.vapi
-+ $(top_srcdir)/vapi/xlibxml-1.0.vapi \
-+ $(top_srcdir)/vapi/config.vapi
-
- sources= \
- $(top_srcdir)/gxml/*.vala
---- gxml-0.10.0/docs/valadoc/gir-docs/Makefile.am.orig 2015-07-08 20:11:44.000000000 +0200
-+++ gxml-0.10.0/docs/valadoc/gir-docs/Makefile.am 2016-09-23 21:51:31.140779742 +0200
-@@ -12,7 +12,8 @@
- --pkg gee-0.8 \
- --vapidir=$(top_srcdir)/gxml \
- --vapidir=$(top_srcdir)/vapi \
-- $(top_srcdir)/vapi/xlibxml-1.0.vapi
-+ $(top_srcdir)/vapi/xlibxml-1.0.vapi \
-+ $(top_srcdir)/vapi/config.vapi
-
- sources= \
- $(top_srcdir)/gxml/*.vala
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gxml.git/commitdiff/4106a0a1d488a4eaf57298dd34236578cf2ec588
More information about the pld-cvs-commit
mailing list