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