diff --git a/python-virtkey-0.60.0.tar.gz b/python-virtkey-0.60.0.tar.gz deleted file mode 100644 index 68242db..0000000 --- a/python-virtkey-0.60.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8de93ded985454484e6d2e52ce86b4c7aae65bc3cd97fc8aa7259def2a091a1 -size 40328 diff --git a/python-virtkey.changes b/python-virtkey.changes index 1758cb1..be3b7fe 100644 --- a/python-virtkey.changes +++ b/python-virtkey.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jan 14 16:34:27 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Mon Jan 14 16:04:34 UTC 2013 - p.drouand@gmail.com + +- Update to 0.63.0 version: + * Add support for system-layout specific items in Onboard's layout files +- Cleanup the specfile: it only build for Suse > 12.01 version actually +- Add BuildRequires: pkgconfig(xkbfile) now needed for building package + ------------------------------------------------------------------- Fri Feb 24 09:31:30 UTC 2012 - vuntz@opensuse.org diff --git a/python-virtkey.spec b/python-virtkey.spec index 22c57dd..e5239a1 100644 --- a/python-virtkey.spec +++ b/python-virtkey.spec @@ -1,7 +1,7 @@ # # spec file for package python-virtkey # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,20 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%{!?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)")} - %define mod_name virtkey Name: python-%{mod_name} -Version: 0.60.0 +Version: 0.63.0 Release: 0 Url: https://launchpad.net/virtkey Summary: Python extension to emulate keypresses License: LGPL-3.0+ Group: Development/Languages/Python -Source: python-%{mod_name}-%{version}.tar.gz +Source: %{mod_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glib2-devel BuildRequires: gtk2-devel @@ -36,33 +32,26 @@ BuildRequires: python-devel BuildRequires: pkgconfig(gdk-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(xtst) -%if 0%{?suse_version} %py_requires -%endif %description python-virtkey is a python extension for emulating keypresses and getting the keyboard geometry from the xserver. %prep -export CFLAGS="%{optflags}" -%setup -q +%setup -q -n %{mod_name}-%{version} %build +export CFLAGS="%{optflags}" python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES -%clean -rm -rf %{buildroot} - -%files %{?suse_version: -f INSTALLED_FILES} +%files -f INSTALLED_FILES %defattr(-,root,root,-) %doc AUTHORS COPYING.LESSER NEWS README -%if 0%{!?suse_version:1} -%python_sitelib/%{mod_name}* -%endif %changelog diff --git a/python3-virtkey.changes b/python3-virtkey.changes new file mode 100644 index 0000000..89e07db --- /dev/null +++ b/python3-virtkey.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jan 14 16:34:14 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-virtkey.spec b/python3-virtkey.spec new file mode 100644 index 0000000..310db42 --- /dev/null +++ b/python3-virtkey.spec @@ -0,0 +1,58 @@ +# +# spec file for package python3-virtkey +# +# Copyright (c) 2013 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/ +# + +%define mod_name virtkey + +Name: python3-%{mod_name} +Version: 0.63.0 +Release: 0 +Url: https://launchpad.net/virtkey +Summary: Python extension to emulate keypresses +License: LGPL-3.0+ +Group: Development/Languages/Python +Source: %{mod_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-distribute +BuildRequires: pkgconfig(gdk-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xkbfile) +BuildRequires: pkgconfig(xtst) + +%description +python-virtkey is a python extension for emulating keypresses and +getting the keyboard geometry from the xserver. + +%prep +%setup -q -n %{mod_name}-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING.LESSER NEWS README +%{python3_sitelib}/* + +%changelog diff --git a/virtkey-0.63.0.tar.gz b/virtkey-0.63.0.tar.gz new file mode 100644 index 0000000..ccf654f --- /dev/null +++ b/virtkey-0.63.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9961f3989984b4037048fd3ba383cdf06a895969cab6cc7a1e7019db334ca941 +size 41707