rpms/perl-asa/devel import.log, NONE, 1.1 perl-asa.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl
cweyl at fedoraproject.org
Sun Nov 23 07:47:25 UTC 2008
Author: cweyl
Update of /cvs/extras/rpms/perl-asa/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23585/devel
Modified Files:
.cvsignore sources
Added Files:
import.log perl-asa.spec
Log Message:
initial import
--- NEW FILE import.log ---
perl-asa-0_02-1_fc9:HEAD:perl-asa-0.02-1.fc9.src.rpm:1227426379
--- NEW FILE perl-asa.spec ---
Name: perl-asa
Version: 0.02
Release: 1%{?dist}
# see lib/asa.pm
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Lets your class/object say it works like something else
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/asa-%{version}.tar.gz
Url: http://search.cpan.org/dist/asa
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(base)
BuildRequires: perl(Carp)
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::More) >= 0.47
# optional tests
BuildRequires: perl(Test::Pod)
%description
Perl 5 doesn't natively support Java-style interfaces, and it doesn't
support Perl 6 style roles either.
You can get both of these things in half a dozen different ways via various
CPAN modules, but they usually require that you buy into "their way" of
implementing your code.
This package overrides the isa() method, allowing your class to claim it's a
class it's not (that is, isn't in @ISA).
%prep
%setup -q -n asa-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
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 ';'
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Tue Nov 18 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.02-1
- brushup for submission
* Tue Nov 18 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.02-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-asa/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 23 Nov 2008 04:24:00 -0000 1.1
+++ .cvsignore 23 Nov 2008 07:46:53 -0000 1.2
@@ -0,0 +1 @@
+asa-0.02.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-asa/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 23 Nov 2008 04:24:00 -0000 1.1
+++ sources 23 Nov 2008 07:46:54 -0000 1.2
@@ -0,0 +1 @@
+b2b0358f0c8548dacdbdaeaa7c9fe5f7 asa-0.02.tar.gz
More information about the perl-devel
mailing list