perl-PlRPC-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: perl-PlRPC
  2. Version: 0.2020
  3. Release: 9%{?_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)
  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. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2020-9
  52. - rebuilt with perl-5.26.
  53. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.2020-8
  54. - build with Perl 5.16
  55. * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 0.2020-7
  56. - build for Vine Linux
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-6
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-5
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2020-4
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.2020-3
  64. - rebuild against perl 5.10.1
  65. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2020-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Wed Apr 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-1
  68. - submission
  69. * Thu Mar 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.2020-0
  70. - initial RPM packaging
  71. - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)