[packages/perl-B-Debug] - new
baggins
baggins at pld-linux.org
Fri Dec 6 20:37:51 CET 2019
commit 02c11009bcdee264004346de4db7d228b5da70b9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Dec 6 20:37:31 2019 +0100
- new
perl-B-Debug.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
---
diff --git a/perl-B-Debug.spec b/perl-B-Debug.spec
new file mode 100644
index 0000000..3fa5c62
--- /dev/null
+++ b/perl-B-Debug.spec
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir B
+%define pnam Debug
+%include /usr/lib/rpm/macros.perl
+Summary: B::Debug - Walk Perl syntax tree, printing debug info about ops
+Name: perl-B-Debug
+Version: 1.26
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 260ec0e2c2b18af1d42911bfaf6b7477
+URL: https://metacpan.org/release/B-Debug/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Walk Perl syntax tree, printing debug info about ops.
+
+%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 Changes README
+%{perl_vendorlib}/B/Debug.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-B-Debug.git/commitdiff/02c11009bcdee264004346de4db7d228b5da70b9
More information about the pld-cvs-commit
mailing list