[packages/uwsgitop] new package

jajcus jajcus at pld-linux.org
Mon Feb 24 14:14:32 CET 2014


commit c8abadd8cc504cae06605df1a8fe83519239c915
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Feb 24 14:14:14 2014 +0100

    new package

 uwsgitop.spec | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
---
diff --git a/uwsgitop.spec b/uwsgitop.spec
new file mode 100644
index 0000000..65de5ee
--- /dev/null
+++ b/uwsgitop.spec
@@ -0,0 +1,38 @@
+Summary:	uWSGI top-like application
+Name:		uwsgitop
+Version:	0.6.2
+Release:	1
+License:	MIT
+Group:		Networking/Admin
+Source0:	https://pypi.python.org/packages/source/u/uwsgitop/%{name}-%{version}.tar.gz
+# Source0-md5:	eabb727d79d6d3d2c838430987f5f327
+URL:		https://github.com/unbit/uwsgitop
+BuildRequires:	sed >= 4.0
+Requires:	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+uwsgitop is a top-like command that uses the uWSGI stats server.
+
+%prep
+%setup -q
+
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' uwsgitop
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install uwsgitop $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/uwsgitop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uwsgitop.git/commitdiff/c8abadd8cc504cae06605df1a8fe83519239c915



More information about the pld-cvs-commit mailing list