]> git.pld-linux.org Git - packages/perl-Taint.git/blame - perl-Taint.spec
use generic url
[packages/perl-Taint.git] / perl-Taint.spec
CommitLineData
80ef023a 1#
2# Conditional build:
3fead8fa 3%bcond_without tests # do not perform "make test"
c7beac39 4
bae7b59d 5%define pdir Taint
c7beac39 6%include /usr/lib/rpm/macros.perl
99a5f761 7Summary: Taint - Perl utility extensions for tainted data
9e4c09aa 8Summary(pl.UTF-8): Taint - rozszerzenia narzędziowe Perla dla napiętnowanych danych
80ef023a 9Name: perl-Taint
99a5f761 10Version: 0.09
80ef023a 11Release: 0.1
5eb449e3 12License: not distributable
80ef023a 13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
5eb449e3 15# NoSource0-md5: e9b23bec1f15ee2f1e1d7309eb04ef92
16NoSource: 0
c7beac39 17URL: http://search.cpan.org/dist/Taint/
c2fdac3f 18BuildRequires: perl-devel >= 1:5.8.0
99a5f761 19BuildRequires: rpm-perlprov >= 4.1-13
80ef023a 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
80ef023a 23%description
99a5f761
JB
24Perl has the ability to mark data as 'tainted', as described in
25perlsec(1). Perl will prevent tainted data from being used for some
26operations, and you may wish to add such caution to your own code. The
27routines in this module provide convenient ways to taint data and to
28check data for taint. To remove the taint from data, use the method
29described in perlsec(1), or use the make_extractor routine.
80ef023a 30
73ff9aeb
JR
31%description -l pl.UTF-8
32Perl ma możliwość oznaczenia danych jako "napiętnowane" zgodnie z
33opisem w perlsec(1). Interpreter nie pozwala na używanie
34napiętnowanych danych w niektórych operacjach, a możemy chcieć dodać
35taki warunek w swoim kodzie. Funkcje z tego modułu udostępniają
36wygodne metody do piętnowania danych oraz sprawdzania danych pod tym
37kątem. Aby usunąć piętno z danych można użyć metody opisanej w
38perlsec(1) lub wywołać funkcję make_extractor.
80ef023a 39
40%prep
41%setup -q -n %{pdir}-%{version}
42
43%build
99a5f761
JB
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
80ef023a 46%{__make}
80ef023a 47
3fead8fa 48# some tests fail - check again
49%{?with_tests:%{__make} test}
80ef023a 50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
99a5f761
JB
62%doc Changes README TODO
63%{perl_vendorlib}/Taint.pm
80ef023a 64%{_mandir}/man3/*
This page took 0.097345 seconds and 4 git commands to generate.