libmusicbrainz3-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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: 1%{?_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 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1
  68. - update to 3.0.3
  69. - remove all patches
  70. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  71. - initial build for Vine Linux
  72. * Tue May 25 2010 Bastien Nocera <bnocera@redhat.com> 3.0.2-7
  73. - Remove script from devel docs
  74. * Tue Nov 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-7
  75. - fix/enable unit tests
  76. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-6
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  78. * Mon Jun 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-5
  79. - fix doxygen-induced multilib conflicts (#480378)
  80. - add %%check section (disabled by default, pending cppunit detection issues)
  81. * Wed Feb 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-4
  82. - work harder to omit extraneous pkgconfig deps
  83. - gcc44 patch
  84. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  86. * Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-2
  87. - rebuild for pkgconfig deps
  88. * Tue Sep 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-1
  89. - libmusicbrainz3-3.0.2
  90. * Fri Sep 05 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-4
  91. - Build docs (#461238)
  92. - -devel: drop extraneous Requires
  93. * Fri Jul 25 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-3
  94. - fix recursive linking against libdiscid neon
  95. * Thu Jul 24 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-2
  96. - BR: libdiscid-devel
  97. - -devel: Requires: libdiscid-devel neon-devel
  98. * Mon Jun 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-1
  99. - libmusicbrainz3-3.0.1
  100. * Sun Jun 15 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-7
  101. - Provides: libmusicbrainz2(-devel), prepare for libmusicbrainz3
  102. * Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-6
  103. - gcc43 patch (#434127)
  104. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.5-5
  105. - Autorebuild for GCC 4.3
  106. * Mon Feb 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.1.5-4
  107. - specfile cosmetics
  108. * Thu Nov 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 2.1.5-3
  109. - use versioned Obsoletes
  110. - drop (Build)Requires: libstdc++-devel
  111. - License: LGPLv2+
  112. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 2.1.5-2
  113. - Rebuild for PPC toolchain bug
  114. * Thu Jun 21 2007 - Bastien Nocera <bnocera@redhat.com> - 2.1.5-1
  115. - Update to 2.1.5
  116. * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.4-1
  117. - Update to 2.1.4
  118. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-4.1
  119. - rebuild
  120. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.1.1-4
  121. - rebuild for -devel deps
  122. * Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.1-3
  123. - apply .spec file cleanups from Matthias Saou (#172926)
  124. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-2.1
  125. - bump again for double-long bug on ppc(64)
  126. * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.1.1-2
  127. - Stop shipping the .a file in the main package
  128. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.2
  129. - rebuilt for new gcc4.1 snapshot and glibc changes
  130. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  131. - rebuilt
  132. * Wed Mar 23 2005 John (J5) Palmieri <johnp@redhat.com> 2.1.1-1
  133. - Update to upstream version 2.1.1
  134. - Removed libmusicbrainz-2.0.2-missing-return.patch
  135. - Removed libmusicbrainz-2.0.2-conf.patch
  136. * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-14
  137. - Add patch to fix percision cast error to compile correctly on s390x
  138. * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-13
  139. - rebuild with gcc 4.0
  140. * Mon Nov 08 2004 Colin Walters <walters@redhat.com> 2.0.2-12
  141. - Add libmusicbrainz-2.0.2-missing-return.patch (bug #137289)
  142. * Thu Oct 07 2004 Colin Walters <walters@redhat.com> 2.0.2-11
  143. - BuildRequire expat-devel
  144. * Tue Sep 28 2004 Colin Walters <walters@redhat.com> 2.0.2-10
  145. - Move .so symlink to -devel package
  146. * Tue Aug 31 2004 Colin Walters <walters@redhat.com> 2.0.2-9
  147. - Add ldconfig calls (bz #131281)
  148. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  149. - rebuilt
  150. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  151. - rebuilt
  152. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  153. - rebuilt
  154. * Thu Dec 18 2003 Brent Fox <bfox@redhat.com> 2.0.2-6
  155. - add a BuildPreReq for libstdc++-devel and gcc-c++ (bug #106556)
  156. - add a Requires for libstdc++-devel for libmusicbrainz-devel
  157. * Mon Sep 1 2003 Bill Nottingham <notting@redhat.com>
  158. - Obsoletes musicbrainz-devel too
  159. * Mon Sep 1 2003 Jonathan Blandford <jrb@redhat.com>
  160. - Obsoletes musicbrainz
  161. * Fri Aug 22 2003 Bill Nottingham <notting@redhat.com> 2.0.2-5
  162. - fix autoconf/libtool weirdness, remove exclusivearch
  163. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-4
  164. - add ExcludeArch for s390x (something is really broken)
  165. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-3
  166. - add ExcludeArch for ppc64
  167. * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-2
  168. - add ExcludeArch for x86_64 for now
  169. * Thu Aug 21 2003 Brent Fox <bfox@redhat.com>
  170. - Initial build.