diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index b1f08bb..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Heap-0.71.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 7c8fa44..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-Heap -# $Id$ -NAME := perl-Heap -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/perl-Heap.spec b/perl-Heap.spec deleted file mode 100644 index 92b1b0c..0000000 --- a/perl-Heap.spec +++ /dev/null @@ -1,64 +0,0 @@ -Name: perl-Heap -Version: 0.71 -Release: 1 -Summary: A collection of routines for managing a heap data structure. - -Group: Development/Libraries -License: GPL or Artistic -URL: http://search.cpan.org/dist/Heap/ -Source0: http://www.cpan.org/authors/id/J/JM/JMM/Heap-0.71.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%description -This is a collection of routines for managing a heap data structure. - -There are two major components: a heap component, and an element -component. - -A heap package basically keeps a collection of elements and is -able to return the smallest one. - - -%prep -%setup -q -n Heap-%{version} - - -%build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' - - -%check || : -make test - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc README -%{perl_vendorlib}/* -%{_mandir}/man3/*.3* - - -%changelog -* Wed Apr 06 2005 Hunter Matthews 0.71-1 -- Updated to 0.71 -- Review suggestions from José Pedro Oliveira - -* Fri Mar 18 2005 Hunter Matthews 0.70-1 -- Initial packageing. diff --git a/sources b/sources deleted file mode 100644 index e964718..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6934be7ffe351b3eea844d24a07ebc36 Heap-0.71.tar.gz