SPECS: perl-Devel-PPPort.spec (NEW) - new

radek radek at pld-linux.org
Sun Apr 22 14:15:46 CEST 2007


Author: radek                        Date: Sun Apr 22 12:15:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Devel-PPPort.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Devel-PPPort.spec
diff -u /dev/null SPECS/perl-Devel-PPPort.spec:1.1
--- /dev/null	Sun Apr 22 14:15:46 2007
+++ SPECS/perl-Devel-PPPort.spec	Sun Apr 22 14:15:40 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Devel
+%define	pnam	PPPort
+Summary:	Devel::PPPort - Perl/Pollution/Portability
+#Summary(pl.UTF-8):	
+Name:		perl-Devel-PPPort
+Version:	3.11_01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/M/MH/MHX/Devel-PPPort-3.11_01.tar.gz
+# Source0-md5:	d446bc2e6346d213dffa67d6d3ac2965
+URL:		http://search.cpan.org/dist/Devel-PPPort/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Perl's API has changed over time, gaining new features, new functions,
+increasing its flexibility, and reducing the impact on the C namespace
+environment (reduced pollution). The header file written by this module,
+typically ppport.h, attempts to bring some of the newer Perl API
+features to older versions of Perl, so that you can worry less about
+keeping track of old releases, but users can still reap the benefit.
+
+Devel::PPPort contains a single function, called WriteFile. Its
+only purpose is to write the ppport.h C header file. This file
+contains a series of macros and, if explicitly requested, functions that
+allow XS modules to be built using older versions of Perl. Currently,
+Perl versions from 5.003 to 5.9.4 are supported.
+
+This module is used by h2xs to write the file ppport.h.
+
+# %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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO
+%{perl_vendorarch}/Devel/*.pm
+%dir %{perl_vendorarch}/auto/Devel/PPPort
+%{perl_vendorarch}/auto/Devel/PPPort/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Devel/PPPort/*.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/04/22 12:15:40  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list