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.
49 lines
1.3 KiB
49 lines
1.3 KiB
Name: perl-Class-Prototyped
|
|
Version: 1.10
|
|
Release: 1%{?dist}
|
|
Summary: Fast prototype-based OO programming in Perl
|
|
License: GPL or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Class-Prototyped/
|
|
Source0: http://www.cpan.org/authors/id/T/TE/TEVERETT/Class-Prototyped-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(Module::Build)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
This package provides for efficient and simple prototype-based programming
|
|
in Perl. You can provide different subroutines for each object, and also
|
|
have objects inherit their behavior and state from another object.
|
|
|
|
%prep
|
|
%setup -q -n Class-Prototyped-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README perf/ examples/
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Apr 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.10-1
|
|
- Specfile autogenerated by cpanspec 1.70.
|