packages: bpython/bpython.spec - pl - -python-bpdb R: python-bpython - sepa...

qboosh qboosh at pld-linux.org
Thu Aug 11 21:10:19 CEST 2011


Author: qboosh                       Date: Thu Aug 11 19:10:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl
- -python-bpdb R: python-bpython
- separated -gtk (with python-pygtk-gtk dependency)

---- Files affected:
packages/bpython:
   bpython.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/bpython/bpython.spec
diff -u packages/bpython/bpython.spec:1.5 packages/bpython/bpython.spec:1.6
--- packages/bpython/bpython.spec:1.5	Thu Sep  2 16:25:56 2010
+++ packages/bpython/bpython.spec	Thu Aug 11 21:10:14 2011
@@ -2,8 +2,8 @@
 # TODO:
 # - check docs folder for valuable files
 #
-%define		pname	bpython
 Summary:	bpython - a fancy interface to the Python interpreter
+Summary(pl.UTF-8):	bpython - fantazyjny interfejs do interpretera Pythona
 Name:		bpython
 Version:	0.9.7.1
 Release:	1
@@ -17,7 +17,7 @@
 BuildRequires:	python-devel-tools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	python-%{name} = %{version}-%{release}
+Requires:	python-bpython = %{version}-%{release}
 Requires:	python-distribute >= 0.6.10
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,27 +26,55 @@
 bpython is a fancy interface to the Python interpreter for Unix-like
 operating systems.
 
+%description -l pl.UTF-8
+bpython to fantazyjny interfejs do interpretera Pythona przeznaczony
+dla uniksowych systemów operacyjnych.
+
+%package gtk
+Summary:	GTK+ bpython interface
+Summary(pl.UTF-8):	Interfejs GTK+ bpythona
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-pygtk-gtk >= 2:2.0
+
+%description gtk
+GTK+ bpython interface.
+
+%description gtk -l pl.UTF-8
+Interfejs GTK+ bpythona.
+
 %package -n python-bpython
 Summary:	bpython shell modules
+Summary(pl.UTF-8):	Moduły powłoki bpython
 Group:		Libraries/Python
 Requires:	python-pygments
-%pyrequires_eq	python-devel-tools
 %pyrequires_eq	pydoc
+%pyrequires_eq	python-devel-tools
 
 %description -n python-bpython
 bpython is a fancy interface to the Python interpreter for Unix-like
 operating systems.
 
+%description -n python-bpython -l pl.UTF-8
+bpython to fantazyjny interfejs do interpretera Pythona przeznaczony
+dla uniksowych systemów operacyjnych.
+
 %package -n python-bpdb
-Summary:	bpdb module
+Summary:	bpdb module - PDB extension
+Summary(pl.UTF-8):	Moduł bpdb - rozszerzenie PDB
 Group:		Libraries/Python
-%pyrequires_eq	python-devel-tools
+Requires:	python-bpython = %{version}-%{release}
 %pyrequires_eq	pydoc
+%pyrequires_eq	python-devel-tools
 
 %description -n python-bpdb
 BPDB is an extension to PDB which allows you to press B in a PDB
 session which will let you be dropped into a bpython sessions with the
-current PDB locals()
+current PDB locals().
+
+%description -n python-bpdb -l pl.UTF-8
+BPDB to rozszerzenie PDB pozwalające nacisnąć B w sesji PDB, aby
+przejść do sesji bpythona z bieżącą zawartością locals() z PDB.
 
 %prep
 %setup -q
@@ -54,30 +82,34 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python ./setup.py install --optimize=2 --root=$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}/*
+%attr(755,root,root) %{_bindir}/bpython
 %{_desktopdir}/bpython.desktop
-%{_mandir}/man1/*.1*
-%{_mandir}/man5/*.5*
+%{_mandir}/man1/bpython.1*
+%{_mandir}/man5/bpython-config.5*
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/bpython-gtk
 
 %files -n python-bpython
 %defattr(644,root,root,755)
-%doc README
-%{py_sitescriptdir}/%{pname}
-%{py_sitescriptdir}/*.egg-info
+%doc AUTHORS CHANGELOG LICENSE README ROADMAP TODO
+%{py_sitescriptdir}/bpython
+%{py_sitescriptdir}/bpython-%{version}-py*.egg-info
 
 %files -n python-bpdb
 %defattr(644,root,root,755)
-%doc README
 %{py_sitescriptdir}/bpdb
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -86,6 +118,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/08/11 19:10:14  qboosh
+- pl
+- -python-bpdb R: python-bpython
+- separated -gtk (with python-pygtk-gtk dependency)
+
 Revision 1.5  2010/09/02 14:25:56  emes
 - up to 0.9.7.1
 - added package python-bpdb
@@ -102,4 +139,3 @@
 
 Revision 1.1  2009/12/18 11:36:31  patrys
 - initial PLD release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bpython/bpython.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list