]> git.pld-linux.org Git - packages/perl-Devel-PPPort.git/commitdiff
- new auto/th/perl-Devel-PPPort-3_11_01-1
authorradek <radek@pld-linux.org>
Sun, 22 Apr 2007 12:15:40 +0000 (12:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Devel-PPPort.spec -> 1.1

perl-Devel-PPPort.spec [new file with mode: 0644]

diff --git a/perl-Devel-PPPort.spec b/perl-Devel-PPPort.spec
new file mode 100644 (file)
index 0000000..d45018e
--- /dev/null
@@ -0,0 +1,71 @@
+#
+# 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/*
This page took 0.077244 seconds and 4 git commands to generate.