forked from pool/tinyxml2
Accepting request 896648 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/896648 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tinyxml2?expand=0&rev=6
This commit is contained in:
commit
8586aede17
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ce574fbb46751842d23089485ae73d3db12c1b6639cda7721bf3a7ee862012c
|
||||
size 593833
|
3
tinyxml2-8.1.0.tar.gz
Normal file
3
tinyxml2-8.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23c95af3b981cf9a56c7f669505832c93427cb684811bcb6c9311bd18fa9bc30
|
||||
size 619733
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tinyxml2
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,14 +19,14 @@
|
||||
%define so_version 8
|
||||
%define lib_package lib%{name}-%{so_version}
|
||||
Name: tinyxml2
|
||||
Version: 8.0.0
|
||||
Version: 8.1.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#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
@ -66,7 +66,7 @@ developing applications that use libtinyxml2.
|
||||
|
||||
%build
|
||||
%cmake
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -74,22 +74,22 @@ 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}/usr/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
|
||||
mv %{buildroot}%{_prefix}/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
|
||||
fi
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
%make_build test
|
||||
|
||||
%post -n %{lib_package} -p /sbin/ldconfig
|
||||
%postun -n %{lib_package} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lib_package}
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE.txt
|
||||
%doc readme.md
|
||||
%{_libdir}/libtinyxml2.so.%{so_version}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE.txt
|
||||
%{_includedir}/tinyxml2.h
|
||||
%{_libdir}/libtinyxml2.so
|
||||
%{_libdir}/pkgconfig/tinyxml2.pc
|
||||
|
Loading…
Reference in New Issue
Block a user