packages: python-pygtkhelpers/python-pygtkhelpers.spec (NEW) - initial

lisu lisu at pld-linux.org
Mon May 31 14:42:50 CEST 2010


Author: lisu                         Date: Mon May 31 12:42:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/python-pygtkhelpers/python-pygtkhelpers.spec
diff -u /dev/null packages/python-pygtkhelpers/python-pygtkhelpers.spec:1.1
--- /dev/null	Mon May 31 14:42:50 2010
+++ packages/python-pygtkhelpers/python-pygtkhelpers.spec	Mon May 31 14:42:45 2010
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+%define 	module	pygtkhelpers
+Summary:	Library to assist the building of PyGTK applications
+Name:		python-%{module}
+Version:	0.4.1
+Release:	1
+License:	Other
+Group:		Development/Languages/Python
+Source0:	http://pypi.python.org/packages/source/p/pygtkhelpers/%{module}-%{version}.tar.gz
+# Source0-md5:	7ad3ab335ac6d467cf8dedbc28ed1fd6
+URL:		http://pypi.python.org/pypi/pygtkhelpers/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyGTKHelpers is a library to assist the building of PyGTK
+applications. It is intentionally designed to be non-frameworky, and
+blend well with your particular style of PyGTK development.
+
+PyGTKHelpers provides a number of widespread features including: View
+delegation, MVC, mixed GtkBuilder/Python views, widget proxying,
+signal auto-connection, object-base lists and trees, a number of
+helper widgets, utility functions for assisting creating new GObject
+types, unit testing helpers and utilities to help debug PyGTK
+applications.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS.txt PKG-INFO
+%dir %{py_sitescriptdir}/pygtkhelpers
+%{py_sitescriptdir}/pygtkhelpers/*.py[co]
+%dir %{py_sitescriptdir}/pygtkhelpers/debug
+%{py_sitescriptdir}/pygtkhelpers/debug/*.py[co]
+%dir %{py_sitescriptdir}/pygtkhelpers/ui
+%{py_sitescriptdir}/pygtkhelpers/ui/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/pygtkhelpers*.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  2010/05/31 12:42:45  lisu
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list