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

Revision 8353, 2.0 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME-3.12.0

Line 
1%define pkg_version 0.6.1
2%define pkg_release 1%{?_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
10
11License:        LGPL
12Group:          System Environment/Libraries
13URL:            http://musicbrainz.org/doc/libdiscid/
14
15BuildRequires:  pkgconfig
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: Takemikaduchi
22
23
24%description
25Libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs.
26It reads a CD's table of contents (TOC) and generates an identifier which
27can be used to lookup the CD at MusicBrainz. Additionally, it provides a
28submission URL for adding the DiscID to the database.
29
30%package        devel
31Summary:        Development files for %{name}
32Summary(ja):    %{name} の開発用ファイル
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Requires:       pkgconfig
36
37%description    devel
38The libdiscid-devel package contains libraries and header files for
39developing applications that use libdiscid.
40
41%prep
42%setup -q
43
44
45%build
46%configure --disable-static
47%{__make} %{?_smp_mflags}
48
49
50%install
51%{__rm} -rf ${RPM_BUILD_ROOT}
52%{__make} install DESTDIR=${RPM_BUILD_ROOT}
53
54%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/*.la
55
56%clean
57%{__rm} -rf ${RPM_BUILD_ROOT}
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63
64%files
65%defattr(-,root,root)
66%doc COPYING ChangeLog README
67%{_libdir}/*.so.*
68
69%files devel
70%defattr(-,root,root)
71%{_libdir}/libdiscid.so
72%{_libdir}/pkgconfig/libdiscid.pc
73%{_includedir}/discid
74
75
76%changelog
77* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
78- new upstream release
79
80* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-3
81- fixed Group typo
82
83* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
84- rebuild package
85
86* Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
87- initial build for Vine Linux
88
Note: See TracBrowser for help on using the repository browser.