perl-PlRPC-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: perl-PlRPC
  2. Version: 0.2020
  3. Release: 6%{?dist}
  4. License: GPL+ or Artistic
  5. Group: Development/Libraries
  6. Summary: Interface for building pServer Clients
  7. Source: http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/PlRPC/PlRPC-%{version}.tar.gz
  8. Url: http://search.cpan.org/dist/PlRPC
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Net::Daemon) >= 0.13
  14. BuildRequires: perl(Storable)
  15. # tests
  16. BuildRequires: perl(Compress::Zlib)
  17. BuildRequires: perl(Crypt::DES)
  18. # the better to compress you with, my dear
  19. Requires: perl(Compress::Zlib)
  20. Requires: perl(MD5)
  21. Requires: perl(Crypt::DES)
  22. %description
  23. PlRPC (Perl RPC) is a package that simplifies the writing of Perl based
  24. client/server applications. RPC::PlServer is the package used on the
  25. server side, and you guess what RPC::PlClient is for. PlRPC works by
  26. defining a set of methods that may be executed by the client.
  27. %prep
  28. %setup -q -n PlRPC
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  36. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  37. %{_fixperms} %{buildroot}/*
  38. %check
  39. # tests fail in buildsys/mock
  40. %{?_with_tests: make test }
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc ChangeLog README
  46. %{perl_vendorlib}/*
  47. %{_mandir}/man3/*.3*
  48. %changelog
  49. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-6
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  51. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-5
  52. - 661697 rebuild for fixing problems with vendorach/lib
  53. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-4
  54. - Mass rebuild with perl-5.12.0
  55. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.2020-3
  56. - rebuild against perl 5.10.1
  57. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  59. * Wed Apr 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-1
  60. - submission
  61. * Thu Mar 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-0
  62. - initial RPM packaging
  63. - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)