1 | %define pkg_version 0.2.2 |
---|
2 | %define pkg_release 2%{?_dist_release} |
---|
3 | |
---|
4 | Summary: A library for creating MusicBrainz DiscIDs from audio CDs |
---|
5 | Summary(ja): 音楽 CD から MusicBrainz ディスク ID を作成するためのライブラリ |
---|
6 | Name: libdiscid |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source0: %{name}-%{version}.tar.gz |
---|
10 | License: LGPL |
---|
11 | Group: Sytem Environment/Libraries |
---|
12 | URL: http://musicbrainz.org/doc/libdiscid/ |
---|
13 | |
---|
14 | BuildRequires: pkgconfig |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: Takemikaduchi |
---|
21 | |
---|
22 | |
---|
23 | %description |
---|
24 | Libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs. |
---|
25 | It reads a CD's table of contents (TOC) and generates an identifier which |
---|
26 | can be used to lookup the CD at MusicBrainz. Additionally, it provides a |
---|
27 | submission URL for adding the DiscID to the database. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development files for %{name} |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: pkgconfig |
---|
34 | |
---|
35 | %description devel |
---|
36 | The libdiscid-devel package contains libraries and header files for |
---|
37 | developing applications that use libdiscid. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-static |
---|
45 | %{__make} %{?_smp_mflags} |
---|
46 | |
---|
47 | |
---|
48 | %install |
---|
49 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
50 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
51 | |
---|
52 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/*.la |
---|
53 | |
---|
54 | %clean |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
56 | |
---|
57 | %post -p /sbin/ldconfig |
---|
58 | |
---|
59 | %postun -p /sbin/ldconfig |
---|
60 | |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root) |
---|
64 | %doc COPYING ChangeLog README |
---|
65 | %{_libdir}/*.so.* |
---|
66 | |
---|
67 | %files devel |
---|
68 | %defattr(-,root,root) |
---|
69 | %{_libdir}/libdiscid.so |
---|
70 | %{_libdir}/pkgconfig/libdiscid.pc |
---|
71 | %{_includedir}/discid |
---|
72 | |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2 |
---|
76 | - rebuild package |
---|
77 | |
---|
78 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1 |
---|
79 | - initial build for Vine Linux |
---|
80 | |
---|