- update by Fedora::App::MaintainerTools 0.006

- updating to latest GA CPAN version (0.99)
epel9
Chris Weyl 15 years ago
parent 5827275417
commit 67222fd387

@ -1 +1 @@
Moose-0.98.tar.gz Moose-0.99.tar.gz

@ -1,3 +1,11 @@
; This is probably an odd choice to try fully-managed mode out on, as we have
; a subpackage to deal with, but... Why not :)
[common]
; Set to 0 to DISABLE all description/prep/build/etc management.
is_fully_managed=1
[add_build_requires] [add_build_requires]
; optional test #1 (in no particular order) ; optional test #1 (in no particular order)
; ** moved to author tests ; ** moved to author tests
@ -29,3 +37,103 @@ perl(Test::Warn)=0
perl(Test::Output)=0 perl(Test::Output)=0
; optional test #10 ; optional test #10
perl(DateTime::Calendar::Mayan)=0 perl(DateTime::Calendar::Mayan)=0
[spec_description]
content= <<EOT
Moose is an extension of the Perl 5 object system.
Moose is built on top of Class::MOP, which is a metaclass system for
Perl 5. This means that Moose not only makes building normal Perl 5
objects better, but it also provides the power of metaclass programming.
such things. Moose is different from other Perl 5 object systems because
it is not a new system, but instead an extension of the existing one.
While Moose is very much inspired by Perl 6, it is not itself Perl
6. Instead, it is an OO system for Perl 5. I built Moose because I was
tired or writing the same old boring Perl 5 OO code, and drooling over
Perl 6 OO. So instead of switching to Ruby, I wrote Moose :)
%package -n perl-Test-Moose
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Test functions for Moose specific features
Requires: %{name} = %{version}-%{release}
%description -n perl-Test-Moose
This module provides some useful test functions for Moose based classes.
It is an experimental first release, so comments and suggestions are
very welcome.
EOT
[spec_prep]
setup_line=%setup -q -n Moose-%{version}
use_custom_prep=1
custom_prep= <<EOT
# tidy things up...
find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} +
find . -name '*.orig' -exec rm -v {} +
find . -type f -exec chmod -c -x {} +
EOT
;[spec_build]
; Set to 0 or delete section to use the default
;use_custom=1
;custom= <<EOT
;%{__perl} Makefile.PL INSTALLDIRS=vendor
;make %{?_smp_mflags}
;
;
;EOT
;[spec_install]
; Set to 0 or delete section to use the default
;use_custom=1
;custom= <<EOT
;rm -rf %{buildroot}
;
;make pure_install DESTDIR=%{buildroot}
;find %{buildroot} -type f -name .packlist -exec rm -f {} +
;find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
;
;%{_fixperms} %{buildroot}/*
;
;EOT
;[spec_check]
; Set to 0 or delete section to use the default
;use_custom=1
;custom= <<EOT
;make test
;
;EOT
;[spec_clean]
;; Set to 0 or delete section to use the default
;use_custom=1
;custom= <<EOT
;rm -rf %{buildroot}
;
;EOT
[spec_files]
; Set to 0 or delete section to use the default
use_custom=1
custom= <<EOT
%defattr(-,root,root,-)
%doc Changes README doap.rdf
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto/
%exclude %{perl_vendorarch}/Test
%{_mandir}/man3/*
%exclude %{_mandir}/man3/Test::Moose*
%files -n perl-Test-Moose
%defattr(-,root,root,-)
%{perl_vendorarch}/Test
%{_mandir}/man3/Test::Moose*
EOT

@ -1,10 +1,10 @@
Name: perl-Moose Name: perl-Moose
Summary: Complete modern object system for Perl 5 Summary: Complete modern object system for Perl 5
Version: 0.98 Version: 0.99
Release: 1%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Moose-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Moose-%{version}.tar.gz
URL: http://search.cpan.org/dist/ URL: http://search.cpan.org/dist/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -45,22 +45,22 @@ Requires: perl(Sub::Name)
Requires: perl(Task::Weaken) Requires: perl(Task::Weaken)
Requires: perl(Try::Tiny) >= 0.02 Requires: perl(Try::Tiny) >= 0.02
%{?perl_default_filter} %{?perl_default_filter}
%{?perl_default_subpackage_tests} %{?perl_default_subpackage_tests}
%description %description
Moose is an extension of the Perl 5 object system. Moose is an extension of the Perl 5 object system.
Moose is built on top of Class::MOP, which is a metaclass system for The main goal of Moose is to make Perl 5 Object Oriented programming easier,
Perl 5. This means that Moose not only makes building normal Perl 5 more consistent and less tedious. With Moose you can to think more about what
objects better, but it also provides the power of metaclass programming. you want to do and less about the mechanics of OOP.
such things. Moose is different from other Perl 5 object systems because
it is not a new system, but instead an extension of the existing one.
While Moose is very much inspired by Perl 6, it is not itself Perl Additionally, Moose is built on top of Class::MOP, which is a metaclass system
6. Instead, it is an OO system for Perl 5. I built Moose because I was for Perl 5. This means that Moose not only makes building normal Perl 5
tired or writing the same old boring Perl 5 OO code, and drooling over objects better, but it provides the power of metaclass programming as well.
Perl 6 OO. So instead of switching to Ruby, I wrote Moose :) Moose is different from other Perl 5 object systems because it is not a new
system, but instead an extension of the existing one.
%package -n perl-Test-Moose %package -n perl-Test-Moose
License: GPL+ or Artistic License: GPL+ or Artistic
@ -76,28 +76,24 @@ very welcome.
%prep %prep
%setup -q -n Moose-%{version} %setup -q -n Moose-%{version}
# tidy things up...
find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} +
find . -name '*.orig' -exec rm -v {} +
find . -type f -exec chmod -c -x {} +
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -116,6 +112,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Test::Moose* %{_mandir}/man3/Test::Moose*
%changelog %changelog
* Fri Mar 12 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.99-1
- update by Fedora::App::MaintainerTools 0.006
- updating to latest GA CPAN version (0.99)
* Sat Feb 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.98-1 * Sat Feb 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.98-1
- update by Fedora::App::MaintainerTools 0.003 - update by Fedora::App::MaintainerTools 0.003

@ -1 +1 @@
c040bde14d843ea09a0d138b25642f42 Moose-0.98.tar.gz bb3a9b89268f6deae85018fdb510a8ec Moose-0.99.tar.gz

Loading…
Cancel
Save