libxml++-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. %global apiver 2.6
  2. Name: libxml++
  3. Summary: C++ wrapper for the libxml2 XML parser library
  4. Summary(ja): libxml2 XML 解析ライブラリの C++ ラッパー
  5. Version: 2.42.0
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPLv2+
  11. URL: http://libxmlplusplus.sourceforge.net/
  12. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  13. Source: https://download.gnome.org/sources/libxml++/%{shortver}/libxml++-%{version}.tar.xz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: meson
  16. BuildRequires: libxml2-devel >= 2.6.1
  17. BuildRequires: glibmm-devel >= 2.4.0
  18. BuildRequires: doxygen, graphviz
  19. %description
  20. libxml++ is a C++ wrapper for the libxml2 XML parser library. It's original
  21. author is Ari Johnson and it is currently maintained by Christophe de Vienne
  22. and Murray Cumming.
  23. %package devel
  24. Summary: Development files for %{name}
  25. Summary(ja): %{name} の開発用ファイル
  26. Group: programming
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. Requires: libxml2-devel
  30. Requires: glibmm-devel
  31. %description devel
  32. This package contains the headers and libraries for libxml++ development.
  33. %package doc
  34. Summary: Documentation for %{name}, includes full API docs
  35. Group: documentation
  36. BuildArch: noarch
  37. Requires: %{name} = %{version}-%{release}
  38. %description doc
  39. This package contains the full API documentation for %{name}.
  40. %debug_package
  41. %prep
  42. %setup -q
  43. # fix wrong end of line
  44. sed -i s'#\r##' examples/dom_parser/example_with_namespace.xml
  45. %build
  46. %meson -Dbuild-documentation=true
  47. %meson_build
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. %meson_install
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr (-,root,root,-)
  57. %license COPYING
  58. %doc AUTHORS NEWS README
  59. %{_libdir}/*.so.*
  60. %files devel
  61. %defattr (-,root,root,-)
  62. %{_includedir}/*
  63. %{_libdir}/*.so
  64. %{_libdir}/pkgconfig/*
  65. %dir %{_libdir}/%{name}-%{apiver}
  66. %dir %{_libdir}/%{name}-%{apiver}/include
  67. %{_libdir}/%{name}-%{apiver}/include/*.h
  68. %files doc
  69. %doc %{_datadir}/devhelp/books/%{name}-%{apiver}
  70. %doc %{_docdir}/%{name}-%{apiver}
  71. %changelog
  72. * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.42.0-1
  73. - new upstream release.
  74. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-2
  75. - rebuild with gcc-5.4.0
  76. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-1
  77. - new upstream release
  78. * Wed Jun 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.38.1-1
  79. - new upstream release
  80. * Tue Nov 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.0-1
  81. - new upstream release
  82. * Wed Jun 13 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.34.2-1
  83. - new upstream release
  84. - changed source archive type to xz
  85. * Thu Jan 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32.0-1
  86. - new upstream release
  87. - fixed spec file for Vine Linux 5
  88. - added Japanese summary
  89. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-3
  90. - rebuild with rpm-4.8.1 for pkg-config file
  91. * Thu Sep 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.30.0-2
  92. - Initial build for VineLinux
  93. * Fri Apr 09 2010 Haïkel Guémar <hguemar@gmail.com> - 2.30.0-1
  94. - Update to upstream 2.30.0
  95. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.0-2
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  97. * Sun Apr 12 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-1
  98. - Update to upstream 2.26.0 (to match Gnome release)
  99. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-2
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  101. * Thu Jan 15 2009 Denis Leroy <denis@poolshark.org> - 2.24.2-1
  102. - Update to 2.24.2 (memleak fixes)
  103. - Fixed Gnome FTP URL
  104. * Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 2.23.2-2
  105. - Include unowned directories
  106. * Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.23.2-1
  107. - update to 2.23.2
  108. * Tue May 13 2008 Denis Leroy <denis@poolshark.org>
  109. - Removed unneeded example binaries from devel package
  110. * Thu Mar 13 2008 Denis Leroy <denis@poolshark.org> - 2.22.0-1
  111. - Update to upstream 2.22.0
  112. - GCC 4.3 patch upstreamed
  113. * Sun Feb 17 2008 Denis Leroy <denis@poolshark.org> - 2.20.0-2
  114. - Added patch for gcc 4.3 rebuild
  115. * Thu Sep 20 2007 Denis Leroy <denis@poolshark.org> - 2.20.0-1
  116. - Update to new 2.20 stable branch
  117. * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 2.18.2-2
  118. - Update to upstream 2.18.2 (mem leak fix)
  119. - Fixed License tag
  120. * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 2.18.1-2
  121. - Rebuild for RH #249435
  122. * Tue Jul 24 2007 Denis Leroy <denis@poolshark.org> - 2.18.1-1
  123. - Update to version 2.18.1
  124. * Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.14.0-1.1
  125. - FC6 rebuild
  126. * Tue May 02 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.14.0-1
  127. - Version 2.14.0
  128. * Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.12.0-2.1
  129. - FC5 Rebuild
  130. * Thu Jan 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.12.0-2
  131. - Rebuilt to address RH #178592
  132. * Thu Sep 08 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 2.12.0-1
  133. - Version 2.12.0
  134. - Use --disable-static for configure.
  135. * Thu Jul 21 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 2.10.0-1
  136. - Version 2.10.0
  137. - Rearrange and conform to new FE standards
  138. - Buildrequire glibmm24-devel
  139. - Add devel requires to -devel
  140. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.26.0-5
  141. - rebuild on all arches
  142. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  143. - rebuilt
  144. * Tue Nov 04 2003 Panu Matilainen <pmatilai@welho.com> - 0:0:26.0-0.fdr.3
  145. - remove empty .libs directories
  146. * Mon Nov 3 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.26.0-0.fdr.2
  147. - buildrequires graphviz
  148. - devel package requires main package and pkgconfig
  149. - own %%_includedir/libxml++-1.0
  150. - clean up examples tree
  151. * Tue Oct 21 2003 Panu Matilainen <pmatilai@welho.com>
  152. - Initial Fedora packaging