SPECS: perl-Class-C3-XS.spec (NEW), perl-MRO-Compat.spec (NEW) - new

radek radek at pld-linux.org
Sun Sep 9 13:44:32 CEST 2007


Author: radek                        Date: Sun Sep  9 11:44:32 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Class-C3-XS.spec (NONE -> 1.1)  (NEW), perl-MRO-Compat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Class-C3-XS.spec
diff -u /dev/null SPECS/perl-Class-C3-XS.spec:1.1
--- /dev/null	Sun Sep  9 13:44:32 2007
+++ SPECS/perl-Class-C3-XS.spec	Sun Sep  9 13:44:27 2007
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Class
+%define	pnam	C3-XS
+Summary:	Class::C3::XS - XS speedups for Class::C3
+#Summary(pl.UTF-8):	
+Name:		perl-Class-C3-XS
+Version:	0.08
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	bb19c19a2660f89765765c6c029184f1
+URL:		http://search.cpan.org/dist/Class-C3-XS/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+The test suite here is not complete, although it does verify
+a few basic things.  The best testing comes from running the
+Class::C3 test suite *after* this module is installed.
+
+This module won't do anything for you if you're running a
+version of Class::C3 older than 0.16.  (It's not a
+dependency because it would be circular with the optional
+dep from that package to this one).
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%{perl_vendorarch}/Class/C3/*.pm
+%dir %{perl_vendorarch}/Class/C3
+%dir %{perl_vendorarch}/auto/Class/C3
+%dir %{perl_vendorarch}/auto/Class/C3/XS
+%{perl_vendorarch}/auto/Class/C3/XS/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Class/C3/XS/*.so
+%{_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  2007/09/09 11:44:27  radek
+- new
+

================================================================
Index: SPECS/perl-MRO-Compat.spec
diff -u /dev/null SPECS/perl-MRO-Compat.spec:1.1
--- /dev/null	Sun Sep  9 13:44:32 2007
+++ SPECS/perl-MRO-Compat.spec	Sun Sep  9 13:44:27 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	MRO
+%define	pnam	Compat
+Summary:	MRO::Compat - mro::* interface compatibility for Perls < 5.9.5
+#Summary(pl.UTF-8):	
+Name:		perl-MRO-Compat
+Version:	0.04
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/B/BL/BLBLACK/MRO-Compat-0.04.tar.gz
+# Source0-md5:	1e98114390dac2d1ac7841ecd73033b8
+URL:		http://search.cpan.org/dist/MRO-Compat/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires:	perl-Class-C3 >= 0.19
+BuildRequires:	perl-Class-C3-XS >= 0.08
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The "mro" namespace provides several utilities for dealing with method
+resolution order and method caching in general in Perl 5.9.5 and higher.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%dir %{perl_vendorlib}/MRO
+%{perl_vendorlib}/MRO/*.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  2007/09/09 11:44:27  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list