3 %bcond_without tests # do not perform "make test"
7 Summary: Path::Tiny - File path utility
8 Summary(pl.UTF-8): Path::Tiny - narzędzia do ścieżek plików
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: cb34fd356725ec12b78e88ddac37db08
16 URL: https://metacpan.org/release/Path-Tiny
17 BuildRequires: perl-ExtUtils-MakeMaker >= 6.17
18 BuildRequires: perl-devel >= 1:5.8.1
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRequires: perl(Exporter) >= 5.57
23 BuildRequires: perl(File::Path) >= 2.07
24 BuildRequires: perl(File::Spec) >= 0.86
25 BuildRequires: perl-Digest >= 1.03
26 BuildRequires: perl-Digest-MD5
27 BuildRequires: perl-Digest-SHA >= 5.45
28 BuildRequires: perl-Encode
29 BuildRequires: perl-File-Temp >= 0.19
30 BuildRequires: perl-Test-Simple >= 0.96
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 This module provides a small, fast utility for working with file
37 paths. It is friendlier to use than File::Spec and provides easy
38 access to functions from several other core file handling modules. It
39 aims to be smaller and faster than many alternatives on CPAN, while
40 helping people do many common things in consistent and less
43 %description -l pl.UTF-8
44 Ten moduł zawiera małe, szybkie narzędzie do pracy ze ścieżkami
45 plików. Jest bardziej przyjazny w użyciu niż File::Spec i daje łatwy
46 dostęp do funkcji z kilku innych głównych modułów obsługujących pliki.
47 Moduł ma za zadanie być mniejszym i szybszym od alternatyw z CPAN-u,
48 pomagając ludziom wykonywać wiele popularnych zadań w spójny i
49 bardziej błędoodporny sposób.
52 %setup -q -n %{pdir}-%{pnam}-%{version}
55 %{__perl} Makefile.PL \
59 %{?with_tests:%{__make} test}
62 rm -rf $RPM_BUILD_ROOT
64 %{__make} pure_install \
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %{perl_vendorlib}/Path/Tiny.pm
74 %{_mandir}/man3/Path::Tiny.3pm*