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