3 %bcond_without tests # do not perform "make test"
6 %define pnam via-symlink
7 %include /usr/lib/rpm/macros.perl
8 Summary: PerlIO::via::symlink - PerlIO layers for create symlinks
9 Summary(pl.UTF-8): PerlIO::via::symlink - warstwy PerlIO do tworzenia symlinków
10 Name: perl-PerlIO-via-symlink
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: bf33533dba6a48eb459a15df15c8415f
18 URL: http://search.cpan.org/dist/PerlIO-via-symlink/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The PerlIO layer symlink allows you to create a symbolic link by
26 writing to the file handle.
28 You need to write "link $name" to the file handle. If the format does
29 not match, close will fail with EINVAL.
31 %description -l pl.UTF-8
32 Warstwa PerlIO symlink umożliwia tworzenie dowiązań symbolicznych
33 poprzez zapis do uchwytu pliku.
35 Wystarczy zapisać "link $name" do uchwytu pliku. Jeśli format się nie
36 zgadza, close nie powiedzie się z kodem EINVAL.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/PerlIO/via/*.pm