0e46fe156570a6f3e1d91a2275f78831617796df
[packages/PPerl.git] / PPerl.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        A persistent Perl interpreter system, designed to speed up Perl scripts
3 Name:           PPerl
4 Version:        0.24
5 Release:        0.1
6 License:        unknown
7 Group:          Development/Languages/Perl
8 Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/%{name}-%{version}.tar.gz
9 # Source0-md5:  ce1407d265e96e8a1185b699386eb14b
10 BuildRequires:  perl-devel >= 5.6
11 BuildRequires:  rpm-perlprov >= 4.0.2-104
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 PPerl provides a persistent environment for perl scripts. It makes
17 converting a useful old script into a persistent daemon process a
18 breeze.
19
20 Simply change your shebang line to #!/usr/bin/pperl, rather than
21 "perl", and you'll find your old slow scripts that take ages to start
22 up, running like they were brand spanking new again. Well, that's the
23 plan at least!
24
25 %prep
26 %setup -q
27
28 %build
29 %{__perl} Makefile.PL
30 %{__make}
31
32 %{?with_tests:%{__make} test}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc Changes README TODO examples
46 %attr(755,root,root) %{_bindir}/pperl
47 %{perl_sitearch}/%{name}.pm
48 %dir %{perl_sitearch}/auto/%{name}
49 %{perl_sitearch}/auto/%{name}/%{name}.bs
50 %attr(755,root,root) %{perl_sitearch}/auto/%{name}/%{name}.so
51 %{_mandir}/man1/*
52 %{_mandir}/man3/*
This page took 0.027145 seconds and 2 git commands to generate.