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