[svn] r4622 - in trunk/rpms: . python-urwid
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Sun Aug 6 18:32:50 CEST 2006
Author: dag
Date: 2006-08-06 18:32:49 +0200 (Sun, 06 Aug 2006)
New Revision: 4622
Added:
trunk/rpms/python-urwid/
trunk/rpms/python-urwid/python-urwid.spec
Log:
Updates
Added: trunk/rpms/python-urwid/python-urwid.spec
===================================================================
--- trunk/rpms/python-urwid/python-urwid.spec 2006-08-06 16:08:45 UTC (rev 4621)
+++ trunk/rpms/python-urwid/python-urwid.spec 2006-08-06 16:32:49 UTC (rev 4622)
@@ -0,0 +1,51 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+%define real_name urwid
+
+Summary: Console UI Library for Python
+Name: python-urwid
+Version: 0.9.5
+Release: 1
+License: LGPL
+Group: Development/Libraries
+URL: http://excess.org/urwid/
+
+Source: http://excess.org/urwid/urwid-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel >= 2.1
+Requires: python >= 2.1, python-curses
+
+%description
+Urwid is a Python library for making text console applications. It has
+many features including fluid interface resizing, support for UTF-8 and CJK
+encodings, standard and custom text layout modes, simple markup for setting
+text attributes, and a powerful, dynamic list box that handles a mix of
+widget types. It is flexible, modular, and leaves the developer in control.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc reference.html tutorial.html
+%{python_sitelib}/urwid/
+%ghost %{python_sitelib}/urwid/*.pyo
+
+%changelog
+* Sun Aug 06 2006 Dag Wieers <dag at wieers.com> - 0.9.5-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/python-urwid/python-urwid.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the svn-commits
mailing list