]> git.pld-linux.org Git - packages/PPerl.git/commitdiff
- it isn't noarch, fixed dirs, added pl
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 3 Mar 2004 12:48:04 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PPerl.spec -> 1.2

PPerl.spec

index 0e46fe156570a6f3e1d91a2275f78831617796df..599849e8dea166aa345fc6a527805be19d00a189 100644 (file)
@@ -1,5 +1,10 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test" (one test fails)
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       A persistent Perl interpreter system, designed to speed up Perl scripts
+Summary(pl):   Trwa³y system interpretera Perla s³u¿±cy do przyspieszenia skryptów
 Name:          PPerl
 Version:       0.24
 Release:       0.1
@@ -7,27 +12,37 @@ License:     unknown
 Group:         Development/Languages/Perl
 Source0:       http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/%{name}-%{version}.tar.gz
 # Source0-md5: ce1407d265e96e8a1185b699386eb14b
-BuildRequires: perl-devel >= 5.6
-BuildRequires: rpm-perlprov >= 4.0.2-104
-BuildArch:     noarch
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-PPerl provides a persistent environment for perl scripts. It makes
+PPerl provides a persistent environment for Perl scripts. It makes
 converting a useful old script into a persistent daemon process a
 breeze.
 
-Simply change your shebang line to #!/usr/bin/pperl, rather than
+Simply change your shebang line to "#!/usr/bin/pperl", rather than
 "perl", and you'll find your old slow scripts that take ages to start
 up, running like they were brand spanking new again. Well, that's the
 plan at least!
 
+%description -l pl
+PPerl dostarcza trwa³e ¶rodowisko dla skryptów perlowych. Znacznie
+u³atwia zamianê starego, przydatnego skryptu na stale dzia³aj±cego
+demona.
+
+Wystarczy zmieniæ pierwsz± liniê na "#!/usr/bin/pperl" zamiast "perl",
+a stare, wolne skrypty, wcze¶niej potrzebuj±ce wieków na uruchomienie,
+zaczn± dzia³aæ jakby znowu by³y nowe. A przynajmniej taki jest plan.
+
 %prep
 %setup -q
 
 %build
-%{__perl} Makefile.PL
-%{__make}
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
@@ -44,9 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes README TODO examples
 %attr(755,root,root) %{_bindir}/pperl
-%{perl_sitearch}/%{name}.pm
-%dir %{perl_sitearch}/auto/%{name}
-%{perl_sitearch}/auto/%{name}/%{name}.bs
-%attr(755,root,root) %{perl_sitearch}/auto/%{name}/%{name}.so
+%{perl_vendorarch}/%{name}.pm
+%dir %{perl_vendorarch}/auto/%{name}
+%{perl_vendorarch}/auto/%{name}/%{name}.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/%{name}/%{name}.so
 %{_mandir}/man1/*
 %{_mandir}/man3/*
This page took 0.044359 seconds and 4 git commands to generate.