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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-PerlIO-via-symlink
License:        Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://cpan.org/
AutoReqProv:    on
Summary:        PerlIO layers for create symlinks
Version:        0.05
Release:        144
Source:         http://cpan.org/modules/by-module/PerlIO/PerlIO-via-symlink-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

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



Authors:
--------
    Chia-liang Kao <clkao at clkao dot org>

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

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

%install
%perl_make_install
%perl_process_packlist

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

%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/PerlIO
%dir %{perl_vendorlib}/PerlIO/via
%{perl_vendorlib}/PerlIO/via/symlink.pm
%dir %{perl_vendorarch}/auto/PerlIO
%dir %{perl_vendorarch}/auto/PerlIO/via
%dir %{perl_vendorarch}/auto/PerlIO/via/symlink
%{_mandir}/man3/PerlIO::via::symlink.3pm.gz

%changelog