2007-01-15 23:30:00 +00:00
#
2011-11-17 15:23:05 +00:00
# spec file for package perl-Class-Multimethods
2007-01-15 23:30:00 +00:00
#
2017-10-08 06:44:54 +00:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
2007-01-15 23:30:00 +00:00
#
2009-06-18 14:59:46 +00:00
# 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/
2007-01-15 23:30:00 +00:00
#
2009-06-18 14:59:46 +00:00
Name : perl-Class-Multimethods
2017-10-08 06:44:54 +00:00
Version : 1.701
Release : 0
2017-10-08 19:24:19 +00:00
#Upstream: This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
%define cpan_name Class-Multimethods
Summary : Support multimethods and function overloading in Perl
2017-10-08 06:44:54 +00:00
License : Artistic-1.0
Group : Development/Libraries/Perl
2017-10-08 19:24:19 +00:00
Url : http://search.cpan.org/dist/Class-Multimethods/
Source0 : https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/%{cpan_name} -%{version} .tar.gz
2017-10-08 06:44:54 +00:00
Source1 : cpanspec.yml
2025-08-12 18:12:27 +02:00
Source100 : README.md
2017-10-08 19:24:19 +00:00
BuildArch : noarch
2009-06-18 14:59:46 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-10-19 10:48:58 +00:00
BuildRequires : perl
2010-12-03 13:57:40 +00:00
BuildRequires : perl-macros
2017-10-08 19:24:19 +00:00
%{perl_requires}
2007-01-15 23:30:00 +00:00
%description
2017-10-08 19:24:19 +00:00
The Class:Multimethod module exports a subroutine (&multimethod) that can
be used to declare other subroutines that are dispatched using a algorithm
different from the normal Perl subroutine or method dispatch mechanism.
2007-01-15 23:30:00 +00:00
%prep
2017-10-08 19:24:19 +00:00
%setup -q -n %{cpan_name} -1.700
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
2007-01-15 23:30:00 +00:00
%build
2017-10-08 19:24:19 +00:00
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
2007-01-15 23:30:00 +00:00
%install
2017-10-08 19:24:19 +00:00
%perl_make_install
2007-01-15 23:30:00 +00:00
%perl_process_packlist
2017-10-08 19:24:19 +00:00
%perl_gen_filelist
%files -f %{name}.files
%defattr (-,root,root,755)
%doc Changes README tutorial.html
2007-01-15 23:30:00 +00:00
2009-06-18 14:59:46 +00:00
%changelog