2024-01-06 08:40:39 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Class-Data-Inheritable
|
2024-10-24 23:05:44 +02:00
|
|
|
Version: 0.10
|
2024-01-06 08:40:39 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Class::Data::Inheritable - Inheritable, overridable class data
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 08:40:40 +01:00
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org/
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Class/Class-Data-Inheritable-%{version}.tar.gz
|
2024-01-06 08:40:39 +01:00
|
|
|
|
|
|
|
License: GPL, Artistic
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%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
|
2024-10-24 23:05:44 +02:00
|
|
|
* Thu Oct 24 2024 Automatic Build System <autodist@openmamba.org> 0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:40:40 +01:00
|
|
|
* Sat Jul 31 2021 Automatic Build System <autodist@mambasoft.it> 0.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:40:39 +01:00
|
|
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 0.08-1mamba
|
|
|
|
- package created by autospec
|