From 88122a47cd2ce97bc5d324493597432e767375be Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Thu, 4 Mar 2010 05:35:36 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + import.log | 1 + perl-MooseX-Types-JSON.spec | 66 +++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 69 insertions(+) create mode 100644 import.log create mode 100644 perl-MooseX-Types-JSON.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1627e93 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MooseX-Types-JSON-0.02.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..5e6c649 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-MooseX-Types-JSON-0_02-2_fc12:HEAD:perl-MooseX-Types-JSON-0.02-2.fc12.src.rpm:1267680931 diff --git a/perl-MooseX-Types-JSON.spec b/perl-MooseX-Types-JSON.spec new file mode 100644 index 0000000..1fb2668 --- /dev/null +++ b/perl-MooseX-Types-JSON.spec @@ -0,0 +1,66 @@ +Name: perl-MooseX-Types-JSON +Summary: JSON data types for Moose +Version: 0.02 +Release: 2%{?dist} +# see lib/MooseX/Types/JSON.pm +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MILA/MooseX-Types-JSON-%{version}.tar.gz +URL: http://search.cpan.org/dist/MooseX-Types-JSON +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON::XS) >= 2.00 +BuildRequires: perl(Moose) >= 0.82 +BuildRequires: perl(MooseX::Types) >= 0.15 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) + +# note the versioning here, that we don't get elsewhere +Requires: perl(JSON::XS) >= 2.00 +Requires: perl(Moose) >= 0.82 +Requires: perl(MooseX::Types) >= 0.15 + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +%{summary}. + +%prep +%setup -q -n MooseX-Types-JSON-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{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 README Changes examples/ +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Tue Mar 02 2010 Chris Weyl 0.02-2 +- add README to doc + +* Tue Feb 23 2010 Chris Weyl 0.02-1 +- specfile by Fedora::App::MaintainerTools 0.003 + diff --git a/sources b/sources index e69de29..2c435ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e6eb8745f38051ff471755759e6006c8 MooseX-Types-JSON-0.02.tar.gz