diff --git a/.cvsignore b/.cvsignore index e69de29..1c94c37 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libcddb-0.9.4.tar.gz diff --git a/libcddb.spec b/libcddb.spec new file mode 100644 index 0000000..f451104 --- /dev/null +++ b/libcddb.spec @@ -0,0 +1,79 @@ +Summary: A library (C API) for accessing a CDDB server +Name: libcddb +Version: 0.9.4 +Release: 0.fdr.2.rh80 +Epoch: 0 +License: LGPL +Group: System Environment/Libraries +URL: http://libcddb.sourceforge.net/ +Source0: http://download.sf.net/libcddb/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) + +%description +Libcddb is a library that implements the different protocols (CDDBP, +HTTP, SMTP) to access data on a CDDB server (e.g http://freedb.org/). + +%package devel +Summary: Development files for libcddb +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description devel +Libcddb is a library that implements the different protocols (CDDBP, +HTTP, SMTP) to access data on a CDDB server (e.g http://freedb.org/). +This package contains development files (static libraries, headers) +for libcddb. + +# ----------------------------------------------------------------------------- + +%prep +%setup -q + +# ----------------------------------------------------------------------------- + +%build +%configure +make %{?_smp_mflags} + +# ----------------------------------------------------------------------------- + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +# ----------------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +# ----------------------------------------------------------------------------- + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO +%{_libdir}/libcddb.so.* +%{_bindir}/cddb_query + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libcddb.so +%{_libdir}/libcddb.a +%{_includedir}/cddb +%{_libdir}/pkgconfig/libcddb.pc + +# ----------------------------------------------------------------------------- + +%changelog +* Sat Jul 3 2004 Dams 0:0.9.4-0.fdr.2 +- added missing scriptlets +- Added URL in Source0 +- Added additionnal files as doc + +* Tue Mar 9 2004 Dams +- Initial build. + diff --git a/sources b/sources index e69de29..3660ee0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +366095f09e1d89d91915a2dd7c7c1478 libcddb-0.9.4.tar.gz