Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
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 %define _name Coherence Summary: Python implementation of the UPnP specification Version: 0.6.6.2 Release: 5 License: MIT License (or similar) Group: Development/Libraries/Python Url: http://coherence.beebits.net/ Source: %{_name}-%{version}.tar.bz2 BuildRequires: fdupes # We drop the internal version in coherence tree BuildRequires: python-louie BuildRequires: python-setuptools BuildRequires: python-Twisted # Requires pkg_resources Requires: python-setuptools # 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 %py_requires # For directory ownership: BuildRequires: dbus-1 Requires: dbus-1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif %description Coherence is a framework written in Python, enabling your application to participate in digital living networks. %prep %setup -q -n %{_name}-%{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 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" # Install the D-Bus service file %{__mkdir_p} %{buildroot}/%{_datadir}/dbus-1/services %{__cp} -a misc/org.Coherence.service %{buildroot}/%{_datadir}/dbus-1/services/ %fdupes %{buildroot}/%{python_sitelib} %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc ChangeLog LICENCE NEWS README %{_bindir}/* %{_datadir}/dbus-1/services/*.service %{python_sitelib}/*.egg-info %{python_sitelib}/coherence # 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