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

93 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: perl-Object-InsideOut
2006-09-25 19:35:05 +00:00
Version: 2.02
2006-07-05 19:55:46 +00:00
Release: 1%{?dist}
Summary: Comprehensive inside-out object support module
Group: Development/Libraries
License: Artistic or GPL
URL: http://search.cpan.org/dist/Object-InsideOut
Source0: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/Object-InsideOut-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source98: filter-provides.sh
%define __perl_provides %{SOURCE98}
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Exception::Class) >= 1.22
2006-09-06 01:20:01 +00:00
BuildRequires: perl(Want) >= 0.12
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%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
set as readonly 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.
%prep
%setup -q -n Object-InsideOut-%{version}
%build
2006-08-06 04:10:03 +00:00
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
2006-09-06 01:20:01 +00:00
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
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
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
* 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