You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcddb/libcddb.spec

80 lines
2.0 KiB

Summary: A library (C API) for accessing a CDDB server
Name: libcddb
Version: 0.9.4
Release: 2
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 <anvil[AT]livna.org> 0:0.9.4-0.fdr.2
- added missing scriptlets
- Added URL in Source0
- Added additionnal files as doc
* Tue Mar 9 2004 Dams <anvil[AT]livna.org>
- Initial build.