You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.9 KiB
97 lines
2.9 KiB
Name: perl-MooseX-Types-JSON
|
|
Summary: JSON data types for Moose
|
|
Version: 0.02
|
|
Release: 12%{?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
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.02-11
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.02-8
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.02-6
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-4
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-3
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* 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
|
|
|