[perl-Net-OpenSSH] Import package rhbz#813668

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 5b91035dfa29d86c10f7075e0a16b4482e227443
Author: Steve Traylen <steve.traylen@xxxxxxx>
Date:   Fri May 11 10:48:26 2012 +0200

    Import package rhbz#813668

 .gitignore            |    1 +
 perl-Net-OpenSSH.spec |   60 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0eeae15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-OpenSSH-0.57.tar.gz
diff --git a/perl-Net-OpenSSH.spec b/perl-Net-OpenSSH.spec
new file mode 100644
index 0000000..771cd03
--- /dev/null
+++ b/perl-Net-OpenSSH.spec
@@ -0,0 +1,60 @@
+Name:           perl-Net-OpenSSH
+Version:        0.57
+Release:        2%{?dist}
+Summary:        Perl SSH client package implemented on top of OpenSSH
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Net-OpenSSH/
+Source0:        http://www.cpan.org/modules/by-module/Net/Net-OpenSSH-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       openssh-clients%{?_isa}
+
+# Needed to stop the sample scripts pulling in more perl packages.
+%{?perl_default_filter}
+
+%description
+Net::OpenSSH is a secure shell client package implemented on top of OpenSSH
+binary client (ssh).
+
+%prep
+%setup -q -n Net-OpenSSH-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README sample
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Apr 27 2012 Steve Traylen <steve.traylen@xxxxxxx> 0.57-2
+- Remove requires perl(Test::More) since only needed for tests. rhbz#813668
+- Add requires openssh-clients
+- Add sample files as docs
+
+
+* Wed Apr 18 2012 Steve Traylen <steve.traylen@xxxxxxx> 0.57-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e96670d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+48ba7f3afb784d4be953bdec9ec4e323  Net-OpenSSH-0.57.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux