From 7e462e6699d5254af6b7477ba45f08aa5c9a38dd Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 10 2005 20:32:47 +0000 Subject: auto-import perl-Class-Data-Inheritable-0.02-3 on branch devel from perl-Class-Data-Inheritable-0.02-3.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..f667f90 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Class-Data-Inheritable-0.02.tar.gz diff --git a/perl-Class-Data-Inheritable.spec b/perl-Class-Data-Inheritable.spec new file mode 100644 index 0000000..2ec573d --- /dev/null +++ b/perl-Class-Data-Inheritable.spec @@ -0,0 +1,55 @@ +Name: perl-Class-Data-Inheritable +Version: 0.02 +Release: 3%{?dist} +Summary: Inheritable, overridable class data +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Class-Data-Inheritable/ +Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Class-Data-Inheritable-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Class::Data::Inheritable is for creating accessor/mutators to +class data. That is, if you want to store something about your +class as a whole (instead of about a single object). This data +is then inherited by your subclasses and can be overriden. + +%prep +%setup -q -n Class-Data-Inheritable-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make + +%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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{perl_vendorlib}/Class +%{_mandir}/man3/*.3* + + +%changelog +* Sun Jul 10 2005 Tom "spot" Callaway 0.02-3 +- changed /Class/Data to /Class, for proper ownership + +* Fri Jul 8 2005 Tom "spot" Callaway 0.02-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 0.02-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..c1227be 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d3a9fff92ede1085643341179fd9263b Class-Data-Inheritable-0.02.tar.gz