diff --git a/README.md b/README.md index e86fde9..c11caad 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # perl-Class-Data-Inheritable +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. + diff --git a/perl-Class-Data-Inheritable.spec b/perl-Class-Data-Inheritable.spec new file mode 100644 index 0000000..16966ca --- /dev/null +++ b/perl-Class-Data-Inheritable.spec @@ -0,0 +1,56 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Class-Data-Inheritable +Version: 0.08 +Release: 1mamba +Summary: Class::Data::Inheritable - Inheritable, overridable class data +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-Data-Inheritable-%{version}.tar.gz + +License: GPL, Artistic +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/Class/ +%{_mandir}/man3/*.3pm.gz +%doc README + +%changelog +* Fri Feb 18 2011 gil 0.08-1mamba +- package created by autospec