1 | Name: pugixml |
---|
2 | Version: 1.10 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: A light-weight C++ XML processing library |
---|
5 | Group: programming |
---|
6 | Vendor: Project Vine |
---|
7 | Distribution: Vine Linux |
---|
8 | |
---|
9 | License: MIT |
---|
10 | URL: https://pugixml.org/ |
---|
11 | Source0: https://github.com/zeux/pugixml/releases/download/v%{version}/pugixml-%{version}.tar.gz |
---|
12 | # Add pugixml-config.cmake |
---|
13 | # https://github.com/zeux/pugixml/pull/7 |
---|
14 | #Patch0: pugixml-export.patch |
---|
15 | |
---|
16 | BuildRequires: cmake |
---|
17 | |
---|
18 | %description |
---|
19 | pugixml is a light-weight C++ XML processing library. |
---|
20 | It features: |
---|
21 | - DOM-like interface with rich traversal/modification capabilities |
---|
22 | - Extremely fast non-validating XML parser which constructs the DOM tree from |
---|
23 | an XML file/buffer |
---|
24 | - XPath 1.0 implementation for complex data-driven tree queries |
---|
25 | - Full Unicode support with Unicode interface variants and automatic encoding |
---|
26 | conversions |
---|
27 | |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development files for %{name} |
---|
31 | Group: programming |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | |
---|
34 | %description devel |
---|
35 | Development files for package %{name} |
---|
36 | |
---|
37 | |
---|
38 | %package docs |
---|
39 | Summary: Documentation for %{name} |
---|
40 | Group: documentation |
---|
41 | BuildArch: noarch |
---|
42 | |
---|
43 | %description docs |
---|
44 | Documentation for package %{name} |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | #%patch0 -p1 -b .export |
---|
50 | |
---|
51 | |
---|
52 | %build |
---|
53 | mkdir -p ./build && pushd build |
---|
54 | %cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} .. |
---|
55 | make %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | rm -rf %{buildroot} |
---|
60 | make -C build install DESTDIR=%{buildroot} |
---|
61 | |
---|
62 | |
---|
63 | %post -p /sbin/ldconfig |
---|
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 | %{_libdir}/pkgconfig/pugixml.pc |
---|
75 | %{_includedir}/*.hpp |
---|
76 | |
---|
77 | %ifnarch %{ix86} |
---|
78 | %files docs |
---|
79 | %doc docs/* |
---|
80 | %endif |
---|
81 | |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10-1 |
---|
85 | - new upstream release. |
---|
86 | |
---|
87 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 1.7-2 |
---|
88 | - rebuild with gcc-5.4.0 |
---|
89 | |
---|
90 | * Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7-1 |
---|
91 | - new upstream release |
---|
92 | - deleted Patch0 |
---|
93 | |
---|
94 | * Sun Jan 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4-1 |
---|
95 | - initial build for Vine Linux |
---|
96 | |
---|
97 | |
---|
98 | * Wed Sep 03 2014 Orion Poplawski <orion@cora.nwra.com> - 1.4-1 |
---|
99 | - Update to 1.4 |
---|
100 | - Split documentation out into -doc sub-package |
---|
101 | - Add cmake export information |
---|
102 | |
---|
103 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8 |
---|
104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
105 | |
---|
106 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7 |
---|
107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
108 | |
---|
109 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
111 | |
---|
112 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5 |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
114 | |
---|
115 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
117 | |
---|
118 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3 |
---|
119 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
120 | |
---|
121 | * Thu Jan 05 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0-2 |
---|
122 | - Rebuild for GCC 4.7.0. |
---|
123 | |
---|
124 | * Fri Jul 08 2011 Richard Shaw <hobbes1069@gmail.com> - 1.0-1 |
---|
125 | - Initial Release |
---|