commit f9fd0cf2765d0b1c7170643ebd81b0692681165dc5cee66d5cfd3ca0c8ad603a Author: Jan Engelhardt Date: Tue Apr 7 12:03:06 2015 +0000 Accepting request 294685 from home:posophe:branches:devel:libraries:c_c++ Will be probably useful one day OBS-URL: https://build.opensuse.org/request/show/294685 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/3.0.0.tar.gz b/3.0.0.tar.gz new file mode 100644 index 0000000..c706a0d --- /dev/null +++ b/3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:128aa1553e88403833e0cccf1b651f45ce87bc207871f53fdcc8e7f9ec795747 +size 339620 diff --git a/tinyxml2.changes b/tinyxml2.changes new file mode 100644 index 0000000..d9e010c --- /dev/null +++ b/tinyxml2.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Apr 6 23:51:42 UTC 2015 - p.drouand@gmail.com + +- Initial release (version 3.0.0) + diff --git a/tinyxml2.spec b/tinyxml2.spec new file mode 100644 index 0000000..409c80c --- /dev/null +++ b/tinyxml2.spec @@ -0,0 +1,93 @@ +# +# spec file for package tinyxml2 +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define so_version 3 + +Name: tinyxml2 +Version: 3.0.0 +Release: 0 +%define lib_package lib%{name}-%{so_version} +Summary: A simple, small, C++ XML parser +License: Zlib +Group: System/Libraries +Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz +Url: https://github.com/leethomason/tinyxml2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: libtool + +%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.) + +%package -n %{lib_package} +Summary: A simple, small, C++ XML parser +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.) + +%package devel +Summary: Development files for libtinyxml2 +License: GPL-2.0+ +Group: Development/Libraries/C and C++ +Requires: %{lib_package} = %{version} +Suggests: %{name}-%{docs} + +%description devel +Contains libraries and header files for +developing applications that use libtinyxml2. + +%prep +%setup -q + +%build +%cmake +make %{?_smp_mflags} + +%install +cd build +%makeinstall +rm -f %{buildroot}%{_libdir}/*.la + +%post -n %{lib_package} -p /sbin/ldconfig + +%postun -n %{lib_package} -p /sbin/ldconfig + +%files -n %{lib_package} +%defattr(-,root,root,-) +%doc readme.md +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/pkgconfig/tinyxml2.pc +%{_libdir}/*.so + +%changelog