Author: kwizart Update of /cvs/pkgs/rpms/perl-Event-RPC/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3063/devel Modified Files: .cvsignore sources Added Files: perl-Event-RPC.spec Log Message: Initial import for devel --- NEW FILE perl-Event-RPC.spec --- Name: perl-Event-RPC Version: 0.90 Release: 3%{?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 $(find lib/ -name *.pm) 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 # Filter unwanted Provides: cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* | \ sed -e '/perl(Test_class)/d' EOF %define __perl_provides %{_builddir}/Event-RPC-%{version}/%{name}-prov chmod +x %{name}-prov %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}/Event/ %{_mandir}/man3/*.3* %changelog * Thu May 29 2008 kwizart < kwizart at gmail.com > - 0.90-3 - Fix directory ownership - Remove unwanted provides Test_class - Fix non-utf8 encoding * 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 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Event-RPC/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 30 May 2008 20:03:18 -0000 1.1 +++ .cvsignore 31 May 2008 12:40:48 -0000 1.2 @@ -0,0 +1 @@ +Event-RPC-0.90.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Event-RPC/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 30 May 2008 20:03:18 -0000 1.1 +++ sources 31 May 2008 12:40:48 -0000 1.2 @@ -0,0 +1 @@ +ab908f6b359e83fdd2f583a44168aa85 Event-RPC-0.90.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list