]> git.pld-linux.org Git - packages/ssh-keydb.git/commitdiff
new
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Feb 2015 18:19:19 +0000 (20:19 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Feb 2015 18:19:19 +0000 (20:19 +0200)
ssh-keydb.spec [new file with mode: 0644]

diff --git a/ssh-keydb.spec b/ssh-keydb.spec
new file mode 100644 (file)
index 0000000..c82b383
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       OpenSSH public key management tool
+Name:          ssh-keydb
+Version:       0.2
+Release:       0.1
+License:       GPL v3
+Group:         Applications
+Source0:       https://pypi.python.org/packages/2.7/s/ssh-keydb/ssh_keydb-%{version}dev-py2.7.egg
+# Source0-md5: bdee78b4a62515e72cb9244efdf5c566
+URL:           https://code.google.com/p/ssh-keydb/
+BuildRequires: python >= 1:2.7
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSSH public key management tool.
+
+%prep
+%setup -qc
+
+mv ssh_keydb/COPYING .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+cp -a ssh_keydb $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/ssh_keydb
+%{py_sitescriptdir}/ssh_keydb/*.py[co]
+%dir %{py_sitescriptdir}/ssh_keydb/plugins
+%{py_sitescriptdir}/ssh_keydb/plugins/*.py[co]
This page took 0.085228 seconds and 4 git commands to generate.