mxml-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. Summary: Miniature XML development library
  2. Name: mxml
  3. Version: 3.3.1
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://www.msweet.org/mxml/
  10. Source0: https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. # This is requires because we patch configure.in.
  13. BuildRequires: autoconf zlib-devel
  14. %description
  15. Mini-XML is a small XML parsing library that you can use to read XML
  16. and XML-like data files in your application without requiring large
  17. non-standard libraries.
  18. %package devel
  19. Summary: Libraries, includes, etc to develop mxml applications
  20. Group: programming
  21. Requires: mxml = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. Libraries, include files, etc you can use to develop mxml
  25. applications.
  26. %debug_package
  27. %prep
  28. %setup -q
  29. %build
  30. # Run autoconf since we patched configure.in.
  31. autoconf
  32. %configure --enable-shared
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make BUILDROOT=%{buildroot} install
  37. # Configuring with --disable-static doesn't work, so let's just delete
  38. # the .a file by hand.
  39. rm %{buildroot}%{_libdir}/libmxml.a
  40. # remove extra docs
  41. rm -rf %{buildroot}%{_datadir}/doc/mxml/
  42. # remove rendered man pages
  43. rm -f %{buildroot}%{_datadir}/man/cat*/*
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root,-)
  48. %license LICENSE
  49. %doc README.md
  50. %{_libdir}/libmxml.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/*.h
  54. %{_libdir}/libmxml.so
  55. %{_mandir}/*/*
  56. %{_libdir}/pkgconfig/mxml.pc
  57. %changelog
  58. * Fri Oct 20 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.1-1
  59. - new upstream release.
  60. * Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2-1
  61. - new upstream release.
  62. * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
  63. - new upstream release.
  64. * Tue Jul 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8-3
  65. - initia build for Vine Linux.
  66. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  68. * Sun Apr 06 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.8-1
  69. - Update to 2.8
  70. * Tue Dec 03 2013 Brendan Jones <brendan.jones.it@gmail.com> 2.6-1
  71. - Update to 2.7
  72. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-10
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  74. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-9
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  76. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  78. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  80. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  82. * Wed Oct 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.5-5
  83. - Fix typo in the .pc file (RHBZ#503628). Patch by Robert Szalai
  84. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  86. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  88. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.5-2
  89. - fix license tag
  90. * Tue Jul 08 2008 Anthony Green <green@redhat.com> 2.5
  91. - Upgrade source.
  92. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-8
  93. - Autorebuild for GCC 4.3
  94. * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.2.2-7
  95. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  96. * Tue Sep 19 2006 Anthony Green <green@redhat.com> 2.2.2-6
  97. - Fix release tag.
  98. * Mon Sep 18 2006 Anthony Green <green@redhat.com> 2.2.2-5.1
  99. - Rebuild.
  100. * Mon Sep 4 2006 Anthony Green <green@redhat.com> 2.2.2-5
  101. - devel package must Require pkgconfig.
  102. * Wed Jul 19 2006 Anthony Green <green@redhat.com> 2.2.2-4
  103. - Fix /usr/share references.
  104. * Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-3
  105. - Fix /usr/lib reference when deleting libmxml.a.
  106. * Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-2
  107. - Fix License (LGPL, not GPL).
  108. - Move programming documentation to devel package.
  109. - Build shared library, and no static library.
  110. - Add %%post(un).
  111. - Remove rpath with mxml-no-rpath.patch.
  112. - First Fedora Extras build.
  113. * Fri Sep 23 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.2-1
  114. - updated to 2.2.2 (zynaddsubfx needs 2.2 at least)
  115. * Mon Dec 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
  116. - spec file cleanup
  117. * Wed Aug 4 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.0-1
  118. - initial build.