perl-Object-InsideOut/perl-Object-InsideOut.spec

219 lines
7.4 KiB
RPMSpec
Raw Normal View History

Name: perl-Object-InsideOut
2012-05-11 11:29:22 +00:00
Version: 3.94
2012-02-20 10:02:20 +00:00
Release: 1%{?dist}
Summary: Comprehensive inside-out object support module
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Object-InsideOut
2011-07-02 09:11:17 +00:00
Source0: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/Object-InsideOut-%{version}.tar.gz
BuildArch: noarch
2012-01-19 17:21:58 +00:00
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time
2011-10-20 15:21:51 +00:00
BuildRequires: perl(attributes)
BuildRequires: perl(B)
2012-05-11 11:29:22 +00:00
BuildRequires: perl(Data::Dumper) >= 2.131
2012-01-27 13:31:25 +00:00
BuildRequires: perl(Exception::Class) >= 1.32
2012-04-10 10:56:21 +00:00
BuildRequires: perl(Scalar::Util) >= 1.25
2011-10-20 15:21:51 +00:00
BuildRequires: perl(warnings)
2012-01-19 17:21:58 +00:00
# Optional run-time
%if %{undefined perl_bootstrap}
2012-01-27 13:31:25 +00:00
BuildRequires: perl(Math::Random::MT::Auto) >= 6.18
2011-06-28 11:52:52 +00:00
%endif
2012-04-10 10:56:21 +00:00
BuildRequires: perl(Want) >= 0.21
2012-01-19 17:21:58 +00:00
# Test only
BuildRequires: perl(Config)
BuildRequires: perl(lib)
BuildRequires: perl(overload)
2012-01-27 13:31:25 +00:00
BuildRequires: perl(Test::More) >= 0.98
2012-01-19 17:21:58 +00:00
BuildRequires: perl(threads)
BuildRequires: perl(Thread::Queue)
BuildRequires: perl(threads::shared)
2011-10-20 15:21:51 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2012-05-11 11:29:22 +00:00
Requires: perl(Data::Dumper) >= 2.131
2012-04-10 10:56:21 +00:00
Requires: perl(Scalar::Util) >= 1.25
2011-07-19 04:28:10 +00:00
%{?perl_default_filter}
2012-01-19 17:21:58 +00:00
# Remove underspecified dependencies
2011-07-19 04:28:10 +00:00
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Object::InsideOut\\)$
2012-01-19 17:21:58 +00:00
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Scalar::Util\\)
%if %{defined perl_bootstrap}
2011-07-19 04:28:10 +00:00
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Math::Random::MT::Auto\\)
%endif
%description
This module provides comprehensive support for implementing classes using the
inside-out object model.
This module implements inside-out objects as anonymous scalar references that
are blessed into a class with the scalar containing the ID for the object
(usually a sequence number). For Perl 5.8.3 and later, the scalar reference is
2012-01-19 17:21:58 +00:00
set as read-only to prevent accidental modifications to the ID. Object data
(i.e., fields) are stored within the class's package in either arrays indexed
by the object's ID, or hashes keyed to the object's ID.
2011-02-15 16:52:21 +00:00
%prep
%setup -q -n Object-InsideOut-%{version}
2011-10-20 15:21:51 +00:00
# fix permissions
find lib -type f -print0 | xargs -0 chmod 0644
%build
2006-08-06 04:10:03 +00:00
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
2006-09-06 01:20:01 +00:00
%{_fixperms} %{buildroot}/*
%check
make test
%files
2012-01-27 13:31:25 +00:00
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
2012-05-11 11:29:22 +00:00
* Fri May 11 2012 Petr Pisar <ppisar@redhat.com> - 3.94-1
- 3.94 bump
2012-04-10 10:56:21 +00:00
* Tue Apr 10 2012 Petr Pisar <ppisar@redhat.com> - 3.93-1
- 3.93 bump
2012-03-14 15:14:09 +00:00
* Wed Mar 14 2012 Petr Pisar <ppisar@redhat.com> - 3.92-1
- 3.92 bump
2012-02-23 12:40:38 +00:00
* Thu Feb 23 2012 Petr Pisar <ppisar@redhat.com> - 3.91-1
- 3.91 bump
2012-02-20 10:02:20 +00:00
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 3.89-1
- 3.89 bump
* Fri Jan 27 2012 Petr Pisar <ppisar@redhat.com> - 3.88-2
- Finish bootstrapping Math::Random::MT::Auto
2012-01-27 13:31:25 +00:00
* Fri Jan 27 2012 Petr Pisar <ppisar@redhat.com> - 3.88-1
- 3.88 bump
- Do not package tests
- Bootstrap new Math::Random::MT::Auto version
2012-01-19 17:21:58 +00:00
* Thu Jan 19 2012 Petr Pisar <ppisar@redhat.com> - 3.87-1
- 3.87 bump
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.84-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-10-20 15:21:51 +00:00
* Thu Oct 20 2011 Iain Arnell <iarnell@gmail.com> 3.84-1
- update to latest upstream version
2011-07-19 14:23:16 +00:00
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 3.81-3
- Perl mass rebuild
2011-07-19 04:28:10 +00:00
* Tue Jul 19 2011 Iain Arnell <iarnell@gmail.com> 3.81-2
- fix provides filter
- on filter requires when bootstrapping
- remove unnecessary explicit requires
* Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> 3.81-1
- minimize the impact of perl_bootstrap on testing; it's only
perl-Math-Random-MT-Auto which causes circular deps and is
automatically skipped in tests if not available
2011-07-02 09:11:17 +00:00
* Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> 3.81-1
- update to latest upstream version
2011-06-28 11:52:52 +00:00
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.79-2
- use perl_bootstrap macro
2011-02-25 16:20:49 +00:00
* Fri Feb 25 2011 Iain Arnell <iarnell@gmail.com> 3.79-1
- update to latest upstream version
* Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 3.56-8
- only filter unversioned perl(Object::InsideOut) from provides
* Thu Feb 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.56-7
- add into filter requires on Object::InsideOut
2011-02-15 16:52:21 +00:00
* Tue Feb 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.56-6
- clean spec, add correct filters
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.56-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.56-4
- 661697 rebuild for fixing problems with vendorach/lib
2010-05-04 13:56:00 +00:00
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.56-3
- Mass rebuild with perl-5.12.0
2009-12-07 17:05:51 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 3.56-2
- rebuild against perl 5.10.1
* Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 3.56-1
- auto-update to 3.56 (by cpan-spec-update 0.01)
- altered br on perl(Scalar::Util) (1.19 => 1.21)
- added a new req on perl(B) (version 0)
- added a new req on perl(Config) (version 0)
- added a new req on perl(Data::Dumper) (version 0)
- added a new req on perl(Exception::Class) (version 1.29)
- added a new req on perl(Scalar::Util) (version 1.21)
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.55-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue May 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 3.55-1
- auto-update to 3.55 (by cpan-spec-update 0.01)
- added a new br on perl(ExtUtils::MakeMaker) (version 0)
- added a new br on perl(Data::Dumper) (version 0)
- added a new br on perl(Scalar::Util) (version 1.19)
- added a new br on perl(Config) (version 0)
- added a new br on perl(Test::More) (version 0.5)
- altered br on perl(Exception::Class) (1.22 => 1.29)
- added a new br on perl(B) (version 0)
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Oct 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 3.51-1
- update to 3.51
- replace filter-provides.sh style filtering with inline
2008-03-04 22:49:05 +00:00
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.38-1
- 3.38
2008-03-04 18:36:50 +00:00
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.06-2
- rebuild for new perl
2006-10-11 02:28:44 +00:00
* Tue Oct 10 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.06-1
- update to 2.06
- add additional BRs: perl(Test::Pod[::Coverage])
2006-09-25 19:35:05 +00:00
* Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.02-1
- update to 2.02
2006-09-06 01:20:01 +00:00
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.52-1
- update to 1.52
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.51-1
- update to 1.51, which now has a BR of perl(Want)
- rebuild per mass rebuild
2006-08-11 15:38:51 +00:00
* Fri Aug 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.49-1
- update to 1.49
2006-08-06 04:10:03 +00:00
* Sat Aug 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.48-1
- update to 1.48
- drop some unneeded bits from the spec
2006-07-05 19:55:46 +00:00
* Wed Jul 5 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.45-1
- bump release for build
2006-07-05 19:55:46 +00:00
* Mon Jul 3 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.45-0.1
- corrected url's.
* Sat Jul 01 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.45-0
- Initial spec file for F-E