pugixml-vl.spec 3.3 KB

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