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 | |
---|
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 |
---|
33 | %patch0 -p0 -b .glibc-headers |
---|
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 |
---|
66 | * Mon Dec 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.1.5-3 |
---|
67 | - dropped Requires: libstdc++34-devel |
---|
68 | |
---|
69 | * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.5-2 |
---|
70 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
71 | - added libmusicbrainz-2.1.5-glibc-headers.patch |
---|
72 | |
---|
73 | * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.5-1 |
---|
74 | - new upstream release |
---|
75 | - added --disable-static to %%configure |
---|
76 | - added %%post and %%postun section |
---|
77 | |
---|
78 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.4-1vl5 |
---|
79 | - applied new versioning policy |
---|
80 | |
---|
81 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.4-0vl4 |
---|
82 | - rebuild with expat-2.0.1 |
---|
83 | |
---|
84 | * Thu May 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.4-0vl3 |
---|
85 | - removed BuildRequires: libstdc++3-devel |
---|
86 | |
---|
87 | * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl2 |
---|
88 | - rebuild with new environment/toolchain |
---|
89 | |
---|
90 | * Sun Oct 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.4-0vl1 |
---|
91 | - [SECURITY] upstream release |
---|
92 | - multiple buffer overflows (CVE-2006-4197) |
---|
93 | - add BuildRequires: expat-devel |
---|
94 | |
---|
95 | * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1 |
---|
96 | - upstream release |
---|
97 | |
---|
98 | * Sat Mar 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.1.1-0vl1 |
---|
99 | - Initial build. |
---|