packages: python-gprof2dot/python-gprof2dot.spec (NEW) - initial.
cieciwa
cieciwa at pld-linux.org
Wed Jun 29 10:13:03 CEST 2011
Author: cieciwa Date: Wed Jun 29 08:13:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial.
---- Files affected:
packages/python-gprof2dot:
python-gprof2dot.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-gprof2dot/python-gprof2dot.spec
diff -u /dev/null packages/python-gprof2dot/python-gprof2dot.spec:1.1
--- /dev/null Wed Jun 29 10:13:03 2011
+++ packages/python-gprof2dot/python-gprof2dot.spec Wed Jun 29 10:12:58 2011
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+# TODO
+# - better group
+%define module gprof2dot
+Summary: Generate a dot graph from the output of several profiles.
+Name: python-%{module}
+Version: 1.0
+Release: 0.1
+License: LGPL
+Group: Development/Languages/Python
+Source0: http://pypi.python.org/packages/source/g/%{module}/%{module}-%{version}.zip
+# Source0-md5: 519db08c9529c02479537cc5dc68fecb
+URL: http://python-mock.sourceforge.net/
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.228
+Requires(post,preun): /sbin/chkconfig
+Requires: python-graphviz
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Generate a dot graph from the output of several profiles.
+
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO
+%attr(755, root,root) %{_bindir}/%{module}
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
+
+%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 2011/06/29 08:12:58 cieciwa
+- initial.
+
+
================================================================
More information about the pld-cvs-commit
mailing list