perl-Heap-Simple-XS/perl-Heap-Simple-XS.spec

Name: perl-Heap-Simple-XS
Summary: XS implementation of Heap::Simple
Version: 0.10
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Heap-Simple-XS/
Description: This module provides an XS implementation of the interface described in Heap::Simple.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Ton Hospel <cpan$ton,iguana,be>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Heap-Simple-XS

Summary: XS implementation of Heap::Simple
Name: perl-Heap-Simple-XS
Version: 0.10
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Heap-Simple-XS/

Source: http://www.cpan.org/modules/by-module/Heap/Heap-Simple-XS-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module provides an XS implementation of the interface described in Heap::Simple.

%prep
%setup -n %{real_name}-%{version}

%build
echo | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST MANIFEST.SKIP META.yml README
%doc %{_mandir}/man3/Heap::Simple::XS.3pm*
%dir %{perl_vendorarch}/auto/Heap/
%dir %{perl_vendorarch}/auto/Heap/Simple/
%{perl_vendorarch}/auto/Heap/Simple/XS/
%dir %{perl_vendorarch}/Heap/
%dir %{perl_vendorarch}/Heap/Simple/
%{perl_vendorarch}/Heap/Simple/XS/
%{perl_vendorarch}/Heap/Simple/XS.pm

%changelog
* Wed Jan 23 2008 Dag Wieers <dag@wieers.com> - 0.10-1
- Updated to release 0.10.

* Fri Dec  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.09-1
- Initial package.