packages: python-urwid/python-urwid.spec (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Wed Aug 5 09:51:26 CEST 2009
Author: uzsolt Date: Wed Aug 5 07:51:26 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/python-urwid:
python-urwid.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-urwid/python-urwid.spec
diff -u /dev/null packages/python-urwid/python-urwid.spec:1.1
--- /dev/null Wed Aug 5 09:51:26 2009
+++ packages/python-urwid/python-urwid.spec Wed Aug 5 09:51:21 2009
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define module urwid
+Summary: Urwid is a console user interface library for Python
+Summary(hu.UTF-8): Urwid egy konzolos felhasználói felület könyvtár Pythonhoz
+Name: python-%{module}
+Version: 0.9.8.4
+Release: 0.1
+License: LGPL
+Group: Development/Languages/Python
+Source0: http://excess.org/urwid/urwid-%{version}.tar.gz
+# Source0-md5: 28f918c66887d4e470ae0c3535579ad7
+URL: http://excess.org/urwid/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Urwid is a console user interface library for Python.
+
+%description -l hu.UTF-8
+Urwid egy konzolos felhasználói felület könyvtár Pythonhoz.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+%{__make} reference.html tutorial.html
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG reference.html tutorial.html
+%{py_sitedir}/%{module}
+%{py_sitedir}/*.egg-info
+
+%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 2009/08/05 07:51:21 uzsolt
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list