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