[packages/perl-ExtUtils-XSpp] - initial

arekm arekm at pld-linux.org
Tue Jun 9 20:43:15 CEST 2015


commit 34637f3818321b64fbdd24bdba3940daa4c806b6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 9 20:43:11 2015 +0200

    - initial

 perl-ExtUtils-XSpp.spec | 44 +++++++++++++++++++-------------------------
 1 file changed, 19 insertions(+), 25 deletions(-)
---
diff --git a/perl-ExtUtils-XSpp.spec b/perl-ExtUtils-XSpp.spec
index 8c8c11d..0b2ec47 100644
--- a/perl-ExtUtils-XSpp.spec
+++ b/perl-ExtUtils-XSpp.spec
@@ -2,36 +2,39 @@
 # Conditional build:
 %bcond_without	tests		# do not perform "make test"
 #
+%define		pdir	ExtUtils
+%define		pnam	XSpp
 %include	/usr/lib/rpm/macros.perl
-%define	pdir	ExtUtils
-%define	pnam	XSpp
 Summary:	ExtUtils::XSpp - XS for C++
-Summary(pl.UTF-8):	ExtUtils::XSpp - XS dla C++
 Name:		perl-ExtUtils-XSpp
 Version:	0.18
-Release:	2
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	c44ad3281df81319d02833a4e42282ac
 URL:		http://search.cpan.org/dist/ExtUtils-XSpp/
+BuildRequires:	perl-Module-Build
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires:	perl-Test-Base
-BuildRequires:	perl-Test-Differences
+BuildRequires:	perl(Test::Base)
+BuildRequires:	perl(Test::Differences)
 %endif
-Requires:	perl-Digest-MD5 >= 2.0
-Requires:	perl-ExtUtils-ParseXS >= 3.07
-Requires:	perl(ExtUtils::Typemaps) >= 1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-XS++ is just a thin layer over plain XS.
+Anything that does not look like a XS++ directive or a class
+declaration is passed verbatim to XS. If you want XS++ to ignore code
+that looks like a XS++ directive or class declaration, simply surround
+it with a raw block delimiter like this:
 
-%description -l pl.UTF-8
-XS++ to niewielka warstwa nad zwykłym XS.
+%{ XS++ won't interpret this %}
+
+See under Classes. Note that custom %code blocks are the only
+exception to the exception handling. By specifying a custom %code
+block, you forgo the automatic exception handlers.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -53,9 +56,6 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/XSpp.pod \
-	$RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/XSpp/Plugin.pod
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -63,15 +63,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes README
 %attr(755,root,root) %{_bindir}/xspp
+%{perl_vendorlib}/ExtUtils/XSpp
 %{perl_vendorlib}/ExtUtils/XSpp.pm
-%dir %{perl_vendorlib}/ExtUtils/XSpp
-%{perl_vendorlib}/ExtUtils/XSpp/*.pm
-%{perl_vendorlib}/ExtUtils/XSpp/Exception
-%{perl_vendorlib}/ExtUtils/XSpp/Node
-%dir %{perl_vendorlib}/ExtUtils/XSpp/Plugin
-%dir %{perl_vendorlib}/ExtUtils/XSpp/Plugin/feature
-%{perl_vendorlib}/ExtUtils/XSpp/Plugin/feature/default_xs_typemap.pm
-%{perl_vendorlib}/ExtUtils/XSpp/Typemap
-%{_mandir}/man1/xspp.1p*
-%{_mandir}/man3/ExtUtils::XSpp*.3pm*
+%{perl_vendorlib}/ExtUtils/XSpp.pod
+%{_mandir}/man1/xspp.1*
+%{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-ExtUtils-XSpp.git/commitdiff/34637f3818321b64fbdd24bdba3940daa4c806b6



More information about the pld-cvs-commit mailing list