8
0
Files
perl-PerlIO-via-dynamic/perl-PerlIO-via-dynamic.spec
OBS User autobuild c9256eae5f Accepting request 29455 from devel:languages:perl
Copy from devel:languages:perl/perl-PerlIO-via-dynamic based on submit request 29455 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=5
2010-01-14 17:52:51 +00:00

71 lines
2.1 KiB
RPMSpec

#
# 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: 122
Source: http://cpan.org/modules/by-module/PerlIO/PerlIO-via-dynamic-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 <clkao at clkao dot org>
%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
%{perl_vendorarch}/auto/PerlIO/via/dynamic/.packlist
%{_mandir}/man3/PerlIO::via::dynamic.3pm.gz
/var/adm/perl-modules/%{name}
%changelog