rpms/perl-XXX/F-11 perl-XXX.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Apr 24 06:22:58 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-XXX/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4971

Modified Files:
	.cvsignore sources 
Added Files:
	perl-XXX.spec 
Log Message:
* Wed Apr 22 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.12-2
- add BR Test::More and ExtUtils::MakeMaker



--- NEW FILE perl-XXX.spec ---
Name:           perl-XXX
Version:        0.12
Release:        2%{?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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

iconv -f iso8859-1 -t utf-8 < README > README.z
mv README.z README

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Apr 22 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.12-2
- add BR Test::More and ExtUtils::MakeMaker

* Tue Apr 14 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.12-1
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XXX/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Apr 2009 16:34:59 -0000	1.1
+++ .cvsignore	24 Apr 2009 06:22:28 -0000	1.2
@@ -0,0 +1 @@
+XXX-0.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XXX/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Apr 2009 16:34:59 -0000	1.1
+++ sources	24 Apr 2009 06:22:28 -0000	1.2
@@ -0,0 +1 @@
+9bc0f06321ed4a8b1315ab0be7afaf48  XXX-0.12.tar.gz




More information about the Fedora-perl-devel-list mailing list