Name: perl-Event-RPC Version: 0.90 Release: 2%{?dist} Summary: Event based transparent Client/Server RPC framework Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Event-RPC/ Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JRED/Event-RPC-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Event), perl(IO::Socket::SSL) # Required for test BuildRequires: perl(Test::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Event based transparent Client/Server RPC framework. %prep %setup -q -n Event-RPC-%{version} # Make it so that the .pl scripts in %%doc don't add bogus requirements chmod -x examples/*.pl # Convert encoding for f in README examples/Test_class.pm ; do cp -p ${f} ${f}.noutf8 iconv -f ISO-8859-1 -t UTF-8 ${f}.noutf8 > ${f} touch -r ${f}.noutf8 ${f} rm ${f}.noutf8 done %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes examples/ README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Thu May 8 2008 kwizart < kwizart at gmail.com > - 0.90-2 - Fix encoding and permission for examples * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 0.90-1 - Initial package for Fedora