parent
6e04d0fc3c
commit
e46774c71a
@ -0,0 +1,142 @@
|
||||
#global prerel rc
|
||||
|
||||
Name: pugixml
|
||||
Version: 1.9
|
||||
Release: 1%{?dist}
|
||||
Summary: A light-weight C++ XML processing library
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: http://pugixml.org
|
||||
|
||||
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
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
|
||||
|
||||
# Install optional items.
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}/contrib
|
||||
install -p -m 0644 contrib/* %{buildroot}%{_datadir}/%{name}/contrib/
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%doc readme.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/cmake/pugixml/
|
||||
%{_datadir}/%{name}
|
||||
%{_includedir}/*.hpp
|
||||
|
||||
%files doc
|
||||
%doc docs/*
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
Loading…
Reference in new issue