commit python-virtkey for openSUSE:Factory
Hello community, here is the log from the commit of package python-virtkey for openSUSE:Factory checked in at Wed Dec 29 00:31:35 CET 2010. -------- --- GNOME/python-virtkey/python-virtkey.changes 2010-04-02 03:28:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-virtkey/python-virtkey.changes 2010-12-20 10:03:53.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Dec 20 09:02:23 UTC 2010 - saschpe@suse.de + +- Re-packaged with py2pack to reduce build errors + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-virtkey.spec ++++++ --- /var/tmp/diff_new_pack.ptrDIl/_old 2010-12-29 00:31:25.000000000 +0100 +++ /var/tmp/diff_new_pack.ptrDIl/_new 2010-12-29 00:31:25.000000000 +0100 @@ -17,42 +17,54 @@ # norootforbuild +%{!?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)")} -Name: python-virtkey +%define mod_name virtkey + +Name: python-%{mod_name} Version: 0.50 -Release: 1 -License: GPLv2+ -Summary: Python extension to emulate keypresses -Group: Development/Libraries/Python +Release: 2 Url: https://launchpad.net/virtkey -Source: %{name}-%{version}.tar.bz2 +Summary: Python extension to emulate keypresses +License: GPLv2+ +Group: Development/Languages/Python +Source: python-%{mod_name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM python-virtkey-use-pkg-config.patch vuntz@opensuse.org -- Fix build by using pkg-config to get compilation flags, sent by mail upstream (no bug tracker) Patch0: python-virtkey-use-pkg-config.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} %py_requires +%endif %description Python extension for emulating keypresses and getting current keyboard layout. +Authors: +-------- + Chris Jones <cej105@soton.ac.uk> + %prep -%setup -q -c +export CFLAGS="%{optflags}" +%setup -c %patch0 -p1 %build -%{__python} setup.py build +python setup.py build %install -%{__python} setup.py install --prefix=%{_prefix} --root %{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES} %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} -%files -%defattr(-,root,root) -%{python_sitearch}/virtkey.so -%{python_sitearch}/virtkey-*.egg-info +%files %{?suse_version: -f INSTALLED_FILES} +%defattr(-,root,root,-) +%if 0%{!?suse_version:1} +%python_sitelib/%{mod_name}* +%endif %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de