[info=8c5148fbdf96e10538863c946b4996eb502dca2ba073a9da8c91f83fd6351b3e]

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml2?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2024-08-19 07:56:50 +00:00 committed by Git OBS Bridge
commit 5d52b48c39
7 changed files with 198 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
10.0.0.tar.gz Normal file
View File

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

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1716221378
commit: 8c5148fbdf96e10538863c946b4996eb502dca2ba073a9da8c91f83fd6351b3e
url: https://src.opensuse.org/jengelh/tinyxml2
revision: master

3
build.specials.obscpio Normal file
View File

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

67
tinyxml2.changes Normal file
View File

@ -0,0 +1,67 @@
-------------------------------------------------------------------
Tue May 7 12:48:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 10
* Added function XMLNode::ChildElementCount
* Fix assertion "_elementPool.CurrentAllocs() ==
_elementPool.Untracked() failed"
-------------------------------------------------------------------
Sat Dec 11 18:58:30 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.0.0:
* fixes for other platforms
-------------------------------------------------------------------
Tue May 25 20:51:54 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 8.1.0:
* Add support for files larger than ~2GB
* Updates to hex value partsing
* XMLPrinter: Fix indentation of first line when called with
!compactMode
-------------------------------------------------------------------
Mon Aug 17 11:42:49 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 8.0.0:
three years of changes, see https://github.com/leethomason/tinyxml2/compare/6.0.0...8.0.0
for details
-------------------------------------------------------------------
Thu May 7 08:08:04 UTC 2020 - pgajdos@suse.com
- %{_libexecdir} is now /usr/libexec, so do not use it where
/usr/lib is intended
-------------------------------------------------------------------
Fri Dec 29 00:53:20 UTC 2017 - jengelh@inai.de
- Remove rhetoric write style from description.
Expand description on the features/limits of tinyxml.
-------------------------------------------------------------------
Mon Dec 25 21:08:55 UTC 2017 - p.drouand@gmail.com
- Update to version 6.0.0
+ No changelog available
-------------------------------------------------------------------
Tue Jul 12 07:50:05 UTC 2016 - mpluskal@suse.com
- Cleanup spec file
* run spec-cleaner
* drop not needed dependencies (libtool and doxygen)
* execute tests during build
* use pretty name for tarball
-------------------------------------------------------------------
Tue Apr 7 12:04:37 UTC 2015 - jengelh@inai.de
- Require pkg-config for pkgconfig() symbols to be generated.
- Drop suggestion for non-existant %name-docs subpackage.
-------------------------------------------------------------------
Mon Apr 6 23:51:42 UTC 2015 - p.drouand@gmail.com
- Initial release (version 3.0.0)

97
tinyxml2.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package tinyxml2
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_version 10
%define lib_package lib%{name}-%{so_version}
Name: tinyxml2
Version: 10.0.0
Release: 0
Summary: Basic XML parser in C++
License: Zlib
Group: Development/Libraries/C and C++
URL: https://github.com/leethomason/tinyxml2
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz
BuildRequires: cmake >= 3.15
BuildRequires: gcc-c++
BuildRequires: pkgconfig
%description
TinyXML is a feature-bounded XML parser in C++ that can be integrated
into other programs.
TinyXML-2 does not parse or use DTDs (Document Type Definitions) or
XSLs (eXtensible Stylesheet Language). There are other parsers (with
different footprints) to do such.
%package -n %{lib_package}
Summary: Basic XML parser in C++
License: Zlib
Group: System/Libraries
%description -n %{lib_package}
TinyXML is a feature-bounded XML parser in C++ that can be integrated
into other programs.
TinyXML-2 does not parse or use DTDs (Document Type Definitions) or
XSLs (eXtensible Stylesheet Language). There are other parsers (with
different footprints) to do such.
%package devel
Summary: Development files for libtinyxml2
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Requires: %{lib_package} = %{version}
%description devel
Contains libraries and header files for
developing applications that use libtinyxml2.
%prep
%autosetup -p1
%build
%cmake
%make_build
%install
%cmake_install
find %{buildroot} -type f -name "*.la" -delete -print
# /usr/lib/cmake is not owned by cmake; avoid any further conflicts
if [ ! -d "%{buildroot}/%{_libdir}/cmake/%{name}" ]; then
mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}
mv %{buildroot}%{_prefix}/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
fi
%check
%make_build test
%ldconfig_scriptlets -n %{lib_package}
%files -n %{lib_package}
%license LICENSE.txt
%doc readme.md
%{_libdir}/libtinyxml2.so.%{so_version}*
%files devel
%license LICENSE.txt
%{_includedir}/tinyxml2.h
%{_libdir}/libtinyxml2.so
%{_libdir}/pkgconfig/tinyxml2.pc
%{_libdir}/cmake/tinyxml2
%changelog