SPECS: perl-Algorithm-C3.spec (NEW) - initial revision

migo migo at pld-linux.org
Sat Apr 8 14:11:33 CEST 2006


Author: migo                         Date: Sat Apr  8 12:11:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   perl-Algorithm-C3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Algorithm-C3.spec
diff -u /dev/null SPECS/perl-Algorithm-C3.spec:1.1
--- /dev/null	Sat Apr  8 14:11:33 2006
+++ SPECS/perl-Algorithm-C3.spec	Sat Apr  8 14:11:27 2006
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Algorithm
+%define	pnam	C3
+Summary:	Algorithm::C3 - A module for merging hierarchies using the C3 algorithm
+#Summary(pl):	
+Name:		perl-Algorithm-C3
+Version:	0.01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/Algorithm-C3-0.01.tar.gz
+# Source0-md5:	1627146f60e34dcffcb2386adefa466a
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+C3 is the name of an algorithm which aims to provide a sane method 
+resolution order under multiple inheritence. It was first introduced 
+in the langauge Dylan (see links in the SEE ALSO section), and 
+then later adopted as the prefered MRO (Method Resolution Order) 
+for the new-style classes in Python 2.3. Most recently it has been 
+adopted as the 'canonical' MRO for Perl 6 classes, and the default 
+MRO for Parrot objects as well.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Algorithm/*.pm
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/08 12:11:27  migo
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list