source: projects/specs/trunk/p/perl-PlRPC/perl-PlRPC-vl.spec @ 3115

Revision 3115, 2.5 KB checked in by iwaim, 13 years ago (diff)

new: perl-PlRPC (Fedora)

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