SPECS: libmpd.spec (NEW) - new spec

jajcus jajcus at pld-linux.org
Wed Dec 13 22:02:21 CET 2006


Author: jajcus                       Date: Wed Dec 13 21:02:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec

---- Files affected:
SPECS:
   libmpd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libmpd.spec
diff -u /dev/null SPECS/libmpd.spec:1.1
--- /dev/null	Wed Dec 13 22:02:21 2006
+++ SPECS/libmpd.spec	Wed Dec 13 22:02:16 2006
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+#
+Summary:	MPD client library
+Name:		libmpd
+Version:	0.12.0
+Release:	1
+License:	GPL
+Group:		Applications
+# http://sarine.nl/gmpc-downloads
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	bbfe28a5c3d7ef72b042030e3af52208
+URL:		http://sarine.nl/gmpc
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library for Music Player Daemon client development.
+
+%package devel
+Summary:	Header files for the MPD client library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for MPD client library.
+
+%package static
+Summary:	Static MPD client library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static MPD client library.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure \
+	CPPFLAGS="-I/usr/include/ncurses"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*
+%{_pkgconfigdir}/*
+%{_libdir}/lib*.so
+%{_libdir}/lib*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/13 21:02:16  jajcus
+- new spec
+
================================================================


More information about the pld-cvs-commit mailing list