]> git.pld-linux.org Git - packages/python-coherence.git/blobdiff - python-coherence.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-coherence.git] / python-coherence.spec
index 2c61b6969776456104ba1ce47c4aa5d1e457db4a..ace306b7f4a9a6aec694e2c56c8a4fbca861f8b4 100644 (file)
@@ -1,13 +1,16 @@
 Summary:       A DLNA/UPnP MediaServer protocol implementation
 Summary(pl.UTF-8):     Implementacja protokołu DLNA/UPnP MediaServer
 Name:          python-coherence
-Version:       0.6.2
-Release:       1
+Version:       0.6.6.2
+Release:       5
 License:       MIT
 Group:         Libraries/Python
 Source0:       https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
-# Source0-md5: feaeeaa68cae420c0c365c3c27b2a21e
+# Source0-md5: d7a1b4abf6831c61e37a3b9e2bdc560a
+Source1:       org.Coherence.service
 URL:           https://coherence.beebits.net/
+BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: python-TwistedWeb
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
@@ -41,14 +44,15 @@ Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
 %setup -q -n Coherence-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
+install %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/org.Coherence.service
+
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -64,3 +68,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc README
 %attr(755,root,root) %{_bindir}/*
 %{py_sitescriptdir}/*
+%{_datadir}/dbus-1/services/org.Coherence.service
This page took 0.025586 seconds and 4 git commands to generate.