From 557e871a68642885c83dd49fc3d3ecd367c3c56b Mon Sep 17 00:00:00 2001 From: alexlan Date: Nov 17 2007 01:23:41 +0000 Subject: New package import: libdiscid-0.1.1-5 --- diff --git a/.cvsignore b/.cvsignore index e69de29..fbc2312 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libdiscid-0.1.1.tar.gz diff --git a/libdiscid.spec b/libdiscid.spec new file mode 100644 index 0000000..25deafb --- /dev/null +++ b/libdiscid.spec @@ -0,0 +1,81 @@ +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/ + +%{_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 diff --git a/sources b/sources index e69de29..c3bd738 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c36d842fc550fc80f5b0734c314d3648 libdiscid-0.1.1.tar.gz