[9277] | 1 | Name: pugixml |
---|
| 2 | Version: 1.4 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: A light-weight C++ XML processing library |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: MIT |
---|
| 7 | URL: http://pugixml.org |
---|
| 8 | |
---|
| 9 | Source0: http://github.com/zeux/pugixml/releases/download/v%{version}/pugixml-%{version}.tar.gz |
---|
| 10 | # Add pugixml-config.cmake |
---|
| 11 | # https://github.com/zeux/pugixml/pull/7 |
---|
| 12 | Patch0: pugixml-export.patch |
---|
| 13 | |
---|
| 14 | BuildRequires: cmake |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | pugixml is a light-weight C++ XML processing library. |
---|
| 18 | It features: |
---|
| 19 | - DOM-like interface with rich traversal/modification capabilities |
---|
| 20 | - Extremely fast non-validating XML parser which constructs the DOM tree from |
---|
| 21 | an XML file/buffer |
---|
| 22 | - XPath 1.0 implementation for complex data-driven tree queries |
---|
| 23 | - Full Unicode support with Unicode interface variants and automatic encoding |
---|
| 24 | conversions |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Development files for %{name} |
---|
| 29 | Group: Development/Libraries |
---|
| 30 | Requires: %{name} = %{version}-%{release} |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | Development files for package %{name} |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package docs |
---|
| 37 | Summary: Documentation for %{name} |
---|
| 38 | Group: Documentation |
---|
| 39 | BuildArch: noarch |
---|
| 40 | |
---|
| 41 | %description docs |
---|
| 42 | Documentation for package %{name} |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | %patch0 -p1 -b .export |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | mkdir -p ./build && pushd build |
---|
| 52 | %cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} ../scripts |
---|
| 53 | make |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | make -C build install DESTDIR=%{buildroot} |
---|
| 58 | mkdir -p %{buildroot}%{_datadir}/%{name}/contrib |
---|
| 59 | install -p -m 0644 contrib/* %{buildroot}%{_datadir}/%{name}/contrib/ |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %post -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | %postun -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %doc readme.txt |
---|
| 69 | %{_libdir}/*.so.* |
---|
| 70 | |
---|
| 71 | %files devel |
---|
| 72 | %{_libdir}/*.so |
---|
| 73 | %{_libdir}/cmake/%{name}/ |
---|
| 74 | %{_datadir}/%{name} |
---|
| 75 | %{_includedir}/*.hpp |
---|
| 76 | |
---|
| 77 | %files docs |
---|
| 78 | %doc docs/* |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %changelog |
---|
| 82 | * Sun Jan 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4-1 |
---|
| 83 | - initial build for Vine Linux |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | * Wed Sep 03 2014 Orion Poplawski <orion@cora.nwra.com> - 1.4-1 |
---|
| 87 | - Update to 1.4 |
---|
| 88 | - Split documentation out into -doc sub-package |
---|
| 89 | - Add cmake export information |
---|
| 90 | |
---|
| 91 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8 |
---|
| 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 93 | |
---|
| 94 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7 |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6 |
---|
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 99 | |
---|
| 100 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4 |
---|
| 104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 105 | |
---|
| 106 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3 |
---|
| 107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 108 | |
---|
| 109 | * Thu Jan 05 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0-2 |
---|
| 110 | - Rebuild for GCC 4.7.0. |
---|
| 111 | |
---|
| 112 | * Fri Jul 08 2011 Richard Shaw <hobbes1069@gmail.com> - 1.0-1 |
---|
| 113 | - Initial Release |
---|