mxml-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: Miniature XML development library
  2. Name: mxml
  3. Version: 2.11
  4. Release: 1%{?_dist_release}
  5. License: LGPLv2+
  6. Group: System Environment/Libraries
  7. URL: http://www.msweet.org/mxml/
  8. Source0: https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  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: Development/Libraries
  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. %prep
  27. %setup -q -c
  28. %build
  29. # Run autoconf since we patched configure.in.
  30. autoconf
  31. %configure --enable-shared
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot}
  35. make BUILDROOT=%{buildroot} install
  36. # Configuring with --disable-static doesn't work, so let's just delete
  37. # the .a file by hand.
  38. rm %{buildroot}%{_libdir}/libmxml.a
  39. # remove extra docs
  40. rm -rf %{buildroot}%{_datadir}/doc/mxml/
  41. # remove rendered man pages
  42. rm -f %{buildroot}%{_datadir}/man/cat*/*
  43. %clean
  44. rm -rf %{buildroot}
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc COPYING README.md
  50. %{_bindir}/*
  51. %{_libdir}/libmxml.so.*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %doc CHANGES.md doc/*.html doc/*.jpg doc/*.png doc/*.pdf
  55. %{_includedir}/*.h
  56. %{_libdir}/libmxml.so
  57. %{_mandir}/*/*
  58. %{_libdir}/pkgconfig/mxml.pc
  59. %changelog
  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.