#
# Conditional build:
-# Tests fail because our perl does not contain File::Spec::Win32 and
-# other "foreign" modules
%bcond_with tests # perform "./Build test"
-
+ # (tests fail because our perl doesn't contain
+ # File::Spec::Win32 and other "foreign" modules)
+#
%include /usr/lib/rpm/macros.perl
%define pdir Path
%define pnam Class
Summary: Cross-platform path specification manipulation
+Summary(pl): Wieloplatformowe operacje na ¶cie¿kach plików
Name: perl-Path-Class
Version: 0.03_01
Release: 1
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: d5531392cd65c9221e21627ef8dab2a2
Patch0: %{name}-test-bareword.patch
+BuildRequires: perl-Module-Build >= 0.20
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-Module-Build >= 0.20
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-#%define _noautoreq 'perl(anything_fake_or_conditional)'
-
%description
Path::Class is a module for manipulation of file and directory
specifications (strings describing their locations, like
in a way that won't actually work properly on platforms significantly
different than the ones they've tested their code on.
+%description -l pl
+Path::Class to modu³ do operacji na specifikacjach plików i katalogów
+(³añcuchach opisuj±cych ich po³o¿enie, takich jak '/home/ken/foo.txt'
+czy 'C:\Windows\Foo.txt') w sposób wieloplatformowy. Obs³uguje
+wiêkszo¶æ platform na których dzia³a Perl, w tym: Unix, Windows, Mac,
+VMS, Epoc, Cygwin, OS/2, NetWare.
+
+Podobne operacje s± udostêpniane przez dobrze znany modu³ File::Spec,
+ale jest on nieco niewygodny, wiêc ludzie czasem go unikaj± lub
+u¿ywaj± w sposób nie dzia³aj±cy poprawnie na platformach znacz±co
+ró¿nych od tych, na których testuj± kod.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%patch0 -p1