commit 47950fc797548363009dc6623e66030a9df6b9cd0a4cf44d35113bbdddaa0dd8 Author: Sascha Peilicke Date: Fri Jun 24 20:20:44 2011 +0000 - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Kivy?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Kivy-1.0.6.tar.gz b/Kivy-1.0.6.tar.gz new file mode 100644 index 0000000..0979776 --- /dev/null +++ b/Kivy-1.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:087af88b161c772a86e58cb9148b94098545bdc03beba409cf4c70bcd0360a59 +size 5201461 diff --git a/python-Kivy.changes b/python-Kivy.changes new file mode 100644 index 0000000..c7d66a8 --- /dev/null +++ b/python-Kivy.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Jun 24 19:56:56 UTC 2011 - saschpe@gmx.de + +- Initial version + diff --git a/python-Kivy.spec b/python-Kivy.spec new file mode 100644 index 0000000..cb7c2f5 --- /dev/null +++ b/python-Kivy.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-Kivy +# +# 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-Kivy +Version: 1.0.6 +Release: 0 +Url: http://kivy.org/ +Summary: Hardware-accelerated multitouch application library +License: LGPLv3 +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/K/Kivy/Kivy-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-cython +BuildRequires: Mesa-devel +%if 0%{?suse_version} +%py_requires +%endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +%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. + +%prep +%setup -q -n Kivy-%{version} +sed -i "s|data_file_prefix = 'share/kivy-'|data_file_prefix = '%{_docdir}/%{name}/'|" setup.py + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README examples +%{python_sitearch}/* + +%changelog