mxml-vl.spec 4.7 KB

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