Author: patrys                       Date: Fri Dec 18 11:36:36 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: packages/bpython/bpython.spec
diff -u /dev/null packages/bpython/bpython.spec:1.1
--- /dev/null   Fri Dec 18 12:36:36 2009
+++ packages/bpython/bpython.spec       Fri Dec 18 12:36:31 2009
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+# TODO:
+# - check docs folder for valuable files
+#
+%define                pname   bpython
+Summary:       bpython - a fancy interface to the Python interpreter
+Name:          bpython
+Version:       0.9.5.2
+Release:       1
+License:       MIT
+Group:         Applications/Shells
+Source0:       
http://bpython-interpreter.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 8c6022907d2bff9d0193f3d299157443
+URL:           http://bpython-interpreter.org/
+BuildRequires: pydoc
+BuildRequires: python-devel
+BuildRequires: python-devel-tools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-%{name} = %{version}-%{release}
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+bpython is a fancy interface to the Python interpreter for Unix-like
+operating systems.
+
+%package -n python-bpython
+Summary:       bpython shell modules
+Group:         Libraries/Python
+%pyrequires_eq python-devel-tools
+%pyrequires_eq pydoc
+
+%description -n python-bpython
+bpython is a fancy interface to the Python interpreter for Unix-like
+operating systems.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+%py_postclean
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/bpython.desktop
+%{_mandir}/man1/*.1*
+%{_mandir}/man5/*.5*
+
+%files -n python-bpython
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/%{pname}
+%{py_sitescriptdir}/*.egg-info
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/12/18 11:36:31  patrys
+- initial PLD release
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to