libmusicbrainz-vl.spec 2.4 KB

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