Author: cweyl Update of /cvs/extras/rpms/perl-Moose/devel In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8166 Modified Files: .cvsignore auto.ini perl-Moose.spec sources Log Message: * Fri Mar 12 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.99-1 - update by Fedora::App::MaintainerTools 0.006 - updating to latest GA CPAN version (0.99) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Moose/devel/.cvsignore,v retrieving revision 1.38 retrieving revision 1.39 diff -u -p -r1.38 -r1.39 --- .cvsignore 20 Feb 2010 03:26:50 -0000 1.38 +++ .cvsignore 20 Mar 2010 17:46:23 -0000 1.39 @@ -1 +1 @@ -Moose-0.98.tar.gz +Moose-0.99.tar.gz Index: auto.ini =================================================================== RCS file: /cvs/extras/rpms/perl-Moose/devel/auto.ini,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- auto.ini 13 Feb 2010 06:18:47 -0000 1.1 +++ auto.ini 20 Mar 2010 17:46:23 -0000 1.2 @@ -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] ; optional test #1 (in no particular order) ; ** moved to author tests @@ -29,3 +37,103 @@ perl(Test::Warn)=0 perl(Test::Output)=0 ; optional test #10 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 + Index: perl-Moose.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Moose/devel/perl-Moose.spec,v retrieving revision 1.53 retrieving revision 1.54 diff -u -p -r1.53 -r1.54 --- perl-Moose.spec 20 Feb 2010 03:26:50 -0000 1.53 +++ perl-Moose.spec 20 Mar 2010 17:46:23 -0000 1.54 @@ -1,10 +1,10 @@ Name: perl-Moose Summary: Complete modern object system for Perl 5 -Version: 0.98 +Version: 0.99 Release: 1%{?dist} License: GPL+ or Artistic 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/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -45,22 +45,22 @@ Requires: perl(Sub::Name) Requires: perl(Task::Weaken) Requires: perl(Try::Tiny) >= 0.02 + %{?perl_default_filter} %{?perl_default_subpackage_tests} %description 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 :) +The main goal of Moose is to make Perl 5 Object Oriented programming easier, +more consistent and less tedious. With Moose you can to think more about what +you want to do and less about the mechanics of OOP. + +Additionally, 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 provides the power of metaclass programming as well. +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 License: GPL+ or Artistic @@ -76,28 +76,24 @@ very welcome. %prep %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 -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} - %install 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 \; +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test + %clean rm -rf %{buildroot} @@ -116,6 +112,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::Moose* %changelog +* Fri Mar 12 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> 0.98-1 - update by Fedora::App::MaintainerTools 0.003 Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Moose/devel/sources,v retrieving revision 1.38 retrieving revision 1.39 diff -u -p -r1.38 -r1.39 --- sources 20 Feb 2010 03:26:50 -0000 1.38 +++ sources 20 Mar 2010 17:46:23 -0000 1.39 @@ -1 +1 @@ -c040bde14d843ea09a0d138b25642f42 Moose-0.98.tar.gz +bb3a9b89268f6deae85018fdb510a8ec Moose-0.99.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel