Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
python-Coherence
python-Coherence.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Coherence.spec of Package python-Coherence
# # spec file for package python-Coherence # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-Coherence Version: 0.6.6.2 Release: 0 Url: http://coherence-project.org Summary: Coherence - DLNA/UPnP framework for the digital living License: MIT Group: Development/Languages/Python Source: http://coherence.beebits.net/download/Coherence-0.6.6.2.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: fdupes # We drop the internal version in coherence tree BuildRequires: python-Louie BuildRequires: python-distribute BuildRequires: python-Twisted # Requires pkg_resources Requires: python-distribute # As we drop the internal version, we need to require our own package. Requires: python-Louie Requires: python-Twisted Recommends: python-gstreamer-0_10 # Youtube MediaServer Recommends: python-gdata # Flickr MediaServer Suggests: python-mechanize # For directory ownership: BuildRequires: dbus-1 Requires: dbus-1 Provides: python-coherence = %{version} #TODO: Change back to '<' after next version update: Obsoletes: python-coherence <= %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Coherence is a framework written in Python, providing a variety of UPnP MediaServer and UPnP MediaRenderer implementations for instant use. It includes an UPnP ControlPoint, which is accessible via D-Bus too. Furthermore it enables your application to participate in digital living networks, at the moment primarily the DLNA/UPnP universe. Its objective and demand is to relieve your application from all the membership/the UPnP related tasks as much as possible. %prep %setup -q -n Coherence-%{version} # We have python-louie available. Let's not carry the same package more than once find coherence -type f -exec sed -i 's/coherence.extern.louie as louie/louie/' {} \; rm coherence/extern/louie.py %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} # Install the D-Bus service file mkdir -p %{buildroot}/%{_datadir}/dbus-1/services cp -a misc/org.Coherence.service %{buildroot}/%{_datadir}/dbus-1/services/ %files %defattr(-,root,root,-) %doc ChangeLog LICENCE NEWS README %{_bindir}/* %{_datadir}/dbus-1/services/*.service %{python_sitelib}/* # Not really useful here %exclude %{_bindir}/applet-coherence %exclude %{python_sitelib}/misc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor