Author: migo Date: Thu Aug 17 20:32:31 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial release
---- Files affected: SPECS: perl-Catalyst-Model-DBIC-Schema.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Catalyst-Model-DBIC-Schema.spec diff -u /dev/null SPECS/perl-Catalyst-Model-DBIC-Schema.spec:1.1 --- /dev/null Thu Aug 17 22:32:31 2006 +++ SPECS/perl-Catalyst-Model-DBIC-Schema.spec Thu Aug 17 22:32:25 2006 @@ -0,0 +1,78 @@ +# $Revision$, $Date$ +# +# TODO: Which package should Model/DBIC directory belong to? +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Catalyst +%define pnam Model-DBIC-Schema +Summary: Catalyst::Model::DBIC::Schema - DBIx::Class::Schema Model Class +#Summary(pl): +Name: perl-Catalyst-Model-DBIC-Schema +Version: 0.18 +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/Catalyst-Model-DBIC-Schema-%{version}.tar.gz +# Source0-md5: 13d76a2e833af762d4858cfc0c2565c5 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Catalyst >= 5.64 +BuildRequires: perl-Class-Accessor >= 0.22 +BuildRequires: perl-Class-Data-Accessor >= 0.02 +BuildRequires: perl-DBIx-Class >= 0.07 +BuildRequires: perl-UNIVERSAL-require >= 0.1 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a Catalyst Model for DBIx::Class::Schema-based Models. See +the documentation for Catalyst::Helper::Model::DBIC::Schema and +Catalyst::Helper::Model::DBIC::SchemaLoader for information +on generating these Models via Helper scripts. The latter of the two +will also generated a DBIx::Class::Schema::Loader-based Schema class +for you. + +# %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}/Catalyst/Model/DBIC/*.pm +%{perl_vendorlib}/Catalyst/Helper/Model/* +%{_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 20:32:25 migo +- initial release + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
