3 %bcond_without tests # do not perform "make test"
7 Summary: PAR::Packer - PAR Packager
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/PAR/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a3333754b0112ee8fe80083042b89a3b
18 URL: http://search.cpan.org/dist/PAR-Packer/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Archive-Zip >= 1
23 BuildRequires: perl-Getopt-ArgvFile >= 1.07
24 BuildRequires: perl-IPC-Run3
25 BuildRequires: perl-Module-ScanDeps >= 0.78
26 BuildRequires: perl-PAR >= 1.014
27 BuildRequires: perl-PAR-Dist >= 0.22
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _enable_debug_packages 0
34 This module implements the App::Packer::Backend interface, for generating
35 stand-alone executables, perl scripts and PAR files.
37 # %description -l pl.UTF-8
41 Summary: tkpp - frontend to pp written in Perl/Tk
42 Group: Development/Tools
43 Requires: %{name} = %{version}-%{release}
46 Tkpp is a GUI frontend to pp, which can turn perl scripts into stand-alone
47 PAR files, perl scripts or executables.
50 %setup -q -n %{pdir}-%{pnam}-%{version}
54 %{__perl} Makefile.PL \
58 OPTIMIZE="%{rpmcflags}"
60 %{?with_tests:%{__make} -j1 test}
63 rm -rf $RPM_BUILD_ROOT
65 %{__make} pure_install \
66 DESTDIR=$RPM_BUILD_ROOT
68 mv $RPM_BUILD_ROOT%{_bindir}/{,par-}pp
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/par*
77 %{perl_vendorlib}/*.pm
78 %{perl_vendorlib}/PAR/*
79 %{perl_vendorlib}/App/Packer/*
84 %attr(755,root,root) %{_bindir}/tkpp