File perl-PerlIO-via-symlink.spec of Package perl-PerlIO-via-symlink

# spec file for package perl-PerlIO-via-symlink (Version 0.05)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-PerlIO-via-symlink
License:        Artistic-1.0
Group:          Development/Libraries/Perl
AutoReqProv:    on
Summary:        PerlIO layers for create symlinks
Version:        0.05
Release:        144
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros

The PerlIO layer symlink allows you to create a symbolic link by
writing to the file handle.

    Chia-liang Kao <clkao at clkao dot org>

%setup -n PerlIO-via-symlink-%{version}

perl Makefile.PL
%{__make} %{?_smp_mflags}


[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%defattr(-, root, root)
%dir %{perl_vendorlib}/PerlIO
%dir %{perl_vendorlib}/PerlIO/via
%dir %{perl_vendorarch}/auto/PerlIO
%dir %{perl_vendorarch}/auto/PerlIO/via
%dir %{perl_vendorarch}/auto/PerlIO/via/symlink