diff --git a/.cvsignore b/.cvsignore index e69de29..4eb294f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libmpd-0.12.0.tar.gz diff --git a/libmpd.spec b/libmpd.spec new file mode 100644 index 0000000..8e6b35a --- /dev/null +++ b/libmpd.spec @@ -0,0 +1,59 @@ +Summary: Music Player Daemon Library +Name: libmpd +Version: 0.12.0 +Release: 2%{?dist} +License: GPL +Url: http://cms.qballcow.nl/index.php?page=libmpd +Group: Applications/Multimedia +Source: http://download.qballcow.nl/programs/gmpc-0.13/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%package devel +Summary: Header files for developing programs with libmpd +Requires: %{name} = %{version} +Group: Development/Libraries + +%description +libmpd is an abstraction around libmpdclient. It provides an easy and +reliable callback based interface to mpd. + +%description devel +libmpd-devel is a sub-package which contains header files and static libraries +for developing program with libmpd. + +%prep +%setup -q + +%build +%configure --disable-static +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf $RPM_BUILD_ROOT +%{__make} DESTDIR="$RPM_BUILD_ROOT" install +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%defattr (-,root,root) +%doc ChangeLog COPYING README +%{_libdir}/libmpd.so.0* + +%files devel +%defattr (-,root,root) +%{_libdir}/libmpd.so +%{_libdir}/pkgconfig/libmpd.pc +%{_prefix}/include/libmpd + +%changelog +* Sat Nov 25 2006 Adrian Reber - 0.12.0-2 +- small changes for FE submission + +* Mon Mar 27 2006 Jan "Yenya" Kasprzak 0.12.0-1 +- initial build diff --git a/sources b/sources index e69de29..2074e4f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bbfe28a5c3d7ef72b042030e3af52208 libmpd-0.12.0.tar.gz