1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- %define pkg_version 0.2.2
- %define pkg_release 2%{?_dist_release}
- Summary: A library for creating MusicBrainz DiscIDs from audio CDs
- Summary(ja): 音楽 CD から MusicBrainz ディスク ID を作成するためのライブラリ
- Name: libdiscid
- Version: %{pkg_version}
- Release: %{pkg_release}
- Source0: %{name}-%{version}.tar.gz
- License: LGPL
- Group: Sytem Environment/Libraries
- URL: http://musicbrainz.org/doc/libdiscid/
- BuildRequires: pkgconfig
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- Libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs.
- It reads a CD's table of contents (TOC) and generates an identifier which
- can be used to lookup the CD at MusicBrainz. Additionally, it provides a
- submission URL for adding the DiscID to the database.
- %package devel
- Summary: Development files for %{name}
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- The libdiscid-devel package contains libraries and header files for
- developing applications that use libdiscid.
- %prep
- %setup -q
- %build
- %configure --disable-static
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/*.la
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc COPYING ChangeLog README
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root)
- %{_libdir}/libdiscid.so
- %{_libdir}/pkgconfig/libdiscid.pc
- %{_includedir}/discid
- %changelog
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
- - rebuild package
- * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
- - initial build for Vine Linux
|