libmusicbrainz3-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. # Fedora package review: http://bugzilla.redhat.com/451643
  2. # do unit tests
  3. %define _with_check 0
  4. Summary: Library for accessing MusicBrainz servers
  5. Name: libmusicbrainz3
  6. Version: 3.0.3
  7. Release: 2%{?_dist_release}
  8. License: LGPLv2+
  9. Group: System Environment/Libraries
  10. URL: http://www.musicbrainz.org/
  11. Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. Source10: doxygen-footer.html
  14. BuildRequires: cmake
  15. %if 0%{?_with_check}
  16. BuildRequires: cppunit-devel
  17. %endif
  18. BuildRequires: doxygen
  19. BuildRequires: libdiscid-devel
  20. BuildRequires: neon-devel
  21. BuildRequires: pkgconfig
  22. %description
  23. The MusicBrainz client library allows applications to make metadata
  24. lookup to a MusicBrainz server, generate signatures from WAV data and
  25. create CD Index Disk ids from audio CD roms.
  26. %package devel
  27. Summary: Headers for developing programs that will use %{name}
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. This package contains the headers that programmers will need to develop
  33. applications which will use %{name}.
  34. %prep
  35. %setup -q -n libmusicbrainz-%{version}
  36. # until doxygen is fixed, something like
  37. # http://bugzilla.gnome.org/show_bug.cgi?id=579303 , hack out
  38. # mulitilib-conflicting doxygen footers
  39. install -p %{SOURCE10} doxygen-footer.html
  40. echo "HTML_FOOTER = doxygen-footer.html" >> Doxygen
  41. %build
  42. %{cmake} .
  43. make %{?_smp_mflags} all docs
  44. %install
  45. rm -rf %{buildroot}
  46. make install/fast DESTDIR=%{buildroot}
  47. rm -f docs/installdox
  48. %check
  49. %if %{?_with_check}
  50. make check
  51. %endif
  52. %clean
  53. rm -rf %{buildroot}
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS.txt COPYING.txt NEWS.txt README.txt
  59. %{_libdir}/libmusicbrainz3.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %doc docs/*
  63. %{_includedir}/musicbrainz3/
  64. %{_libdir}/libmusicbrainz3.so
  65. %{_libdir}/pkgconfig/libmusicbrainz3.pc
  66. %changelog
  67. * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-2
  68. - rebuild with gcc-5.4.0
  69. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1
  70. - update to 3.0.3
  71. - remove all patches
  72. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  73. - initial build for Vine Linux
  74. * Tue May 25 2010 Bastien Nocera <bnocera@redhat.com> 3.0.2-7
  75. - Remove script from devel docs
  76. * Tue Nov 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-7
  77. - fix/enable unit tests
  78. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-6
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  80. * Mon Jun 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-5
  81. - fix doxygen-induced multilib conflicts (#480378)
  82. - add %%check section (disabled by default, pending cppunit detection issues)
  83. * Wed Feb 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-4
  84. - work harder to omit extraneous pkgconfig deps
  85. - gcc44 patch
  86. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  88. * Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-2
  89. - rebuild for pkgconfig deps
  90. * Tue Sep 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-1
  91. - libmusicbrainz3-3.0.2
  92. * Fri Sep 05 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-4
  93. - Build docs (#461238)
  94. - -devel: drop extraneous Requires
  95. * Fri Jul 25 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-3
  96. - fix recursive linking against libdiscid neon
  97. * Thu Jul 24 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-2
  98. - BR: libdiscid-devel
  99. - -devel: Requires: libdiscid-devel neon-devel
  100. * Mon Jun 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-1
  101. - libmusicbrainz3-3.0.1
  102. * Sun Jun 15 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-7
  103. - Provides: libmusicbrainz2(-devel), prepare for libmusicbrainz3
  104. * Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-6
  105. - gcc43 patch (#434127)
  106. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.5-5
  107. - Autorebuild for GCC 4.3
  108. * Mon Feb 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.1.5-4
  109. - specfile cosmetics
  110. * Thu Nov 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 2.1.5-3
  111. - use versioned Obsoletes
  112. - drop (Build)Requires: libstdc++-devel
  113. - License: LGPLv2+
  114. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 2.1.5-2
  115. - Rebuild for PPC toolchain bug
  116. * Thu Jun 21 2007 - Bastien Nocera <bnocera@redhat.com> - 2.1.5-1
  117. - Update to 2.1.5
  118. * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.4-1
  119. - Update to 2.1.4
  120. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-4.1
  121. - rebuild
  122. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.1.1-4
  123. - rebuild for -devel deps
  124. * Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.1-3
  125. - apply .spec file cleanups from Matthias Saou (#172926)
  126. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-2.1
  127. - bump again for double-long bug on ppc(64)
  128. * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.1.1-2
  129. - Stop shipping the .a file in the main package
  130. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.2
  131. - rebuilt for new gcc4.1 snapshot and glibc changes
  132. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  133. - rebuilt
  134. * Wed Mar 23 2005 John (J5) Palmieri <johnp@redhat.com> 2.1.1-1
  135. - Update to upstream version 2.1.1
  136. - Removed libmusicbrainz-2.0.2-missing-return.patch
  137. - Removed libmusicbrainz-2.0.2-conf.patch
  138. * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-14
  139. - Add patch to fix percision cast error to compile correctly on s390x
  140. * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-13
  141. - rebuild with gcc 4.0
  142. * Mon Nov 08 2004 Colin Walters <walters@redhat.com> 2.0.2-12
  143. - Add libmusicbrainz-2.0.2-missing-return.patch (bug #137289)
  144. * Thu Oct 07 2004 Colin Walters <walters@redhat.com> 2.0.2-11
  145. - BuildRequire expat-devel
  146. * Tue Sep 28 2004 Colin Walters <walters@redhat.com> 2.0.2-10
  147. - Move .so symlink to -devel package
  148. * Tue Aug 31 2004 Colin Walters <walters@redhat.com> 2.0.2-9
  149. - Add ldconfig calls (bz #131281)
  150. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  151. - rebuilt
  152. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  153. - rebuilt
  154. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  155. - rebuilt
  156. * Thu Dec 18 2003 Brent Fox <bfox@redhat.com> 2.0.2-6
  157. - add a BuildPreReq for libstdc++-devel and gcc-c++ (bug #106556)
  158. - add a Requires for libstdc++-devel for libmusicbrainz-devel
  159. * Mon Sep 1 2003 Bill Nottingham <notting@redhat.com>
  160. - Obsoletes musicbrainz-devel too
  161. * Mon Sep 1 2003 Jonathan Blandford <jrb@redhat.com>
  162. - Obsoletes musicbrainz
  163. * Fri Aug 22 2003 Bill Nottingham <notting@redhat.com> 2.0.2-5
  164. - fix autoconf/libtool weirdness, remove exclusivearch
  165. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-4
  166. - add ExcludeArch for s390x (something is really broken)
  167. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-3
  168. - add ExcludeArch for ppc64
  169. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-2
  170. - add ExcludeArch for x86_64 for now
  171. * Thu Aug 21 2003 Brent Fox <bfox@redhat.com>
  172. - Initial build.