[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Class-C3-XS/FC-6 perl-Class-C3-XS.spec, NONE, 1.1 sources, 1.1, 1.2



Author: cweyl

Update of /cvs/extras/rpms/perl-Class-C3-XS/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14513

Modified Files:
	sources 
Added Files:
	perl-Class-C3-XS.spec 
Log Message:
pseudo-branch of perl-Class-C3-XS to FC-6


--- NEW FILE perl-Class-C3-XS.spec ---
Name:           perl-Class-C3-XS
Version:        0.03
Release:        2%{?dist}
Summary:        XS speedups for Class::C3
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Class-C3-XS/
Source0:        http://www.cpan.org/authors/id/B/BL/BLBLACK/Class-C3-XS-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More) >= 0.47
# test
BuildRequires:  perl(Test::Pod)

%description
This contains XS performance enhancers for Class::C3 version 0.16 and
higher. The main Class::C3 package will use this package automatically if
it can find it. Do not use this package directly, use Class::C3 instead.

%prep
%setup -q -n Class-C3-XS-%{version}

# Filter unwanted Provides:
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
  sed -e '/perl(t::.*)/d'
EOF

%define __perl_provides %{_builddir}/Class-C3-XS-%{version}/%{name}-prov
chmod +x %{__perl_provides}

# Filter unwanted Requires:
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
  sed -e '/perl(base)/d'
EOF

%define __perl_requires %{_builddir}/Class-C3-XS-%{version}/%{name}-req
chmod +x %{__perl_requires}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog README t/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Class*
%{_mandir}/man3/*

%changelog
* Wed May 09 2007 Chris Weyl <cweyl alumni drew edu> 0.03-2
- bump

* Wed May 09 2007 Chris Weyl <cweyl alumni drew edu> 0.03-1
- update to 0.03

* Fri May 04 2007 Chris Weyl <cweyl alumni drew edu> 0.02-1
- Specfile autogenerated by cpanspec 1.71.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-C3-XS/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 May 2007 20:38:40 -0000	1.1
+++ sources	9 May 2007 21:27:03 -0000	1.2
@@ -0,0 +1 @@
+49a2af2804d72609111d45024fbefeb7  Class-C3-XS-0.03.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]