123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- #TODO: BR: Test::Pod::No404s when available
- #TODO: BR: Test::Pod::LinkCheck when available
- Name: perl-Class-Load-XS
- Version: 0.09
- Release: 1%{?_dist_release}
- Summary: XS implementation of parts of Class::Load
- Group: Development/Libraries
- License: Artistic 2.0
- URL: http://search.cpan.org/dist/Class-Load-XS/
- Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- # ===================================================================
- # Module build requirements
- # ===================================================================
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Module::Build)
- # ===================================================================
- # Module requirements
- # ===================================================================
- BuildRequires: perl(Class::Load) >= 0.20
- # ===================================================================
- # Regular test suite requirements
- # ===================================================================
- BuildRequires: perl(constant)
- BuildRequires: perl(Module::Implementation) >= 0.04
- BuildRequires: perl(Test::Fatal)
- BuildRequires: perl(Test::More) >= 0.88
- BuildRequires: perl(Test::Requires)
- BuildRequires: perl(Test::Without::Module)
- BuildRequires: perl(version)
- # ===================================================================
- # Author/Release test requirements
- # ===================================================================
- #BuildRequires: perl(Test::CPAN::Changes)
- BuildRequires: perl(Test::EOL)
- BuildRequires: perl(Test::NoTabs)
- BuildRequires: perl(Test::Pod)
- # ===================================================================
- # Runtime requirements
- # ===================================================================
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- Requires: perl(Class::Load) >= 0.15
- %{?perl_default_filter}
- %description
- This module provides an XS implementation for portions of Class::Load.
- See Class::Load for API details.
- %prep
- %setup -q -n Class-Load-XS-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
- find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
- %{_fixperms} %{buildroot}
- %check
- RELEASE_TESTING=1 make test
- %clean
- rm -rf %{buildroot}
- %files
- %doc Changes LICENSE README
- %{perl_vendorarch}/auto/Class/
- %{perl_vendorarch}/Class/
- %{_mandir}/man3/Class::Load::XS.3pm*
- %changelog
- * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.09-1
- - updated to 0.09
- - built with perl-5.16.3
- * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
- - initial package for Vine Linux
- * Thu Feb 9 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
- - Update to 0.04:
- - Some small test changes for the latest Module::Implementation and
- Class::Load
- - Bump Class::Load version requirement to 0.15
- - BR: perl(constant), perl(Module::Implementation) ≥ 0.04,
- perl(Test::Requires), perl(Test::Without::Module) and perl(version) for test
- suite
- * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.03-2
- - Rebuild for gcc 4.7 in Rawhide
- * Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 0.03-1
- - Update to 0.03:
- - Explicitly include Test::Fatal as a test prerequisite (CPAN RT#72493)
- * Wed Nov 16 2011 Paul Howarth <paul@city-fan.org> - 0.02-2
- - Sanitize spec for Fedora submission
- * Wed Nov 16 2011 Paul Howarth <paul@city-fan.org> - 0.02-1
- - Initial RPM version
|