You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
163 lines
5.1 KiB
163 lines
5.1 KiB
#global prerel rc
|
|
|
|
Name: pugixml
|
|
Version: 1.10
|
|
Release: 4%{?dist}
|
|
Summary: A light-weight C++ XML processing library
|
|
License: MIT
|
|
URL: http://pugixml.org
|
|
|
|
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source1: https://raw.githubusercontent.com/zeux/pugixml/master/LICENSE.md
|
|
|
|
BuildRequires: cmake gcc-c++
|
|
|
|
%description
|
|
pugixml is a light-weight C++ XML processing library.
|
|
It features:
|
|
- DOM-like interface with rich traversal/modification capabilities
|
|
- Extremely fast non-validating XML parser which constructs the DOM tree from
|
|
an XML file/buffer
|
|
- XPath 1.0 implementation for complex data-driven tree queries
|
|
- Full Unicode support with Unicode interface variants and automatic encoding
|
|
conversions
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for package %{name}
|
|
|
|
%package doc
|
|
Summary: Documentation for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description doc
|
|
Documentation for %{name}
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}%{?prerel:%{prerel}}
|
|
|
|
|
|
%build
|
|
rm -rf build && mkdir build && pushd build
|
|
export CXXFLAGS='%{optflags} -std=c++11'
|
|
%cmake ../
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
pushd build
|
|
%make_install
|
|
popd
|
|
|
|
# Removed upstream but should make it back next release.
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
%files
|
|
%doc readme.txt
|
|
%license LICENSE.md
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%{_libdir}/*.so
|
|
%{_libdir}/cmake/pugixml/
|
|
%{_libdir}/pkgconfig/pugixml.pc
|
|
%{_includedir}/*.hpp
|
|
|
|
%files doc
|
|
%doc docs/*
|
|
|
|
|
|
%changelog
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Sun Sep 15 2019 Richard Shaw <hobbes1069@gmail.com> - 1.10-1
|
|
- Update to 1.10.
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Apr 06 2018 Richard Shaw <hobbes1069@gmail.com> - 1.9-1
|
|
- Update to 1.9.
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Thu Nov 24 2016 Richard Shaw <hobbes1069@gmail.com> - 1.8-1
|
|
- Update to latest upstream release.
|
|
|
|
* Tue Sep 27 2016 Richard Shaw <hobbes1069@gmail.com> - 1.7-3
|
|
- Add build flags for c++11 for mkvtoolnix.
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Mon Oct 19 2015 Richard Shaw <hobbes1069@gmail.com> - 1.7-1
|
|
- Update to latest upstream release.
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat Apr 11 2015 Richard Shaw <hobbes1069@gmail.com> - 1.6-1
|
|
- Update to latest upstream release.
|
|
|
|
* Tue Feb 3 2015 Richard Shaw <hobbes1069@gmail.com> - 1.5-1
|
|
- Update to latest upstream release.
|
|
|
|
* Wed Sep 03 2014 Orion Poplawski <orion@cora.nwra.com> - 1.4-1
|
|
- Update to 1.4
|
|
- Split documentation out into -doc sub-package
|
|
- Add cmake export information
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu Jan 05 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0-2
|
|
- Rebuild for GCC 4.7.0.
|
|
|
|
* Fri Jul 08 2011 Richard Shaw <hobbes1069@gmail.com> - 1.0-1
|
|
- Initial Release
|