From e733cd2da0267979eae38c16c7c323f2f772197e Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 15 Oct 2020 12:54:01 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/tinyxml2#f36598aeb8e0136d34fa0dc2af9bc5bcb4921d17 --- .gitignore | 6 +++ sources | 1 + tinyxml2.spec | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 sources create mode 100644 tinyxml2.spec diff --git a/.gitignore b/.gitignore index e69de29..60010b8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/tinyxml2-1.0.11-0323851.tar.gz +/tinyxml2-2.1.0-6ee53e7.tar.gz +/tinyxml2-2.2.0-5321a0e.tar.gz +/tinyxml2-3.0.0-1977a72.tar.gz +/tinyxml2-6.0.0-8c8293b.tar.gz +/tinyxml2-7.0.1.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..17e06f8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tinyxml2-7.0.1.tar.gz) = 623cd7eff542d20b434a67111ac98110101c95a18767318bf906e5e56d8cc25622269f740f50477fe907a4c52d875b614cb6167f4760d42ab18dc55b9d4bf380 diff --git a/tinyxml2.spec b/tinyxml2.spec new file mode 100644 index 0000000..3a41ad5 --- /dev/null +++ b/tinyxml2.spec @@ -0,0 +1,144 @@ +Name: tinyxml2 +Version: 7.0.1 +Release: 5%{?dist} +Summary: Simple, small and efficient C++ XML parser + +License: zlib +URL: https://github.com/leethomason/tinyxml2 +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake >= 2.6 +BuildRequires: gcc +BuildRequires: gcc-c++ + +%description +TinyXML-2 is a simple, small, efficient, C++ XML parser that can be +easily integrated into other programs. It uses a Document Object Model +(DOM), meaning the XML data is parsed into a C++ objects that can be +browsed and manipulated, and then written to disk or another output stream. + +TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) nor XSLs +(eXtensible Stylesheet Language). + +TinyXML-2 uses a similar API to TinyXML-1, But the implementation of the +parser was completely re-written to make it more appropriate for use in a +game. It uses less memory, is faster, and uses far fewer memory allocations. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +This package contains the libraries and header files that are needed +for writing applications with the %{name} library. + +%prep +%autosetup +chmod -c -x *.cpp *.h + +%build +%cmake . -B%{_vpath_builddir} -DBUILD_STATIC_LIBS=OFF +%make_build -C %{_vpath_builddir} + +# Library tests were disabled in 3.0.0 +#%check +#cd objdir +#make test +#export LD_LIBRARY_PATH=`pwd` +#./test + +# and partially re-enabled in 6.0.0 +%check +%make_build test -C %{_vpath_builddir} + +%install +%make_install -C %{_vpath_builddir} + +%ldconfig_scriptlets + +%files +%doc readme.md +%{_libdir}/lib%{name}.so.7* + +%files devel +%{_includedir}/%{name}.h +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/cmake/%{name}/ + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 7.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 7.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 7.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 7.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Nov 27 2018 Igor Gnatenko - 7.0.1-1 +- Update to 7.0.1 + +* Sat Jul 14 2018 Fedora Release Engineering - 6.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 6.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 6.0.0-2 +- Switch to %%ldconfig_scriptlets + +* Mon Jan 22 2018 François Cami - 6.0.0-1 +- Update to latest upstream (rhbz#1357711) + +* Thu Aug 03 2017 Fedora Release Engineering - 3.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat May 21 2016 Rich Mattes - 3.0.0-1 +- Update to release 3.0.0 (rhbz#1202166) + +* Fri Feb 05 2016 Fedora Release Engineering - 2.2.0-4.20140914git5321a0e +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 2.2.0-3.20140914git5321a0e +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 2.2.0-2.20140914git5321a0e +- Rebuilt for GCC 5 C++11 ABI change + +* Mon Jan 05 2015 François Cami - 2.2.0-1.20140914git5321a0e +- Update to 2.2.0. + +* Mon Aug 18 2014 Fedora Release Engineering - 2.1.0-4.20140406git6ee53e7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 2.1.0-3.20140406git6ee53e7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 22 2014 François Cami - 2.1.0-2.20140406git6ee53e7 +- Bump release and make it build (switch GNUInstallDirs.cmake from sources to git). + +* Sat May 17 2014 François Cami - 2.1.0-1.20140406git6ee53e7 +- Update to 2.1.0. + +* Mon Oct 14 2013 Susi Lehtola - 1.0.11-4.20130805git0323851 +- Patch to build in EPEL branches. + +* Mon Aug 12 2013 François Cami - 1.0.11-3.20130805git0323851 +- Fixes by Susi Lehtola: build in a separate directory and don't build anything static. + +* Mon Aug 12 2013 François Cami - 1.0.11-2.20130805git0323851 +- Fixes suggested by Ville Skyttä: drop -static, add check, etc. + +* Sat Aug 10 2013 François Cami - 1.0.11-1.20130805git0323851 +- Initial package. +