File perl-Class-Multimethods.spec of Package perl-Class-Multimethods

#
# spec file for package perl-Class-Multimethods (Version 1.70)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         perl-Class-Multimethods
Version:      1.70
Release:      436
Requires:     perl = %{perl_version}
Autoreqprov:  on
Group:        Development/Libraries/Perl
License:      Artistic License
URL:          http://cpan.org/modules/by-module/Class
Summary:      This Package Supports Multimethods and Subroutine Overloading in Perl.
Source:       Class-Multimethods-%{version}.tar.bz2
Patch0:       Class-Multimethods-%{version}.diff
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Class::Multimethods -- Supports multimethods and subroutine overloading
in Perl.



Authors:
--------
    Damian Conway <damian@cs.monash.edu.au>

%prep
%setup -n Class-Multimethods-%{version}
%patch0

%build
perl Makefile.PL
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
chmod 644 Changes README tutorial.html $RPM_BUILD_ROOT%{perl_vendorlib}/Class/Multimethods.*
chmod 644 demo/demo.ambig.pl demo/demo.analyse.pl demo/demo.global.pl demo/demo.multi.pl

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes README tutorial.html demo
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Class
%{perl_vendorarch}/auto/Class
/var/adm/perl-modules/%{name}

%changelog -n perl-Class-Multimethods
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Wed Jun 18 2003 - mjancar@suse.cz
- fix filelist
* Thu May 22 2003 - mjancar@suse.cz
- package omited documentation
- use diff instead of script
- fix permissions
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Fri Aug 03 2001 - rvasice@suse.cz
- initial package release (version 1.70)
openSUSE Build Service is sponsored by