2007-01-15 23:29:59 +00:00
|
|
|
#
|
2008-04-06 05:34:40 +00:00
|
|
|
# spec file for package perl-Class-MethodMaker (Version 2.11)
|
2007-01-15 23:29:59 +00:00
|
|
|
#
|
2010-01-12 13:18:05 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:29:59 +00:00
|
|
|
#
|
2009-06-18 14:59:36 +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.
|
|
|
|
|
2007-07-16 09:51:38 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:29:59 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 05:34:40 +00:00
|
|
|
|
2007-07-16 09:51:38 +00:00
|
|
|
Name: perl-Class-MethodMaker
|
|
|
|
BuildRequires: perl-Module-Build
|
2010-01-12 13:18:05 +00:00
|
|
|
License: Artistic
|
2007-07-16 09:51:38 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: perl = %{perl_version}
|
2008-04-06 05:34:40 +00:00
|
|
|
AutoReqProv: on
|
2007-07-16 09:51:38 +00:00
|
|
|
Summary: Class::MethodMaker
|
2008-04-06 05:34:40 +00:00
|
|
|
Version: 2.11
|
2010-01-12 13:18:05 +00:00
|
|
|
Release: 37
|
2007-07-16 09:51:38 +00:00
|
|
|
Source: Class-MethodMaker-%{version}.tar.gz
|
|
|
|
Patch: Class-MethodMaker-Makefile.PL.diff
|
2008-06-23 22:34:46 +00:00
|
|
|
Patch1: suppress_warning.diff
|
2007-07-16 09:51:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:29:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module solves the problem of having to write a bazillion get/set
|
|
|
|
methods that are all the same.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
fluffy@engineer.com
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Class-MethodMaker-%{version}
|
|
|
|
%patch
|
2008-06-23 22:34:46 +00:00
|
|
|
%patch1
|
2007-01-15 23:29:59 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure
|
2010-01-12 13:18:05 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:29:59 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
|
|
|
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
|
|
|
|
install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes MANIFEST README TODO end.pod examples benchmark
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::Constants.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::Engine.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::OptExt.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::V1Compat.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::array.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::hash.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Class::MethodMaker::scalar.3pm.gz
|
|
|
|
%dir %{perl_vendorarch}/Class
|
|
|
|
%dir %{perl_vendorarch}/Class/MethodMaker
|
|
|
|
%dir %{perl_vendorarch}/auto/Class
|
|
|
|
%{perl_vendorarch}/Class/MethodMaker.pm
|
|
|
|
%{perl_vendorarch}/Class/MethodMaker
|
|
|
|
%{perl_vendorarch}/auto/Class/MethodMaker/
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-07-16 09:51:38 +00:00
|
|
|
%changelog
|