Name: perl-ExtUtils-XSpp Version: 0.04 Release: 1%{?dist} Summary: C++ variant of Perl's XS language License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/ExtUtils-XSpp/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-XSpp-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Base) BuildRequires: perl(Test::Differences) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description ExtUtils::XSpp handles the XS++ language, used to create an extension interface between Perl and C++ code/library. %prep %setup -q -n ExtUtils-XSpp-%{version} %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -name '*.bs' -type f -empty | xargs rm -f find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README XSP.yp %{_bindir}/xspp %{perl_vendorlib}/ExtUtils* %{_mandir}/man?/* %changelog * Fri Aug 21 2009 Stepan Kasal 0.04-1 - Specfile created from a one autogenerated by cpanspec 1.78.