SHA256
1
0
forked from pool/tinyxml2

Accepting request 561297 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/561297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tinyxml2?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-01-10 22:34:02 +00:00 committed by Git OBS Bridge
commit 3d5f0195d0
4 changed files with 38 additions and 19 deletions

View File

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

3
tinyxml2-6.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package tinyxml2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +16,12 @@
#
%define so_version 3
%define so_version 6
%define lib_package lib%{name}-%{so_version}
Name: tinyxml2
Version: 3.0.0
Version: 6.0.0
Release: 0
Summary: A simple, small, C++ XML parser
Summary: Basic XML parser in C++
License: Zlib
Group: Development/Libraries/C and C++
Url: https://github.com/leethomason/tinyxml2
@ -29,26 +29,27 @@ Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.g
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TinyXML is a simple, small, C++ XML parser that can be easily integrating
into other programs. Have you ever found yourself writing a text file parser
every time you needed to save human readable data or serialize objects?
TinyXML solves the text I/O file once and for all.
(Or, as a friend said, ends the Just Another Text File Parser problem.)
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: A simple, small, C++ XML parser
Summary: Basic XML parser in C++
License: Zlib
Group: System/Libraries
%description -n %{lib_package}
TinyXML is a simple, small, C++ XML parser that can be easily integrating
into other programs. Have you ever found yourself writing a text file parser
every time you needed to save human readable data or serialize objects?
TinyXML solves the text I/O file once and for all.
(Or, as a friend said, ends the Just Another Text File Parser problem.)
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
@ -70,6 +71,11 @@ make %{?_smp_mflags}
%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}%{_libexecdir}/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/%{name}
fi
%check
make %{?_smp_mflags} test
@ -87,5 +93,6 @@ make %{?_smp_mflags} test
%{_includedir}/tinyxml2.h
%{_libdir}/libtinyxml2.so
%{_libdir}/pkgconfig/tinyxml2.pc
%{_libdir}/cmake/tinyxml2
%changelog