]> git.pld-linux.org Git - packages/python-coherence.git/blame - python-coherence.spec
- rel. 3
[packages/python-coherence.git] / python-coherence.spec
CommitLineData
2582c70a 1Summary: A DLNA/UPnP MediaServer protocol implementation
133427cb 2Summary(pl.UTF-8): Implementacja protokołu DLNA/UPnP MediaServer
2582c70a 3Name: python-coherence
53fb553e 4Version: 0.5.6
c5711a5a 5Release: 3
2582c70a
PZ
6License: MIT
7Group: Libraries/Python
8Source0: https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
53fb553e 9# Source0-md5: d59c213e039457e8ae02ac77d40decdd
257627d5 10Patch0: %{name}-syntax.patch
2582c70a 11URL: https://coherence.beebits.net/
133427cb 12BuildRequires: python-devel >= 1:2.5
671fe8a4 13BuildRequires: python-setuptools
133427cb 14BuildRequires: rpm-pythonprov
2582c70a
PZ
15Requires: python-Louie
16Requires: python-TwistedCore
17Requires: python-TwistedWeb
18Requires: python-configobj
00c9e9ce 19Requires: python-setuptools
2582c70a
PZ
20%pyrequires_eq python-modules
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
26and exports local and remote media files via its plugins to other UPnP
27clients.
28
29And together with GStreamer it forms a controllable DLNA/UPnP
30MediaRenderer.
31
02300ffd 32%description -l pl.UTF-8
133427cb
JB
33Samodzielna aplikacja Coherence służy jako serwer mediów DLNA/UPnP,
34udostępniając lokalne i zdalne pliki multimedialne poprzez wtyczki dla
02300ffd 35innych klientów UPnP.
36
133427cb
JB
37Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
38
2582c70a
PZ
39%prep
40%setup -q -n Coherence-%{version}
257627d5 41%patch0 -p1
2582c70a
PZ
42
43%build
133427cb 44%{__python} setup.py build
2582c70a
PZ
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
133427cb 49%{__python} setup.py install \
2582c70a
PZ
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
56find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
f915502f 57rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/misc
2582c70a
PZ
58
59%clean
60rm -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.069152 seconds and 4 git commands to generate.