## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: tinyxml2 Version: 11.0.0 %global so_version 11 Release: %autorelease Summary: Simple, small and efficient C++ XML parser # The entire source is Zlib, except for certain files that do not contribute to # the licenses of the binary RPMs: License: Zlib # LicenseRef-Fedora-Public-Domain: # - resources/dream.xml: # https://gitlab.com/fedora/legal/fedora-license-data/-/issues/679 # MIT: # From Doxygen itself: # - docs/cookie.js # - docs/dynsections.js # - docs/menu.js # - docs/menudata.js # - docs/search/search.js # Inserted by Doxygen, from js-jquery, 3.6.0 as of this writing # - docs/jquery.js # Copied from Doxygen Awesome (doxygen-awesome-css) # - docs/clipboard.js SourceLicense: %{license} AND LicenseRef-Fedora-Public-Domain AND MIT URL: https://github.com/leethomason/tinyxml2 Source: %{url}/archive/%{version}/tinyxml2-%{version}.tar.gz # Remove extraneous +x bit from source files # https://github.com/leethomason/tinyxml2/commit/3a893e5757af701cb3a79f88bd5c3f5b5c348d0b Patch: %{url}/commit/3a893e5757af701cb3a79f88bd5c3f5b5c348d0b.patch # Upstream supports CMake, meson, and plain makefiles. Of these, CMake and # meson are reasonable choices; choosing CMake allows us to generate and # install .cmake files to be used by dependent packages, which is worthwhile. 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 tinyxml2 Requires: tinyxml2%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel This package contains the libraries and header files that are needed for writing applications with the tinyxml2 library. %prep %autosetup -p1 # Demonstrate that bundled JS/CSS sources from pre-rendered HTML documentation # do not contribute to the binary RPMs: rm -rv docs/ %conf %cmake %build %cmake_build %install %cmake_install %check %ctest %files %license LICENSE.txt %doc readme.md %{_libdir}/libtinyxml2.so.%{so_version}{,.*} %files devel %{_includedir}/tinyxml2.h %{_libdir}/libtinyxml2.so %{_libdir}/pkgconfig/tinyxml2.pc %{_libdir}/cmake/tinyxml2/ %changelog ## START: Generated by rpmautospec * Fri Aug 15 2025 Benjamin A. Beasley - 11.0.0-1 - Update to 11.0.0 (close RHBZ#2350891) - Fixes CVE-2024-50614; closes RHBZ#2322189 * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-18 - Audit and document source licenses * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-17 - Run %%cmake in %%conf rather than %%build * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-16 - Fix missing license file * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-15 - Add an .rpmlintrc file * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-13 - Do not number the sole Source * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-12 - Reflow the package description * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-10 - Fix executable sources with a patch rather than a script * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-8 - Drop unnecessary -DBUILD_STATIC_LIBS=OFF * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-7 - Remove direct BR on make * Fri Aug 15 2025 Benjamin A. Beasley - 10.0.0-5 - Update License to SPDX * Fri Jul 25 2025 Fedora Release Engineering - 10.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 10.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Nov 11 2024 Dominik Mierzejewski - 10.0.0-1 - updated to 10.0.0 (resolves rhbz#2256358) * Sat Jul 20 2024 Fedora Release Engineering - 9.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 9.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 9.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 9.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 25 2022 Rich Mattes - 9.0.0-1 - Update to release 9.0.0 (Resolves: 1742663) * Sat Jul 23 2022 Fedora Release Engineering - 7.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 7.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 7.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 7.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * 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. ## END: Generated by rpmautospec