packages: python-RunSnakeRun/python-RunSnakeRun.spec (NEW) - Initial 2.0.0b4-1

matkor matkor at pld-linux.org
Sat Jun 6 15:37:01 CEST 2009


Author: matkor                       Date: Sat Jun  6 13:37:01 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Initial 2.0.0b4-1

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

---- Diffs:

================================================================
Index: packages/python-RunSnakeRun/python-RunSnakeRun.spec
diff -u /dev/null packages/python-RunSnakeRun/python-RunSnakeRun.spec:1.1
--- /dev/null	Sat Jun  6 15:37:01 2009
+++ packages/python-RunSnakeRun/python-RunSnakeRun.spec	Sat Jun  6 15:36:55 2009
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define 	module	RunSnakeRun
+Summary:	GUI Viewer for Python profiling runs
+Summary(pl.UTF-8):	Interfejs graficzny do wyników profilowania programów Pythonowych
+Name:		python-%{module}
+Version:	2.0.0b4
+Release:	1
+License:	BSD
+Group:		Development/Languages/Python
+Source0:	http://pypi.python.org/packages/source/R/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	20dc6a4b591ac989cd0ec9011446ac9b
+URL:		http://www.vrplumber.com/programming/runsnakerun/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+#Requires:		python-libs
+Requires:	python-SquareMap
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+simple program, it doesn't provide all the bells-and-whistles of a program like KCacheGrind, it's intended to allow for profiling your Python programs, and just your Python programs
+
+%description -l pl.UTF-8
+Prosty program pozwalający zobaczyć wyniki profiliwoania programów w Pythonie.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%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 AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root)  %{_bindir}/runsnake
+%dir %{py_sitescriptdir}/runsnakerun
+%{py_sitescriptdir}/runsnakerun/*.py[co]
+%{py_sitescriptdir}/%{module}*.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
+
================================================================


More information about the pld-cvs-commit mailing list