mxml-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Summary: Miniature XML development library
  2. Name: mxml
  3. Version: 3.2
  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 Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2-1
  59. - new upstream release.
  60. * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
  61. - new upstream release.
  62. * Tue Jul 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8-3
  63. - initia build for Vine Linux.
  64. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  66. * Sun Apr 06 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.8-1
  67. - Update to 2.8
  68. * Tue Dec 03 2013 Brendan Jones <brendan.jones.it@gmail.com> 2.6-1
  69. - Update to 2.7
  70. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-10
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  72. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-9
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  74. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  76. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  78. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  80. * Wed Oct 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.5-5
  81. - Fix typo in the .pc file (RHBZ#503628). Patch by Robert Szalai
  82. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  86. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.5-2
  87. - fix license tag
  88. * Tue Jul 08 2008 Anthony Green <green@redhat.com> 2.5
  89. - Upgrade source.
  90. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-8
  91. - Autorebuild for GCC 4.3
  92. * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.2.2-7
  93. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  94. * Tue Sep 19 2006 Anthony Green <green@redhat.com> 2.2.2-6
  95. - Fix release tag.
  96. * Mon Sep 18 2006 Anthony Green <green@redhat.com> 2.2.2-5.1
  97. - Rebuild.
  98. * Mon Sep 4 2006 Anthony Green <green@redhat.com> 2.2.2-5
  99. - devel package must Require pkgconfig.
  100. * Wed Jul 19 2006 Anthony Green <green@redhat.com> 2.2.2-4
  101. - Fix /usr/share references.
  102. * Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-3
  103. - Fix /usr/lib reference when deleting libmxml.a.
  104. * Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-2
  105. - Fix License (LGPL, not GPL).
  106. - Move programming documentation to devel package.
  107. - Build shared library, and no static library.
  108. - Add %%post(un).
  109. - Remove rpath with mxml-no-rpath.patch.
  110. - First Fedora Extras build.
  111. * Fri Sep 23 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.2-1
  112. - updated to 2.2.2 (zynaddsubfx needs 2.2 at least)
  113. * Mon Dec 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
  114. - spec file cleanup
  115. * Wed Aug 4 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.0-1
  116. - initial build.