rpms/perl-JSON/FC-6 perl-JSON.spec,NONE,1.1 sources,1.1,1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Apr 25 20:26:23 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-JSON/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13421

Modified Files:
	sources 
Added Files:
	perl-JSON.spec 
Log Message:
pseudo-branch of perl-JSON to FC-6


--- NEW FILE perl-JSON.spec ---
Name:           perl-JSON
Version:        1.11
Release:        2%{?dist}
Summary:        Parse and convert to JSON (JavaScript Object Notation)
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/JSON/
Source0:        http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(HTTP::Request)
BuildRequires:  perl(HTTP::Response)

# tests, etc
BuildRequires:  perl(CGI)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(HTTP::Daemon)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Scalar::Util)

# not picked up due to eval { requires ... } constructs
Requires:       perl(Scalar::Util)
Requires:       perl(LWP::UserAgent)
Requires:       perl(HTTP::Daemon)

Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module converts between JSON (JavaScript Object Notation) and Perl
data structure into each other. For JSON, See to
http://www.crockford.com/JSON/.

%prep
%setup -q -n JSON-%{version}

# remove errant exec bits...
find . -type f -exec chmod -c -x {} \;

# fix some EOL encodings
sed -i 's/\r//' README

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Apr 25 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.11-2
- bump

* Tue Apr 24 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.11-1
- update to 1.11

* Wed Apr 18 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.10-1
- Specfile autogenerated by cpanspec 1.69.1.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Apr 2007 19:38:53 -0000	1.1
+++ sources	25 Apr 2007 20:25:48 -0000	1.2
@@ -0,0 +1 @@
+c1e50efa98c9f7c1907b0dfd6b2656a9  JSON-1.11.tar.gz




More information about the scm-commits mailing list