[dmlite-shell/el6] -initial import of dmlite shell

Devresse adev at fedoraproject.org
Fri Dec 13 15:33:12 UTC 2013


commit 8f54a744492b35e9dc58c5d01991d317c52446d7
Author: Adrien Devresse <adevress at adevvm-sl6-1.cern.ch>
Date:   Fri Dec 13 16:33:09 2013 +0100

    -initial import of dmlite shell

 .gitignore        |    1 +
 dmlite-shell.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a58cd9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dmlite-shell-0.2.1.tar.gz
diff --git a/dmlite-shell.spec b/dmlite-shell.spec
new file mode 100644
index 0000000..305b38c
--- /dev/null
+++ b/dmlite-shell.spec
@@ -0,0 +1,52 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
+
+Name:		dmlite-shell
+Version:	0.2.1
+Release:	2%{?dist}
+Summary:	Shell environment for dmlite
+Group:		Applications/Internet
+License:	ASL 2.0
+URL:		https://svnweb.cern.ch/trac/lcgdm
+# The source of this package was pulled from upstream's vcs. Use the
+# following commands to generate the tarball:
+# svn export http://svn.cern.ch/guest/lcgdm/dmlite-shell/tags/dmlite-shell_0_2_1-2 dmlite-shell-0.2.1
+# tar -czvf dmlite-shell-0.2.1.tar.gz dmlite-shell-0.2.1
+Source0:	%{name}-%{version}.tar.gz
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	cmake
+BuildRequires:	python2-devel
+BuildArch:		noarch
+
+Requires:		python-dateutil
+Requires:		python-dmlite
+
+%description
+This package provides a shell environment for dmlite. It includes useful
+commands for system administration, testers and power users.
+
+%prep
+%setup -q 
+
+%build
+%cmake \
+-DCMAKE_INSTALL_PREFIX=/ \
+.
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files 
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{python_sitelib}/dmliteshell
+%doc LICENSE README RELEASE-NOTES
+
+%changelog
+* Mon Nov 04 2013 Adrien Devresse <adevress at cern.ch> - 0.2.1-2
+ - Initial release of dmlite shell
diff --git a/sources b/sources
index e69de29..98172f1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e6eb3c804c999dcf0a7f24db011b0225  dmlite-shell-0.2.1.tar.gz


More information about the scm-commits mailing list