%define upstream_name Debug-Client %define upstream_version 0.16 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Client side code for perl debugger License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Debug/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) >= 1.200.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.620.0 BuildRequires: perl(File::HomeDir) >= 0.980.0 BuildRequires: perl(File::Spec) >= 3.330.0 BuildRequires: perl(File::Temp) >= 0.220.0 BuildRequires: perl(IO::Socket) >= 1.320.0 BuildRequires: perl(IO::Socket::INET) >= 1.310.0 BuildRequires: perl(PadWalker) >= 1.920.0 BuildRequires: perl(Term::ReadLine) >= 1.70.0 BuildRequires: perl(Term::ReadLine::Perl) >= 1.30.300 BuildRequires: perl(Test::Deep) >= 0.108.0 BuildRequires: perl(Test::More) >= 0.980.0 BuildArch: noarch %description new The constructor can get two parameters: host and port. my $d = Debug::Client->new; my $d = Debug::Client->new(host => 'remote.hots.com', port => 4242); Immediately after the object creation one needs to call %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml eg %{_mandir}/man3/* %perl_vendorlib/* %changelog * Mon Dec 12 2011 jquelin <jquelin> 0.160.0-1.mga2 + Revision: 180869 - update to 0.16 - update to 0.12 * Tue Jan 18 2011 jquelin <jquelin> 0.110.0-1.mga1 + Revision: 22337 - cleaning spec file - imported package perl-Debug-Client