# # spec file for package perl-PerlIO-via-dynamic (Version 0.12) # # 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-dynamic License: Artistic Group: Development/Libraries/Perl Url: http://cpan.org/ Requires: perl = %{perl_version} AutoReqProv: on Summary: dynamic PerlIO layers Version: 0.12 Release: 130 Source: http://cpan.org/modules/by-module/PerlIO/PerlIO-via-dynamic-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %description PerlIO::via::dynamic is used for creating dynamic PerlIO layers. It is useful when the behavior or the layer depends on variables. You should not use this module as via layer directly (ie :via(dynamic)). Authors: -------- Chia-liang Kao %prep %setup -n PerlIO-via-dynamic-%{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/dynamic.pm %dir %{perl_vendorarch}/auto/PerlIO %dir %{perl_vendorarch}/auto/PerlIO/via %dir %{perl_vendorarch}/auto/PerlIO/via/dynamic %{_mandir}/man3/PerlIO::via::dynamic.3pm.gz %changelog