Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
python-Kivy
python-Kivy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Kivy.spec of Package python-Kivy
# # spec file for package python-Kivy # # Copyright (c) 2012 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-Kivy Version: 1.3.0 Release: 0 Url: http://kivy.org/ Summary: Hardware-accelerated multitouch application library License: LGPL-3.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/K/Kivy/Kivy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: Mesa-devel BuildRequires: fdupes BuildRequires: python-Cython BuildRequires: python-Sphinx BuildRequires: python-devel Requires: mtdev Requires: python-imaging Requires: python-pygame Recommends: python-cairo Recommends: python-gstreamer-0_10 Recommends: python-opencv Recommends: python-pyenchant %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %description Kivy is an open source software library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. %package doc Summary: Hardware-accelerated multitouch application library - Documentation Group: Documentation/Other Requires: %{name} = %{version} %description doc Kivy is an open source software library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. This package contains the developer documentation and examples %prep %setup -q -n Kivy-%{version} sed -i "s|data_file_prefix = 'share/kivy-'|data_file_prefix = '%{_docdir}/%{name}/'|" setup.py sed -i "s|#!/usr/bin/python||" kivy/lib/osc/OSC.py # Fix non-executable script rm examples/demo/pictures/images/.empty # Remove empty file rm -r examples/audio # Remove content with non-commercial only license (bnc#749340) %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build cd doc && make html && rm -r build/html/.buildinfo # Build HTML documentation %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-doc %files %defattr(-,root,root,-) %doc AUTHORS COPYING doc/README %{python_sitearch}/* %files doc %defattr(-,root,root,-) %doc examples doc/build/html %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