Group :: Development/Other
RPM: perl-XXX
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Test/Pod.pm) perl-podlators perl(YAML/PP.pm)
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-XXX
Version: 0.38
Release: alt1
Summary: See Your Data in the Nude
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/XXX
Source0: http://www.cpan.org/authors/id/I/IN/INGY/XXX-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
BuildRequires: perl(YAML.pm)
Requires: perl(Data/Dumper.pm)
Requires: perl(YAML.pm)
Source44: import.info
%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 NO_PACKLIST=true
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc CONTRIBUTING
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Test/Pod.pm) perl-podlators perl(YAML/PP.pm)
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-XXX
Version: 0.38
Release: alt1
Summary: See Your Data in the Nude
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/XXX
Source0: http://www.cpan.org/authors/id/I/IN/INGY/XXX-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
BuildRequires: perl(YAML.pm)
Requires: perl(Data/Dumper.pm)
Requires: perl(YAML.pm)
Source44: import.info
%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 NO_PACKLIST=true
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc CONTRIBUTING
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here