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