# # spec file for package perl-Class-Accessor (Version 0.33) # # Copyright (c) 2009 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-Class-Accessor BuildRequires: perl-Carp-Assert Version: 0.33 Release: 1 Requires: perl-Carp-Assert Requires: perl = %{perl_version} AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License Url: http://cpan.org/modules/by-module/Class/ Summary: Automated accessor generation Source: Class-Accessor-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module automatically generates accessor/mutators for your class. Authors: -------- Michael G Schwern %prep %setup -q -n Class-Accessor-%{version} %build perl Makefile.PL make make test %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist chmod 755 examples/benchmark %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_mandir}/man?/* %doc Changes README examples %{perl_vendorlib}/Class %{perl_vendorarch}/auto/Class /var/adm/perl-modules/%{name} %changelog * Mon May 18 2009 anicka@suse.cz - update to 0.33 * small cleanups to fix RT#45592 and RT#43493 * Wed Jul 25 2007 anicka@suse.cz - update to 0.31 * applied performance patch from RUZ * Wed Dec 13 2006 anicka@suse.cz - update to 0.30 * added version numbers back into each class * Mon Jul 24 2006 anicka@suse.cz - update to 0.27 * added Class::Accessor::Faster that uses an array internally * Tue Jul 11 2006 anicka@suse.cz - update to 0.25 - minor release * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 03 2006 anicka@suse.cz - update to 0.22 * Wed Sep 28 2005 dmueller@suse.de - add norootforbuild * Fri Aug 13 2004 mjancar@suse.cz - update to 0.19 * 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 * Tue May 20 2003 mjancar@suse.cz - remove unpackaged files * Tue Jul 02 2002 mls@suse.de - remove race in .packlist generation * Wed Jun 26 2002 prehak@suse.cz - correct permissions of examples directories * Wed Jan 23 2002 rvasice@suse.cz - initial package release (version 0.17)