parent
b4bc967eb5
commit
88122a47cd
@ -0,0 +1 @@
|
||||
MooseX-Types-JSON-0.02.tar.gz
|
@ -0,0 +1 @@
|
||||
perl-MooseX-Types-JSON-0_02-2_fc12:HEAD:perl-MooseX-Types-JSON-0.02-2.fc12.src.rpm:1267680931
|
@ -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 <cweyl@alumni.drew.edu> 0.02-2
|
||||
- add README to doc
|
||||
|
||||
* Tue Feb 23 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
|
||||
- specfile by Fedora::App::MaintainerTools 0.003
|
||||
|
Loading…
Reference in new issue