forked from pool/perl-JSON-RPC
- beautify specfile
- Initial package 0.96 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-RPC?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
85ad6a5567
commit
5fff41af0c
3
JSON-RPC-0.96.tar.bz2
Normal file
3
JSON-RPC-0.96.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:afb14eb3a3e861eb8d52f9b4f4f1dd31ea58c0b99cfb46b37379eb99038b7b54
|
||||||
|
size 13181
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:043624b5bd8a9eef18fd03082a1d99b45e3c5202786752a32e051590b565ba15
|
|
||||||
size 14206
|
|
10
perl-JSON-RPC.changes
Normal file
10
perl-JSON-RPC.changes
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 7 15:24:05 CEST 2009 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- beautify specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 01 00:00:00 CET 2009 - - jw@suse.de
|
||||||
|
|
||||||
|
- Initial package 0.96
|
||||||
|
|
@@ -1,20 +1,28 @@
|
|||||||
%define _real_name JSON-RPC
|
#
|
||||||
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
|
# spec file for package perl-JSON-RPC
|
||||||
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
|
||||||
Summary: Perl implementation of JSON-RPC 1.1 protocol
|
|
||||||
Name: perl-JSON-RPC
|
Name: perl-JSON-RPC
|
||||||
|
Summary: Perl implementation of JSON-RPC 1.1 protocol
|
||||||
|
%define _real_name JSON-RPC
|
||||||
Version: 0.96
|
Version: 0.96
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: Artistic License
|
||||||
BuildRequires: perl-JSON perl-libwww-perl
|
BuildRequires: perl-JSON perl-libwww-perl
|
||||||
Requires: perl-JSON perl-libwww-perl
|
Requires: perl-JSON perl-libwww-perl
|
||||||
Group: Applications/CPAN
|
Group: Development/Libraries/Perl
|
||||||
Packager: jw@suse.de
|
Url: http://search.cpan.org/perldoc?JSON::RPC
|
||||||
URL: http://search.cpan.org/perldoc?JSON::RPC
|
Source: %{_real_name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-RPC-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JSON-RPC is a stateless and light-weight remote procedure call (RPC)
|
JSON-RPC is a stateless and light-weight remote procedure call (RPC)
|
||||||
@@ -22,19 +30,22 @@ protocol for inter-networking applications over HTTP. It uses JSON
|
|||||||
as the data format for of all facets of a remote procedure call,
|
as the data format for of all facets of a remote procedure call,
|
||||||
including all application data carried in parameters.
|
including all application data carried in parameters.
|
||||||
|
|
||||||
The old modules - JSONRPC::Transport::HTTP and Apache::JSONRPC are deprecated. Please try to use JSON::RPC::Server and JSON::RPC::Client which support both JSON-RPC protocol version 1.1 and 1.0.
|
The old modules - JSONRPC::Transport::HTTP and Apache::JSONRPC are deprecated.
|
||||||
|
Please try to use JSON::RPC::Server and JSON::RPC::Client which support both
|
||||||
|
JSON-RPC protocol version 1.1 and 1.0.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{_real_name}-%{version}
|
%setup -n %{_real_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
||||||
%{__make}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf %{buildroot}
|
%{makeinstall}
|
||||||
%{__make} install
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
|
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
|
||||||
find %{buildroot} -name .packlist -exec %{__rm} {} \;
|
find %{buildroot} -name .packlist -exec %{__rm} {} \;
|
||||||
|
|
||||||
@@ -48,7 +59,4 @@ find %{buildroot} -name .packlist -exec %{__rm} {} \;
|
|||||||
%{perl_vendorlib}/JSON/*
|
%{perl_vendorlib}/JSON/*
|
||||||
%{perl_vendorlib}/*.pm
|
%{perl_vendorlib}/*.pm
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 1 2009 - jw@suse.de
|
|
||||||
- Initial package 0.96
|
|
||||||
|
Reference in New Issue
Block a user