Author: eseyman
Update of /cvs/pkgs/rpms/perl-JSON-RPC/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29474/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log perl-JSON-RPC.spec
Log Message:
Initial import.
--- NEW FILE import.log ---
perl-JSON-RPC-0_96-2_fc10:F-9:perl-JSON-RPC-0.96-2.fc10.src.rpm:1241270284
--- NEW FILE perl-JSON-RPC.spec ---
Name: perl-JSON-RPC
Version: 0.96
Release: 2%{?dist}
Summary: Perl implementation of JSON-RPC 1.1 protocol
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/JSON-RPC/
Source0:
http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-RPC-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(CGI) >= 2.92
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(JSON) >= 2
BuildRequires: perl(LWP::UserAgent) >= 2.001
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
JSON-RPC is a stateless and light-weight remote procedure call (RPC)
protocol for inter-networking applications over HTTP. It uses JSON as the
data format for of all facets of a remote procedure call, including all
application data carried in parameters.
%prep
%setup -q -n JSON-RPC-%{version}
# Get rid of non-UNIX end-of-lines
sed -i 's/\r//' ex/jsonrpc.conf
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm ex/MyApp.pm
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 {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes ex README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Apr 28 2009 Emmanuel Seyman <emmanuel.seyman(a)club-internet.fr> 0.96-2
- Remove unneeded Requires
* Tue Apr 14 2009 Emmanuel Seyman <emmanuel.seyman(a)club-internet.fr> 0.96-1
- Specfile autogenerated by cpanspec 1.77.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-JSON-RPC/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 1 May 2009 20:57:37 -0000 1.1
+++ .cvsignore 2 May 2009 13:18:39 -0000 1.2
@@ -0,0 +1 @@
+JSON-RPC-0.96.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-JSON-RPC/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 1 May 2009 20:57:37 -0000 1.1
+++ sources 2 May 2009 13:18:39 -0000 1.2
@@ -0,0 +1 @@
+3912464c3cf59b60131fd2b15400192a JSON-RPC-0.96.tar.gz