]> git.pld-linux.org Git - packages/python-coherence.git/blame - python-coherence.spec
- BR: python-setuptools
[packages/python-coherence.git] / python-coherence.spec
CommitLineData
2582c70a 1Summary: A DLNA/UPnP MediaServer protocol implementation
02300ffd 2Summary(pl.UTF-8): Implementacja protokołu DLNA/UPnP MediaServer
2582c70a
PZ
3Name: python-coherence
4Version: 0.4.0
257627d5 5Release: 2
2582c70a
PZ
6License: MIT
7Group: Libraries/Python
8Source0: https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
9# Source0-md5: b3fdc0de8ae46c6c9efdc4e7d6204417
257627d5 10Patch0: %{name}-syntax.patch
2582c70a
PZ
11URL: https://coherence.beebits.net/
12BuildRequires: python-devel >= 1:2.5.0
671fe8a4 13BuildRequires: python-setuptools
2582c70a
PZ
14Requires: python-Louie
15Requires: python-TwistedCore
16Requires: python-TwistedWeb
17Requires: python-configobj
00c9e9ce 18Requires: python-setuptools
2582c70a
PZ
19%pyrequires_eq python-modules
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
25and exports local and remote media files via its plugins to other UPnP
26clients.
27
28And together with GStreamer it forms a controllable DLNA/UPnP
29MediaRenderer.
30
02300ffd 31%description -l pl.UTF-8
32Wolno stojąca aplikacja Coherence służy jako DLNA/UPnP MediaServer i
33udostępnia lokalne i zdalne pliki multimedialne przez jego wtyczki do
34innych klientów UPnP.
35
2582c70a
PZ
36%prep
37%setup -q -n Coherence-%{version}
257627d5 38%patch0 -p1
2582c70a
PZ
39
40%build
41python setup.py build
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46python setup.py install \
47 --optimize=2 \
48 --root=$RPM_BUILD_ROOT
49
50%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
51%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
52
53find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc README
61%attr(755,root,root) %{_bindir}/*
62%{py_sitescriptdir}/*
This page took 0.060122 seconds and 4 git commands to generate.