perl-PlRPC-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Name: perl-PlRPC
  2. Version: 0.2020
  3. Release: 7%{?_dist_release}
  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. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. PlRPC (Perl RPC) is a package that simplifies the writing of Perl based
  26. client/server applications. RPC::PlServer is the package used on the
  27. server side, and you guess what RPC::PlClient is for. PlRPC works by
  28. defining a set of methods that may be executed by the client.
  29. %prep
  30. %setup -q -n PlRPC
  31. %build
  32. %{__perl} Makefile.PL INSTALLDIRS=vendor
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  37. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  38. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  39. %{_fixperms} %{buildroot}/*
  40. %check
  41. # tests fail in buildsys/mock
  42. %{?_with_tests: make test }
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc ChangeLog README
  48. %{perl_vendorlib}/*
  49. %{_mandir}/man3/*.3*
  50. %changelog
  51. * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 0.2020-7
  52. - build for Vine Linux
  53. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-6
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-5
  56. - 661697 rebuild for fixing problems with vendorach/lib
  57. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-4
  58. - Mass rebuild with perl-5.12.0
  59. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.2020-3
  60. - rebuild against perl 5.10.1
  61. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-2
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Wed Apr 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-1
  64. - submission
  65. * Thu Mar 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-0
  66. - initial RPM packaging
  67. - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)