libmusicbrainz-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: A library for accessing MusicBrainz servers
  2. Summary(ja): MusicBrainz サーバにアクセスするためのライブラリ
  3. Name: libmusicbrainz
  4. Version: 2.1.5
  5. Release: 5%{?_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 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.5-5
  53. - rebuild with gcc-5.4.0
  54. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.5-4
  55. - rebuild with VineSeed environment
  56. * Mon Dec 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.1.5-3
  57. - dropped Requires: libstdc++34-devel
  58. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.5-2
  59. - rebuilt with rpm-4.8.1 for pkg-config
  60. - added libmusicbrainz-2.1.5-glibc-headers.patch
  61. * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.5-1
  62. - new upstream release
  63. - added --disable-static to %%configure
  64. - added %%post and %%postun section
  65. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.4-1vl5
  66. - applied new versioning policy
  67. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.4-0vl4
  68. - rebuild with expat-2.0.1
  69. * Thu May 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.4-0vl3
  70. - removed BuildRequires: libstdc++3-devel
  71. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2
  72. - rebuild with new environment/toolchain
  73. * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.4-0vl1
  74. - [SECURITY] upstream release
  75. - multiple buffer overflows (CVE-2006-4197)
  76. - add BuildRequires: expat-devel
  77. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1
  78. - upstream release
  79. * Sat Mar 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.1.1-0vl1
  80. - Initial build.