Name: libdiscid Version: 0.1.1 Release: 5%{?dist} Summary: A Library for creating MusicBrainz DiscIDs Group: System Environment/Libraries License: LGPLv2+ URL: http://musicbrainz.org/doc/libdiscid Source0: http://users.musicbrainz.org/~matt/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This C library %{name} creates MusicBrainz DiscIDs from audio CDs. It reads the table of contents (TOC) of a CD 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 %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README COPYING %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/discid %{_includedir}/discid/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Fri Nov 16 2007 Alex Lancaster - 0.1.1-5 - Fix description - devel package Requires: pkgconfig - save header timestamps * Fri Nov 16 2007 Alex Lancaster - 0.1.1-4 - Remove unneeded doc directive in -devel package, add COPYING file * Fri Nov 16 2007 Alex Lancaster - 0.1.1-3 - Fix tarball * Thu Nov 15 2007 Alex Lancaster - 0.1.1-2 - Update as per packaging guidelines: fix license tag, add docs * Sun Jul 15 2007 Kyle VanderBeek - 0.1.1-1 - Initial version for Fedora 7