]> git.pld-linux.org Git - packages/perl-String-Escape.git/blame - perl-String-Escape.spec
use generic url
[packages/perl-String-Escape.git] / perl-String-Escape.spec
CommitLineData
c09b5793 1#
2# Conditional build:
3%bcond_without tests # don't perform "make test"
1aae542d 4
ee9852a5 5%define pdir String
6%define pnam Escape
1aae542d 7%include /usr/lib/rpm/macros.perl
c09b5793 8Summary: String::Escape - registry of string functions, including backslash escapes
16d966e7 9Summary(pl.UTF-8): String::Escape - zestaw funkcji do obróbki łańcuchów, w tym cytowania przy pomocy odwrotnego ukośnika
f12b4c23 10Name: perl-String-Escape
e137b5d1 11Version: 2010.002
12Release: 1
c09b5793 13# same as perl (README says Artistic)
14License: GPL v1+ or Artistic
f12b4c23 15Group: Development/Languages/Perl
159f0dd2 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e137b5d1 17# Source0-md5: f48000fbade3f46e1a37a43f12c7f01a
1aae542d 18URL: http://search.cpan.org/dist/String-Escape/
29086cc4 19BuildRequires: perl-devel >= 1:5.8.0
056fb577 20BuildRequires: rpm-perlprov >= 4.1-13
106398aa 21BuildArch: noarch
42b2dc62 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f12b4c23 23
24%description
c09b5793 25The String::Escape Perl module provides a flexible calling interface
26to some frequently-performed string conversion functions, including
27applying and removing C/Unix-style backslash escapes like \n and \t,
28wrapping and removing double-quotes, and truncating to fit within a
29desired length.
f12b4c23 30
6c6d16f4
JR
31%description -l pl.UTF-8
32Moduł Perla String::Escape udostępnia elastyczny interfejs wywołań
33pewnych często używanych funkcji konwersji łańcuchów tekstowych,
34uwzględniając funkcje do stosowania i usuwania C/uniksowych cytowań za
35pomocą odwrotnego ukośnika, jak \n i \t, dodawanie i usuwanie
36cudzysłowów i skracanie, aby zmieścić się w określonej długości.
f12b4c23 37
38%prep
6658d3c4 39%setup -q -n %{pdir}-%{pnam}-%{version}
f12b4c23 40
41%build
056fb577 42%{__perl} Makefile.PL \
ef1d941b 43 INSTALLDIRS=vendor
3db27591 44%{__make}
f12b4c23 45
c09b5793 46%{?with_tests:%{__make} test}
47
f12b4c23 48%install
49rm -rf $RPM_BUILD_ROOT
f12b4c23 50
c09b5793 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
f12b4c23 53
f12b4c23 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
296399a4 59%doc README
056fb577 60%{perl_vendorlib}/String/Escape.pm
f12b4c23 61%{_mandir}/man3/*
This page took 0.087864 seconds and 4 git commands to generate.