Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 7fc53c392c396b42962b992b351b40b1 > files > 2

perl-Object-InsideOut-3.45-1mdv2009.0.src.rpm

%define module	Object-InsideOut
%define name	perl-%{module}
%define version 3.45
%define rel     1

Name:		    %{name}
Version:	    %{version}
Release:	    %mkrel 1
Summary:	    Comprehensive inside-out object support perl module
License:	    GPL or Artistic
Group:		    Development/Perl
Url:		    http://search.cpan.org/dist/%{module}/
Source:		    http://www.cpan.org/modules/by-module/Object/%{module}-%{version}.tar.bz2
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl(attributes)
BuildRequires:	perl(Exception::Class)
BuildArch:	    noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}
# optional, and lead to a requires loop
%define _requires_exceptions perl\(Math::Random::MT::Auto)\  

%description
This module provides comprehensive support for implementing classes using the
inside-out object model.

Using inside-out object model, objects are not a blessed hash reference, but
merely a blessed scalar. The foobar attribute, instead of being accessed via
$self->{foobar}, is accessed using a package lexical variable @foobar (common
for every object of the class) via $foobar[$$self]. 

Advantages of this OO scheme are:
1 - speed
2 - encapsulation
3 - compilation-time checks

%prep
%setup -q -n %{module}-%{version} 

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std
rm -f %{buildroot}%{perl_vendorlib}/Bundle/Object/InsideOut.pm

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Object
%{_mandir}/man3/*




%changelog
* Sun Jul 13 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.45-1mdv2009.0
+ Revision: 234270
- update to new version 3.45

* Wed Jun 25 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.43-1mdv2009.0
+ Revision: 228886
- update to new version 3.43

* Mon Jun 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.42-1mdv2009.0
+ Revision: 220147
- update to new version 3.42

* Sat May 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.41-1mdv2009.0
+ Revision: 208358
- update to new version 3.41

* Tue Mar 11 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.39-1mdv2008.1
+ Revision: 185145
- update to new version 3.39

* Wed Feb 27 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.38-1mdv2008.1
+ Revision: 175720
- update to new version 3.38

* Thu Feb 21 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.37-1mdv2008.1
+ Revision: 173548
- update to new version 3.37

* Sat Feb 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 3.36-1mdv2008.1
+ Revision: 169258
- update to new version 3.36

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sat Dec 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.35-1mdv2008.1
+ Revision: 136770
- update to new version 3.35

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Nov 28 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.34-1mdv2008.1
+ Revision: 113648
- update to new version 3.34

* Sun Nov 11 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.33-1mdv2008.1
+ Revision: 107979
- update to new version 3.33
- update to new version 3.32
- update to new version 3.29
- update to new version 3.28

* Sun Nov 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.27-1mdv2008.1
+ Revision: 105896
- update to new version 3.27

* Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.26-1mdv2008.1
+ Revision: 97534
- update to new version 3.26

* Wed Aug 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.21-1mdv2008.0
+ Revision: 69243
- update to new version 3.21

* Tue Jul 03 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.19-1mdv2008.0
+ Revision: 47701
- update to new version 3.19

* Mon May 21 2007 Michael Scherer <misc@mandriva.org> 3.17-1mdv2008.0
+ Revision: 29067
- Update to new version 3.17

* Thu May 03 2007 Michael Scherer <misc@mandriva.org> 3.14-1mdv2008.0
+ Revision: 20960
- update to 3.14


* Wed Mar 21 2007 Michael Scherer <misc@mandriva.org> 3.11-2mdv2007.1
+ Revision: 147544
- Fix missing deps. Math::Random::MT::Auto requires perl-Object-InsideOut

* Mon Mar 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 3.11-1mdv2007.1
+ Revision: 141924
- new version

* Wed Aug 30 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.49-1mdv2007.0
- New version 1.49

* Sat Aug 05 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.48-1mdv2007.0
- New version 1.48

* Sat Jul 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.45-1mdv2007.0
- New version 1.45

* Tue Jun 27 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.44-1mdv2007.0
- New version 1.44

* Wed May 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.42-1mdv2007.0
- New release 1.42
- spec cleanup

* Wed May 03 2006 Michael Scherer <misc@mandriva.org> 1.41-2mdk
- BuildRequires fix
- enhances description, thanks to jq

* Tue May 02 2006 Michael Scherer <misc@mandriva.org> 1.41-1mdk
- First Mandriva package, fix #22223