2013-08-13 20:43:28 +00:00
|
|
|
Name: tinyxml2
|
2018-11-27 11:59:46 +00:00
|
|
|
Version: 7.0.1
|
2021-01-27 21:59:50 +00:00
|
|
|
Release: 6%{?dist}
|
2013-08-13 20:43:28 +00:00
|
|
|
Summary: Simple, small and efficient C++ XML parser
|
|
|
|
|
|
|
|
License: zlib
|
2018-11-27 11:59:46 +00:00
|
|
|
URL: https://github.com/leethomason/tinyxml2
|
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
2013-10-14 08:30:08 +00:00
|
|
|
|
2021-01-08 22:37:38 +00:00
|
|
|
BuildRequires: make
|
2018-11-27 11:59:46 +00:00
|
|
|
BuildRequires: cmake >= 2.6
|
2018-07-09 17:06:52 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
%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
|
2016-05-21 23:37:08 +00:00
|
|
|
browsed and manipulated, and then written to disk or another output stream.
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) nor XSLs
|
2016-05-21 23:37:08 +00:00
|
|
|
(eXtensible Stylesheet Language).
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
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}
|
2018-11-27 11:59:46 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the libraries and header files that are needed
|
|
|
|
for writing applications with the %{name} library.
|
|
|
|
|
|
|
|
%prep
|
2018-11-27 11:59:46 +00:00
|
|
|
%autosetup
|
2013-08-13 20:43:28 +00:00
|
|
|
chmod -c -x *.cpp *.h
|
2018-01-22 23:23:25 +00:00
|
|
|
|
2013-08-13 20:43:28 +00:00
|
|
|
%build
|
2018-11-27 11:59:46 +00:00
|
|
|
%cmake . -B%{_vpath_builddir} -DBUILD_STATIC_LIBS=OFF
|
|
|
|
%make_build -C %{_vpath_builddir}
|
2013-08-13 20:43:28 +00:00
|
|
|
|
2016-05-21 23:37:08 +00:00
|
|
|
# Library tests were disabled in 3.0.0
|
|
|
|
#%check
|
|
|
|
#cd objdir
|
|
|
|
#make test
|
|
|
|
#export LD_LIBRARY_PATH=`pwd`
|
|
|
|
#./test
|
2013-08-13 20:43:28 +00:00
|
|
|
|
2018-01-22 23:23:25 +00:00
|
|
|
# and partially re-enabled in 6.0.0
|
|
|
|
%check
|
2018-11-27 11:59:46 +00:00
|
|
|
%make_build test -C %{_vpath_builddir}
|
2018-01-22 23:23:25 +00:00
|
|
|
|
2013-08-13 20:43:28 +00:00
|
|
|
%install
|
2018-11-27 11:59:46 +00:00
|
|
|
%make_install -C %{_vpath_builddir}
|
2013-10-14 08:30:08 +00:00
|
|
|
|
2018-02-03 11:46:10 +00:00
|
|
|
%ldconfig_scriptlets
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc readme.md
|
2018-11-27 11:59:46 +00:00
|
|
|
%{_libdir}/lib%{name}.so.7*
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{name}.h
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2018-11-27 11:59:46 +00:00
|
|
|
%{_libdir}/cmake/%{name}/
|
2013-08-13 20:43:28 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-01-27 21:59:50 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 12:33:06 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 01:38:23 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 01:31:19 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 09:54:50 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-27 11:59:46 +00:00
|
|
|
* Tue Nov 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-1
|
|
|
|
- Update to 7.0.1
|
|
|
|
|
2018-07-14 07:37:31 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 19:02:19 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 11:46:10 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-2
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2018-01-22 23:23:25 +00:00
|
|
|
* Mon Jan 22 2018 François Cami <fcami@fedoraproject.org> - 6.0.0-1
|
|
|
|
- Update to latest upstream (rhbz#1357711)
|
|
|
|
|
2017-08-03 09:27:30 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:20:16 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:00:55 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-21 23:37:08 +00:00
|
|
|
* Sat May 21 2016 Rich Mattes <richmattes@gmail.com> - 3.0.0-1
|
|
|
|
- Update to release 3.0.0 (rhbz#1202166)
|
|
|
|
|
2016-02-05 01:40:16 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4.20140914git5321a0e
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 02:58:46 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3.20140914git5321a0e
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 16:12:08 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.0-2.20140914git5321a0e
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-01-05 15:01:37 +00:00
|
|
|
* Mon Jan 05 2015 François Cami <fcami@fedoraproject.org> - 2.2.0-1.20140914git5321a0e
|
|
|
|
- Update to 2.2.0.
|
|
|
|
|
2014-08-18 05:52:51 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4.20140406git6ee53e7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 08:37:18 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3.20140406git6ee53e7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-22 20:13:01 +00:00
|
|
|
* Thu May 22 2014 François Cami <fcami@fedoraproject.org> - 2.1.0-2.20140406git6ee53e7
|
|
|
|
- Bump release and make it build (switch GNUInstallDirs.cmake from sources to git).
|
|
|
|
|
2014-05-22 19:05:44 +00:00
|
|
|
* Sat May 17 2014 François Cami <fcami@fedoraproject.org> - 2.1.0-1.20140406git6ee53e7
|
|
|
|
- Update to 2.1.0.
|
|
|
|
|
2013-10-14 08:30:08 +00:00
|
|
|
* Mon Oct 14 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.0.11-4.20130805git0323851
|
|
|
|
- Patch to build in EPEL branches.
|
|
|
|
|
2013-08-13 20:43:28 +00:00
|
|
|
* Mon Aug 12 2013 François Cami <fcami@fedoraproject.org> - 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 <fcami@fedoraproject.org> - 1.0.11-2.20130805git0323851
|
|
|
|
- Fixes suggested by Ville Skyttä: drop -static, add check, etc.
|
|
|
|
|
|
|
|
* Sat Aug 10 2013 François Cami <fcami@fedoraproject.org> - 1.0.11-1.20130805git0323851
|
|
|
|
- Initial package.
|
|
|
|
|