[packages/libxml++5] - updated to 5.0.0 as libxml++5 (C++17 based, glibmm-free)

qboosh qboosh at pld-linux.org
Mon Dec 21 21:05:07 CET 2020


commit 0d2b97197e29a0ef55c7d7314e962eccc732e9e1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Dec 21 21:05:43 2020 +0100

    - updated to 5.0.0 as libxml++5 (C++17 based, glibmm-free)

 libxml++4.spec => libxml++5.spec | 32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)
---
diff --git a/libxml++4.spec b/libxml++5.spec
similarity index 81%
rename from libxml++4.spec
rename to libxml++5.spec
index 9497288..7e3e955 100644
--- a/libxml++4.spec
+++ b/libxml++5.spec
@@ -2,21 +2,19 @@
 # Conditional build:
 %bcond_without	static_libs	# static library
 #
-%define	glibmm_ver	2.68.0
 Summary:	C++ interface for working with XML files
 Summary(pl.UTF-8):	Interfejs C++ do pracy z plikami XML
-Name:		libxml++4
-Version:	4.0.0
+Name:		libxml++5
+Version:	5.0.0
 Release:	1
 License:	LGPL v2.1
 Group:		Libraries
-Source0:	https://download.gnome.org/sources/libxml++/4.0/libxml++-%{version}.tar.xz
-# Source0-md5:	9612653c27f162ec1e62edda16268229
+Source0:	https://download.gnome.org/sources/libxml++/5.0/libxml++-%{version}.tar.xz
+# Source0-md5:	4153c04b2215696e8fb3cc1ae9ccdfdf
 URL:		http://libxmlplusplus.sourceforge.net/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	doxygen >= 1:1.8.9
-BuildRequires:	glibmm2.68-devel >= %{glibmm_ver}
 BuildRequires:	libstdc++-devel >= 6:7
 BuildRequires:	libtool >= 2:2.2.6
 BuildRequires:	libxml2-devel >= 1:2.7.7
@@ -25,7 +23,6 @@ BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
-Requires:	glibmm2.68 >= %{glibmm_ver}
 Requires:	libxml2 >= 1:2.7.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,7 +37,6 @@ Summary:	Header files for libxml++
 Summary(pl.UTF-8):	Pliki nagłówkowe do libxml++
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	glibmm2.68-devel >= %{glibmm_ver}
 Requires:	libstdc++-devel >= 6:7
 Requires:	libxml2-devel >= 1:2.7.7
 
@@ -110,7 +106,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libxml++-4.0.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libxml++-5.0.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -121,26 +117,26 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libxml++-4.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxml++-4.0.so.1
+%attr(755,root,root) %{_libdir}/libxml++-5.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libxml++-5.0.so.1
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxml++-4.0.so
-%{_libdir}/libxml++-4.0
-%{_includedir}/libxml++-4.0
-%{_pkgconfigdir}/libxml++-4.0.pc
+%attr(755,root,root) %{_libdir}/libxml++-5.0.so
+%{_libdir}/libxml++-5.0
+%{_includedir}/libxml++-5.0
+%{_pkgconfigdir}/libxml++-5.0.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libxml++-4.0.a
+%{_libdir}/libxml++-5.0.a
 %endif
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_datadir}/devhelp/books/libxml++-4.0
-%{_docdir}/libxml++-4.0
+%{_datadir}/devhelp/books/libxml++-5.0
+%{_docdir}/libxml++-5.0
 
 %files examples
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxml++5.git/commitdiff/0d2b97197e29a0ef55c7d7314e962eccc732e9e1



More information about the pld-cvs-commit mailing list