rpms/perl-Heap/devel .cvsignore, 1.3, 1.4 Makefile, 1.2, 1.3 perl-Heap.spec, 1.2, 1.3 sources, 1.3, 1.4
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Tue Sep 12 07:28:42 UTC 2006
Author: pertusus
Update of /cvs/extras/rpms/perl-Heap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24431
Added Files:
.cvsignore Makefile perl-Heap.spec sources
Log Message:
resurrect files without sticky tag
Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ .cvsignore 12 Sep 2006 07:28:42 -0000 1.4
@@ -0,0 +1 @@
+Heap-0.71.tar.gz
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Makefile 12 Sep 2006 07:28:42 -0000 1.3
@@ -0,0 +1,21 @@
+# 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)
Index: perl-Heap.spec
===================================================================
RCS file: perl-Heap.spec
diff -N perl-Heap.spec
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ perl-Heap.spec 12 Sep 2006 07:28:42 -0000 1.3
@@ -0,0 +1,65 @@
+Name: perl-Heap
+Version: 0.71
+Release: 2%{?dist}
+Summary: Perl extension for keeping data partially sorted
+
+Group: Development/Libraries
+License: Artistic or GPL
+URL: http://search.cpan.org/dist/Heap
+Source0: http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: perl
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The Heap collection of modules provide routines that manage a heap of
+elements. A heap is a partially sorted structure that is always able to
+easily extract the smallest of the elements in the structure (or the
+largest if a reversed compare routine is provided).
+
+If the collection of elements is changing dynamically, the heap has less
+overhead than keeping the collection fully sorted.
+
+The elements must be objects as described in "Heap::Elem" and all
+elements inserted into one heap must be mutually compatible - either
+the same class exactly or else classes that differ only in ways unrelated
+to the Heap::Elem interface.
+
+%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 -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Tue Jul 18 2006 Patrice Dumas <pertusus at free.fr> 0.71-2
+- Initial packaging
Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sources 12 Sep 2006 07:28:42 -0000 1.4
@@ -0,0 +1 @@
+6934be7ffe351b3eea844d24a07ebc36 Heap-0.71.tar.gz
More information about the scm-commits
mailing list