libmusicbrainz-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: A library for accessing MusicBrainz servers
  2. Summary(ja): MusicBrainz サーバにアクセスするためのライブラリ
  3. Name: libmusicbrainz
  4. Version: 2.1.5
  5. Release: 3%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: http://musicbrainz.org/
  9. Source0: http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz
  10. Patch0: libmusicbrainz-2.1.5-glibc-headers.patch
  11. BuildRequires: gcc-c++
  12. BuildRequires: expat-devel
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. The MusicBrainz client library allows applications to make metadata
  16. lookup to a MusicBrainz server, generate signatures from WAV data and
  17. create CD Index Disk ids from audio CD roms.
  18. %package devel
  19. Summary: Headers for developing programs that will use libmusicbrainz
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. #Requires: libstdc++34-devel
  23. Obsoletes: musicbrainz-devel
  24. %description devel
  25. This package contains the headers that programmers will need to develop
  26. applications which will use libmusicbrainz.
  27. %prep
  28. %setup -q
  29. %patch0 -p0 -b .glibc-headers
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot}
  35. %makeinstall
  36. # remove unneeded files
  37. %__rm -f %{buildroot}%{_libdir}/*.la
  38. %clean
  39. %__rm -rf %{buildroot}
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc AUTHORS COPYING ChangeLog README TODO INSTALL
  45. %{_libdir}/*.so.*
  46. #{_libdir}/*.a
  47. %files devel
  48. %defattr(-,root,root,-)
  49. %{_includedir}/musicbrainz
  50. %{_libdir}/*.so
  51. %{_libdir}/pkgconfig/*.pc
  52. %changelog
  53. * Mon Dec 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.1.5-3
  54. - dropped Requires: libstdc++34-devel
  55. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.5-2
  56. - rebuilt with rpm-4.8.1 for pkg-config
  57. - added libmusicbrainz-2.1.5-glibc-headers.patch
  58. * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.5-1
  59. - new upstream release
  60. - added --disable-static to %%configure
  61. - added %%post and %%postun section
  62. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.4-1vl5
  63. - applied new versioning policy
  64. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.4-0vl4
  65. - rebuild with expat-2.0.1
  66. * Thu May 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.4-0vl3
  67. - removed BuildRequires: libstdc++3-devel
  68. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2
  69. - rebuild with new environment/toolchain
  70. * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.4-0vl1
  71. - [SECURITY] upstream release
  72. - multiple buffer overflows (CVE-2006-4197)
  73. - add BuildRequires: expat-devel
  74. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1
  75. - upstream release
  76. * Sat Mar 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.1.1-0vl1
  77. - Initial build.