auto-import perl-Class-Data-Inheritable-0.02-3 on branch devel from
perl-Class-Data-Inheritable-0.02-3.src.rpm
This commit is contained in:
parent
f8392ad56a
commit
7e462e6699
@ -0,0 +1 @@
|
||||
Class-Data-Inheritable-0.02.tar.gz
|
||||
55
perl-Class-Data-Inheritable.spec
Normal file
55
perl-Class-Data-Inheritable.spec
Normal file
@ -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 <tcallawa@redhat.com> 0.02-3
|
||||
- changed /Class/Data to /Class, for proper ownership
|
||||
|
||||
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2
|
||||
- cleanups
|
||||
|
||||
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1
|
||||
- Initial package for Fedora Extras
|
||||
Loading…
Reference in New Issue
Block a user