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