]> git.pld-linux.org Git - packages/perl-PadWalker.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Thu, 21 Aug 2003 13:21:25 +0000 (13:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-PadWalker.spec -> 1.1

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

diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec
new file mode 100644 (file)
index 0000000..e4c8c20
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    PadWalker
+Summary:       PadWalker - play with other peoples' lexical variables
+#Summary(pl):  
+Name:          perl-PadWalker
+Version:       0.10
+Release:       1
+# same as perl
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/J/JU/JUERD/%{pdir}-%{version}.tar.gz
+# Source0-md5: e6f48685932c1a1896872daf1aff9e3d
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PadWalker is a module which allows you to inspect (and even change!)
+lexical variables in any subroutine which called you. It will only show
+those variables which are in scope at the point of the call.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} OPTIMIZE="%{rpmcflags}"
+
+%{!?_without_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
+%{perl_vendorarch}/*.pm
+%dir %{perl_vendorarch}/auto/%{pdir}
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
+%{perl_vendorarch}/auto/%{pdir}/*.bs
+%{_mandir}/man3/*
This page took 0.714472 seconds and 4 git commands to generate.