]> git.pld-linux.org Git - packages/python-coherence.git/commitdiff
- initial PLD release auto/th/python-coherence-0_4_0-1
authorPatryk Zawadzki <patrys@room-303.com>
Wed, 26 Dec 2007 19:12:34 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-coherence.spec -> 1.1

python-coherence.spec [new file with mode: 0644]

diff --git a/python-coherence.spec b/python-coherence.spec
new file mode 100644 (file)
index 0000000..0ab5614
--- /dev/null
@@ -0,0 +1,52 @@
+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}/*
This page took 0.064323 seconds and 4 git commands to generate.