SPECS: python-coherence.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Wed Dec 26 20:12:39 CET 2007


Author: patrys                       Date: Wed Dec 26 19:12:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/python-coherence.spec
diff -u /dev/null SPECS/python-coherence.spec:1.1
--- /dev/null	Wed Dec 26 20:12:39 2007
+++ SPECS/python-coherence.spec	Wed Dec 26 20:12:34 2007
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary:	A DLNA/UPnP MediaServer protocol implementation
+Name:		python-coherence
+Version:	0.4.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
+# Source0-md5:	b3fdc0de8ae46c6c9efdc4e7d6204417
+URL:		https://coherence.beebits.net/
+BuildRequires:	python-devel >= 1:2.5.0
+Requires:	python-Louie
+Requires:	python-TwistedCore
+Requires:	python-TwistedWeb
+Requires:	python-configobj
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
+and exports local and remote media files via its plugins to other UPnP
+clients.
+
+And together with GStreamer it forms a controllable DLNA/UPnP
+MediaRenderer.
+
+%prep
+%setup -q -n Coherence-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/*
+
+%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  2007-12-26 19:12:34  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list