diff --git a/specs/perl-Any-Moose/perl-Any-Moose.spec b/specs/perl-Any-Moose/perl-Any-Moose.spec index 8a225cb5e..bd89ea69a 100644 --- a/specs/perl-Any-Moose/perl-Any-Moose.spec +++ b/specs/perl-Any-Moose/perl-Any-Moose.spec @@ -13,7 +13,7 @@ Summary: use Moose or Mouse modules Name: perl-Any-Moose -Version: 0.17 +Version: 0.18 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN @@ -25,7 +25,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl(Mouse) >= 0.40 BuildRequires: perl >= 5.006_002 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(Mouse) >= 0.40 Requires: perl >= 5.006_002 @@ -34,7 +34,10 @@ Requires: perl >= 5.006_002 %description -use Moose or Mouse modules. +Any::Moose is a Perl module that intelligently loads either Moose or +Mouse, which provide nearly identical interfaces to the same modern +object system. This module takes advantage of the fact that anything +that works with Mouse should also work with Moose. %prep %setup -n %{real_name}-%{version} @@ -49,6 +52,7 @@ use Moose or Mouse modules. ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %clean %{__rm} -rf %{buildroot} @@ -58,10 +62,12 @@ find %{buildroot} -name .packlist -exec %{__rm} {} \; %doc Changes LICENSE MANIFEST META.yml README %doc %{_mandir}/man3/Any::Moose.3pm* %dir %{perl_vendorlib}/Any/ -#%{perl_vendorlib}/Any/Moose/ %{perl_vendorlib}/Any/Moose.pm %changelog +* Sat Apr 28 2012 Denis Fateyev -0.18-1 +- updated to 0.18 + * Mon Dec 05 2011 David Hrbáč - 0.17-1 - new upstream release diff --git a/specs/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.spec b/specs/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.spec new file mode 100644 index 000000000..45e5bb632 --- /dev/null +++ b/specs/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.spec @@ -0,0 +1,62 @@ +# $Id$ +# Authority: dfateyev +# Upstream: Shawn M Moore + +%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) +%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) + +%define real_name Class-Method-Modifiers + +Summary: Provides Moose-like method modifiers +Name: perl-%{real_name} +Version: 1.09 +Release: 1%{?dist} +License: GPL or Artistic +Group: Development/Libraries +URL: http://github.com/sartak/Class-Method-Modifiers/tree + +Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/%{real_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl + +### remove autoreq Perl dependencies +%filter_from_requires /^perl.*/d +%filter_setup + +%description +Class::Method::Modifiers provides three modifiers: before, around, and +after. In short, Class::Method::Modifiers solves the problem of making +sure you call $self->SUPER::foo(@_), and provides a cleaner interface +for it. + +%prep +%setup -n %{real_name}-%{version} +echo "Generic README file for %{real_name}" > README + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX="%{buildroot}%{_prefix}" +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf $RPM_BUILD_ROOT +%{__make} pure_install +find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' +find %{buildroot} -type f -name *.bs -exec %{__rm} -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,0755) +%doc Changes README +%{perl_vendorlib}/Class/Method/Modifiers.pm +%{_mandir}/man3/*.3* + +%changelog +* Sat Apr 28 2012 Denis Fateyev - 1.09-1 +- Initial package. diff --git a/specs/perl-MongoDB/perl-MongoDB.spec b/specs/perl-MongoDB/perl-MongoDB.spec new file mode 100644 index 000000000..b050d3101 --- /dev/null +++ b/specs/perl-MongoDB/perl-MongoDB.spec @@ -0,0 +1,66 @@ +# $Id$ +# Authority: dfateyev +# Upstream: Kristina Chodorov + +%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) +%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) + +%define real_name MongoDB + +Summary: Perl driver for MongoDB, a document-oriented database +Name: perl-%{real_name} +Version: 0.45 +Release: 1%{?dist} +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/~kristina/%{real_name}-%{version}/ + +Source0: http://search.cpan.org/CPAN/authors/id/K/KR/KRISTINA/%{real_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl >= 5.8.7 +Requires: perl(Any::Moose) +Requires: perl(Class::Method::Modifiers) +Requires: perl(DateTime) +Requires: perl(Digest::MD5) +Requires: perl(Tie::IxHash) +Requires: perl(XSLoader) +Requires: perl(boolean) + +### remove autoreq Perl dependencies +%filter_from_requires /^perl.*/d +%filter_setup + +%description +This is the Perl driver for MongoDB, a document-oriented database. + +%prep +%setup -n %{real_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX="%{buildroot}%{_prefix}" +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} pure_install +find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' +find %{buildroot} -type f -name *.bs -exec %{__rm} -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,0755) +%doc Changes README +%{perl_vendorarch}/MongoDB/ +%{perl_vendorarch}/MongoDB.pm +%{perl_vendorarch}/auto/MongoDB/ +%{_mandir}/man3/*.3* + +%changelog +* Sat Apr 28 2012 Denis Fateyev - 0.45-1 +- Initial package. diff --git a/specs/perl-MongoDBx-Class/perl-MongoDBx-Class.spec b/specs/perl-MongoDBx-Class/perl-MongoDBx-Class.spec new file mode 100644 index 000000000..0ed3a2466 --- /dev/null +++ b/specs/perl-MongoDBx-Class/perl-MongoDBx-Class.spec @@ -0,0 +1,83 @@ +# $Id$ +# Authority: dfateyev +# Upstream: Ido Perlmuter + +%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) +%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) + +%define real_name MongoDBx-Class + +Summary: flexible object relational mapper (ORM) for MongoDB databases +Name: perl-%{real_name} +Version: 0.91 +Release: 1%{?dist} +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/~idoperel/%{real_name}-%{version}/ + +Source0: http://search.cpan.org/CPAN/authors/id/I/ID/IDOPEREL/%{real_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl +Requires: perl(Moose) +Requires: perl(Carp) +Requires: perl(DateTime::Format::W3CDTF) +Requires: perl(Module::Load) +Requires: perl(Module::Pluggable) +Requires: perl(MongoDB) >= 0.40 +Requires: perl(MongoDB::Collection) +Requires: perl(MongoDB::Connection) +Requires: perl(MongoDB::Cursor) +Requires: perl(MongoDB::Database) +Requires: perl(Moose::Exporter) +Requires: perl(Moose::Role) +Requires: perl(Moose::Util::TypeConstraints) +Requires: perl(Try::Tiny) +Requires: perl(namespace::autoclean) + +### remove autoreq Perl dependencies +%filter_from_requires /^perl.*/d +%filter_setup + +%description +MongoDBx::Class is a flexible object relational mapper (ORM) for MongoDB +databases. Given a schema-like collection of document classes, +MongoDBx::Class expands MongoDB objects (hash-refs in Perl) from the +database into objects of those document classes, and collapses such +objects back to the database. + +MongoDBx::Class takes advantage of the fact that Perl's MongoDB driver +is Moose-based to extend and tweak the driver's behavior, instead of +wrapping it. This means MongoDBx::Class does not define its own syntax, +so you simply use it exactly as you would the MongoDB driver directly. +That said, MongoDBx::Class adds some sugar that enhances and simplifies +the syntax unobtrusively (either use it or don't). + +%prep +%setup -n %{real_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX="%{buildroot}%{_prefix}" +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} pure_install +find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,0755) +%doc Changes README +%{perl_vendorlib}/MongoDBx/ +%{_mandir}/man3/*.3* + +%changelog +* Sat Apr 28 2012 Denis Fateyev - 0.91-1 +- Initial package. diff --git a/specs/perl-boolean/perl-boolean.spec b/specs/perl-boolean/perl-boolean.spec index 31fa48803..601cd7e27 100644 --- a/specs/perl-boolean/perl-boolean.spec +++ b/specs/perl-boolean/perl-boolean.spec @@ -8,8 +8,8 @@ %define real_name boolean Summary: Boolean support for Perl -Name: perl-boolean -Version: 0.20 +Name: perl-%{real_name} +Version: 0.28 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN @@ -20,10 +20,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl >= 5.005003 +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl >= 5.005003 ++### remove autoreq Perl dependencies +%filter_from_requires /^perl.*/d +%filter_setup + %description -Boolean support for Perl. +Most programming languages have a native "Boolean" data type. Perl does +not. This module provides basic Boolean support, by defining two +special objects: "true" and "false". %prep %setup -n %{real_name}-%{version} @@ -38,6 +45,7 @@ Boolean support for Perl. ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %clean %{__rm} -rf %{buildroot} @@ -46,9 +54,11 @@ find %{buildroot} -name .packlist -exec %{__rm} {} \; %defattr(-, root, root, 0755) %doc Changes MANIFEST META.yml README %doc %{_mandir}/man3/boolean.3pm* -#%{perl_vendorlib}/boolean/ %{perl_vendorlib}/boolean.pm %changelog +* Sat Apr 28 2012 Denis Fateyev - 0.28-1 +- Update to version 0.28 + * Fri Dec 11 2009 Christoph Maser - 0.20-1 - Initial package. (using DAR)