source: projects/specs/trunk/lib/libd/libdiscid/libdiscid-vl.spec @ 2041

Revision 2041, 1.8 KB checked in by Takemikaduchi, 14 years ago (diff)

update to GNOME-2.32.0

Line 
1%define pkg_version 0.2.2
2%define pkg_release 2%{?_dist_release}
3
4Summary:        A library for creating MusicBrainz DiscIDs from audio CDs
5Summary(ja):    音楽 CD から MusicBrainz ディスク ID を作成するためのライブラリ
6Name:           libdiscid
7Version:        %{pkg_version}
8Release:        %{pkg_release}
9Source0:        %{name}-%{version}.tar.gz
10License:        LGPL
11Group:          Sytem Environment/Libraries
12URL:            http://musicbrainz.org/doc/libdiscid/
13
14BuildRequires:  pkgconfig
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: Takemikaduchi
21
22
23%description
24Libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs.
25It reads a CD's table of contents (TOC) and generates an identifier which
26can be used to lookup the CD at MusicBrainz. Additionally, it provides a
27submission URL for adding the DiscID to the database.
28
29%package        devel
30Summary:        Development files for %{name}
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33Requires:       pkgconfig
34
35%description    devel
36The libdiscid-devel package contains libraries and header files for
37developing 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
Note: See TracBrowser for help on using the repository browser.