From ccf1624eb21cb3a416301d65e80bdaa075bbfac2 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Apr 05 2009 05:49:06 +0000 Subject: Initial import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..902fd88 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +PlRPC-0.2020.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..3983e4a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-PlRPC-0_2020-1_fc10:F-10:perl-PlRPC-0.2020-1.fc10.src.rpm:1238910535 diff --git a/perl-PlRPC.spec b/perl-PlRPC.spec new file mode 100644 index 0000000..cc75ce2 --- /dev/null +++ b/perl-PlRPC.spec @@ -0,0 +1,68 @@ +Name: perl-PlRPC +Version: 0.2020 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Interface for building pServer Clients +Source: http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/PlRPC/PlRPC-%{version}.tar.gz +Url: http://search.cpan.org/dist/PlRPC +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Net::Daemon) >= 0.13 +BuildRequires: perl(Storable) +# tests +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(Crypt::DES) + +# the better to compress you with, my dear +Requires: perl(Compress::Zlib) +Requires: perl(MD5) +Requires: perl(Crypt::DES) + + +%description +PlRPC (Perl RPC) is a package that simplifies the writing of Perl based +client/server applications. RPC::PlServer is the package used on the +server side, and you guess what RPC::PlClient is for. PlRPC works by +defining a set of methods that may be executed by the client. + +%prep +%setup -q -n PlRPC + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +# tests fail in buildsys/mock +%{?_with_tests: make test } + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Wed Apr 01 2009 Chris Weyl 0.2020-1 +- submission + +* Thu Mar 19 2009 Chris Weyl 0.2020-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..2dcc3a7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5361e137e56d037c5e796926ecb5300b PlRPC-0.2020.tar.gz