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.
95 lines
3.0 KiB
95 lines
3.0 KiB
Name: perl-XXX
|
|
Version: 0.18
|
|
Release: 4%{?dist}
|
|
Summary: See Your Data in the Nude
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/XXX/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/XXX-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl(YAML)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
XXX.pm exports a function called XXX that you can put just about
|
|
anywhere in your Perl code to make it die with a YAML dump of the
|
|
arguments to its right.
|
|
|
|
The charm of XXX-debugging is that it is easy to type and rarely
|
|
requires parens and stands out visually so that you remember to remove
|
|
it.
|
|
|
|
XXX.pm also exports WWW, YYY and ZZZ which do similar debugging things.
|
|
|
|
To use Data::Dumper instead of YAML:
|
|
use XXX -dumper;
|
|
|
|
%prep
|
|
%setup -q -n XXX-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
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 \;
|
|
iconv -f iso8859-1 -t utf-8 < README > README.z
|
|
mv README.z README
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 0.18-3
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Sep 05 2011 Petr Sabata <contyk@redhat.com> - 0.18-1
|
|
- 0.18 bump
|
|
- Remove now obsolete BuildRoot and defattr
|
|
|
|
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4
|
|
- Perl mass rebuild
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Tue Sep 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-1
|
|
- 633760 update
|
|
|
|
* Fri May 14 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.12-7
|
|
- Bump release for perl-5.12.0 rebuild.
|
|
|
|
* Tue Apr 27 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-6
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.12-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Wed Apr 22 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.12-2
|
|
- add BR Test::More and ExtUtils::MakeMaker
|
|
|
|
* Tue Apr 14 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.12-1
|
|
- initial packaging
|