libmusicbrainz-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Summary: A library for accessing MusicBrainz servers
  2. Summary(ja): MusicBrainz サーバにアクセスするためのライブラリ
  3. Name: libmusicbrainz
  4. Version: 2.1.5
  5. Release: 4%{?_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. 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. %patch0 -p0 -b .glibc-headers
  29. %build
  30. %configure --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. %makeinstall
  35. # remove unneeded files
  36. %__rm -f %{buildroot}%{_libdir}/*.la
  37. %clean
  38. %__rm -rf %{buildroot}
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING ChangeLog README TODO INSTALL
  44. %{_libdir}/*.so.*
  45. #{_libdir}/*.a
  46. %files devel
  47. %defattr(-,root,root,-)
  48. %{_includedir}/musicbrainz
  49. %{_libdir}/*.so
  50. %{_libdir}/pkgconfig/*.pc
  51. %changelog
  52. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.5-4
  53. - rebuild with VineSeed environment
  54. * Mon Dec 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.1.5-3
  55. - dropped Requires: libstdc++34-devel
  56. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.5-2
  57. - rebuilt with rpm-4.8.1 for pkg-config
  58. - added libmusicbrainz-2.1.5-glibc-headers.patch
  59. * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.5-1
  60. - new upstream release
  61. - added --disable-static to %%configure
  62. - added %%post and %%postun section
  63. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.4-1vl5
  64. - applied new versioning policy
  65. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.4-0vl4
  66. - rebuild with expat-2.0.1
  67. * Thu May 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.4-0vl3
  68. - removed BuildRequires: libstdc++3-devel
  69. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2
  70. - rebuild with new environment/toolchain
  71. * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.4-0vl1
  72. - [SECURITY] upstream release
  73. - multiple buffer overflows (CVE-2006-4197)
  74. - add BuildRequires: expat-devel
  75. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1
  76. - upstream release
  77. * Sat Mar 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.1.1-0vl1
  78. - Initial build.