SHA256
1
0
forked from pool/wbxml2

Accepting request 1059438 from mobile:synchronization:FACTORY

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1059438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wbxml2?expand=0&rev=32
This commit is contained in:
2023-01-19 15:44:03 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35e2cf033066edebc0d96543c0bdde87273359e4f4e59291299d41e103bd6338
size 427429

3
libwbxml-0.11.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6fe0e55369280c1a7698859a5c2bb37c8615c57a919b574cd8c16458279db66
size 362833

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Dec 6 14:42:37 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.11.8:
* Changed location of releases to GitHub only in README.
* Change the default internal namespace separator from the colon to the pipe
This solves compatibility with libexpat >= 2.4.5 after fix the security
problem CVE-2022-25236.
* Removed copy of Expat in macosx directory (issue #77).
* Migrated from Travis CI to GitHub actions for testing.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 11 11:38:20 UTC 2021 - Bo Simonsen <bosim@opensuse.org> Sun Apr 11 11:38:20 UTC 2021 - Bo Simonsen <bosim@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package wbxml2 # spec file for package wbxml2
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
# set libname # set libname
%define libname libwbxml2-1 %define libname libwbxml2-1
Name: wbxml2 Name: wbxml2
BuildRequires: cmake Version: 0.11.8
BuildRequires: gcc-c++ Release: 0
BuildRequires: libexpat-devel
BuildRequires: pkg-config
BuildRequires: popt-devel
BuildRequires: zlib-devel
Url: http://libwbxml.opensync.org/
Summary: WBXML parser and compiler library Summary: WBXML parser and compiler library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Version: 0.11.7 URL: https://github.com/libwbxml/libwbxml
Release: 0
Source: https://github.com/libwbxml/libwbxml/archive/refs/tags/libwbxml-%{version}.tar.gz Source: https://github.com/libwbxml/libwbxml/archive/refs/tags/libwbxml-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libexpat-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: zlib-devel
%description %description
wbxml2 is a library that includes a WBXML (Wireless Binary XML) wbxml2 is a library that includes a WBXML (Wireless Binary XML)
@@ -57,12 +55,12 @@ representation of XML defined by the Wap Forum.
Summary: Tools for libwbxml2 Summary: Tools for libwbxml2
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Other Group: Productivity/Other
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
# package was called wbxml2 in openSUSE < 11.2 # package was called wbxml2 in openSUSE < 11.2
Provides: wbxml2 = %{version} Provides: wbxml2 = %{version}
Obsoletes: wbxml2 < %{version} Obsoletes: wbxml2 < %{version}
%description -n wbxml2-tools %description -n wbxml2-tools
wbxml2 is a library that includes a WBXML (Wireless Binary XML) wbxml2 is a library that includes a WBXML (Wireless Binary XML)
parser and a WBXML compiler. Unlike wbxml, it uses expat instead of parser and a WBXML compiler. Unlike wbxml, it uses expat instead of
libxml2. WBXML contains a library and its associated tools to parse, libxml2. WBXML contains a library and its associated tools to parse,
@@ -72,9 +70,11 @@ ecode and handle WBXML documents.
Summary: WBXML parser and compiler library Summary: WBXML parser and compiler library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libname} = %{version} glibc-devel libexpat-devel Requires: %{libname} = %{version}
Requires: glibc-devel
Requires: libexpat-devel
%description -n libwbxml2-devel %description -n libwbxml2-devel
wbxml2 is a library that includes a WBXML (Wireless Binary XML) wbxml2 is a library that includes a WBXML (Wireless Binary XML)
parser and a WBXML compiler. Unlike wbxml, it uses expat instead of parser and a WBXML compiler. Unlike wbxml, it uses expat instead of
libxml2. WBXML contains a library and its associated tools to parse, libxml2. WBXML contains a library and its associated tools to parse,
@@ -96,32 +96,29 @@ cmake \
-DLIB_SUFFIX=64 \ -DLIB_SUFFIX=64 \
%endif %endif
%{_builddir}/libwbxml-libwbxml-%{version} %{_builddir}/libwbxml-libwbxml-%{version}
make %{?_smp_mflags} VERBOSE=1 %make_build
popd popd
%install %install
pushd build pushd build
%makeinstall %make_install
popd popd
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname} %files -n %{libname}
%defattr(-, root, root) %license COPYING
%doc BUGS COPYING ChangeLog GNU-LGPL INSTALL README RELEASE References THANKS TODO %doc BUGS ChangeLog GNU-LGPL INSTALL README RELEASE References THANKS TODO
%{_libdir}/libwbxml2.so.1* %{_libdir}/libwbxml2.so.1*
%files -n libwbxml2-devel %files -n libwbxml2-devel
%defattr(-,root,root)
%{_datadir}/cmake/Modules/FindLibWbxml2.cmake %{_datadir}/cmake/Modules/FindLibWbxml2.cmake
%{_libdir}/pkgconfig/libwbxml2.pc %{_libdir}/pkgconfig/libwbxml2.pc
%{_libdir}/libwbxml2.so %{_libdir}/libwbxml2.so
%{_includedir}/libwbxml* %{_includedir}/libwbxml*
%files -n wbxml2-tools %files -n wbxml2-tools
%defattr(-,root,root)
%{_bindir}/wbxml2xml %{_bindir}/wbxml2xml
%{_bindir}/xml2wbxml %{_bindir}/xml2wbxml