Author: migo Date: Thu Aug 17 19:31:53 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial release
---- Files affected: SPECS: perl-Lingua-EN-Inflect-Number.spec (NONE -> 1.1) (NEW), perl-DBIx-Class-Schema-Loader.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Lingua-EN-Inflect-Number.spec diff -u /dev/null SPECS/perl-Lingua-EN-Inflect-Number.spec:1.1 --- /dev/null Thu Aug 17 21:31:53 2006 +++ SPECS/perl-Lingua-EN-Inflect-Number.spec Thu Aug 17 21:31:47 2006 @@ -0,0 +1,69 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Lingua +%define pnam EN-Inflect-Number +Summary: Lingua::EN::Inflect::Number - Force number of words to singular or plural +#Summary(pl): +Name: perl-Lingua-EN-Inflect-Number +Version: 1.1 +Release: 1 +License: Unknown +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/S/SI/SIMON/Lingua-EN-Inflect-Number-1.1.tar.gz +# Source0-md5: bcee940ef603da93e7da11d8eecad409 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Lingua-EN-Inflect +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module extends the functionality of Lingua::EN::Inflect with three +new functions available for export: + +This takes a word, and determines its number. It returns s for singular, +p for plural, and ambig for words that can be either singular or plural. + +# %description -l pl +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/Lingua/EN/Inflect/*.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/08/17 19:31:47 migo +- initial release + ================================================================ Index: SPECS/perl-DBIx-Class-Schema-Loader.spec diff -u /dev/null SPECS/perl-DBIx-Class-Schema-Loader.spec:1.1 --- /dev/null Thu Aug 17 21:31:53 2006 +++ SPECS/perl-DBIx-Class-Schema-Loader.spec Thu Aug 17 21:31:47 2006 @@ -0,0 +1,83 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir DBIx +%define pnam Class-Schema-Loader +Summary: DBIx::Class::Schema::Loader - Dynamic definition of a DBIx::Class::Schema +#Summary(pl): +Name: perl-DBIx-Class-Schema-Loader +Version: 0.03007 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/B/BL/BLBLACK/DBIx-Class-Schema-Loader-0.03007.tar.gz +# Source0-md5: 1ade07990e2f9f364e586ac351108cfd +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Class-Accessor >= 0.22 +BuildRequires: perl-Class-Data-Accessor >= 0.02 +BuildRequires: perl-Data-Dump >= 1.06 +BuildRequires: perl-DBD-SQLite >= 1.12 +BuildRequires: perl-DBIx-Class >= 0.06003 +BuildRequires: perl-Lingua-EN-Inflect >= 1.89 +BuildRequires: perl-Lingua-EN-Inflect-Number >= 1.1 +BuildRequires: perl-UNIVERSAL-require >= 0.1 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DBIx::Class::Schema::Loader automates the definition of a +DBIx::Class::Schema by scanning database table definitions and +setting up the columns, primary keys, and relationships. + +DBIx::Class::Schema::Loader currently supports only the DBI storage type. +It has explicit support for DBD::Pg, DBD::mysql, DBD::DB2, and +DBD::SQLite. Other DBI drivers may function to a greater or lesser +degree with this loader, depending on how much of the DBI spec they +implement, and how standard their implementation is. Patches to make +other DBDs work correctly welcome. + +# %description -l pl +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/DBIx/Class/Schema/*.pm +%{perl_vendorlib}/DBIx/Class/Schema/Loader +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/08/17 19:31:47 migo +- initial release + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
