%global pkg_name Net-SSH2 %global pkg_version 0.18 %global rpm_pkg_version 0.18 %global rpm_pkg_release 1.n0i.4 Summary: SSH 2 protocol interface Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DB/DBROBINS/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: libssh2-devel %description Net::SSH2 is a perl interface to the libssh2 library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path example/} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes example/ README %changelog * Wed Nov 14 2007 Marius Feraru - 0.18-1.n0i.4 - version 0.18 - spec update (new reb00t build tools) - dropped our tweaks (fixed upstream) * Sat Sep 15 2007 Marius Feraru - 0.10-2.n0i.3 - rebuild (libssh2 update) - disabled APINO test * Sun Jun 10 2007 Marius Feraru - 0.10-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 0.10 * Fri Jun 30 2006 Marius Feraru - 0.08-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8