File perl-Devel-LexAlias.spec of Package perl-Devel-LexAlias
# vim: set sw=3 ts=3 noet:
#
# spec file for package perl-Devel-LexAlias
#
# Copyright (c) 2012 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/
#
Name: perl-Devel-LexAlias
Version: 0.04
Release: 0
Summary: Alias Lexical Variables
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Source: http://www.cpan.org/modules/by-module/Devel/Devel-LexAlias-%{version}.tar.gz
Url: http://search.cpan.org/dist/Devel-LexAlias/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl(Devel::Caller) >= 0.03
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::Caller) >= 0.03
%{perl_requires}
%description
Devel::LexAlias provides the ability to alias a lexical variable in a
subroutines scope to one of your choosing.
%prep
%setup -q -n "Devel-LexAlias-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
%files
%defattr(-,root,root)
%doc README
%dir %{perl_vendorarch}/Devel
%{perl_vendorarch}/Devel/LexAlias.pm
%dir %{perl_vendorarch}/auto/Devel
%{perl_vendorarch}/auto/Devel/LexAlias
%doc %{perl_man3dir}/Devel::LexAlias.%{perl_man3ext}%{ext_man}
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
%changelog