packages: python-virtkey/python-virtkey.spec (NEW) - new

megabajt megabajt at pld-linux.org
Sun Apr 10 16:54:25 CEST 2011


Author: megabajt                     Date: Sun Apr 10 14:54:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/python-virtkey:
   python-virtkey.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-virtkey/python-virtkey.spec
diff -u /dev/null packages/python-virtkey/python-virtkey.spec:1.1
--- /dev/null	Sun Apr 10 16:54:25 2011
+++ packages/python-virtkey/python-virtkey.spec	Sun Apr 10 16:54:20 2011
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary:	Python extension for emulating keypresses and getting layout information from the X server
+Name:		python-virtkey
+Version:	0.60.0
+Release:	1
+License:	LGPL v3
+Group:		Development/Languages/Python
+Source0:	http://launchpad.net/python-virtkey/0.60/0.60.0/+download/%{name}-%{version}.tar.gz
+# Source0-md5:	f4f6776f379bc635a29eac83a14fdde5
+URL:		http://launchpad.net/python-virtkey
+BuildRequires:	gtk+2-devel
+BuildRequires:	pkgconfig
+BuildRequires:	python-devel
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+Requires:	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+python-virtkey is a python extension for emulating keypresses and
+getting layout information from the X server.
+
+%prep
+%setup -q
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{py_sitedir}/virtkey.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/python_virtkey-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/04/10 14:54:20  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list