[perl-CGI-Application-Plugin-JSON] Initial import.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit d0328594ddfafa3da01e1973369fc1bbc74d98e1
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Wed Nov 10 01:05:47 2010 +0100

    Initial import.

 .gitignore                            |    1 +
 perl-CGI-Application-Plugin-JSON.spec |   59 +++++++++++++++++++++++++++++++++
 sources                               |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8287ab9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CGI-Application-Plugin-JSON-1.02.tar.gz
diff --git a/perl-CGI-Application-Plugin-JSON.spec b/perl-CGI-Application-Plugin-JSON.spec
new file mode 100644
index 0000000..b3f1a50
--- /dev/null
+++ b/perl-CGI-Application-Plugin-JSON.spec
@@ -0,0 +1,59 @@
+Name:           perl-CGI-Application-Plugin-JSON
+Version:        1.02
+Release:        2%{?dist}
+Summary:        Easy manipulation of JSON headers
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CGI-Application-Plugin-JSON/
+Source0:        http://www.cpan.org/authors/id/W/WO/WONKO/CGI-Application-Plugin-JSON-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(CGI::Application) >= 4
+BuildRequires:  perl(JSON) >= 2.02
+BuildRequires:  perl(JSON::Any) >= 1.14
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(CGI::Application)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+When communicating with client-side JavaScript, it is common to send data
+in X-JSON HTTP headers or through the document body as content-type
+application/json. This CGI::Application plugin adds a couple of convenience
+methods to make that just a little bit easier.
+
+%prep
+%setup -q -n CGI-Application-Plugin-JSON-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Nov 08 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.02-2
+- Fix spec file per review
+
+* Mon Oct 04 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.02-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..c948196 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+461ad9d153457922eff2c2263d4d94ad  CGI-Application-Plugin-JSON-1.02.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux