Author: radek Date: Sun Jan 11 12:36:02 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new; tests off due to DBD::SQLite2 requirement
---- Files affected: SPECS: perl-CatalystX-ListFramework.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-CatalystX-ListFramework.spec diff -u /dev/null SPECS/perl-CatalystX-ListFramework.spec:1.1 --- /dev/null Sun Jan 11 13:36:02 2009 +++ SPECS/perl-CatalystX-ListFramework.spec Sun Jan 11 13:35:57 2009 @@ -0,0 +1,80 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir CatalystX +%define pnam ListFramework +Summary: CatalystX::ListFramework - foundations for displaying and editing lists (CRUD) in a Catalyst application +#Summary(pl.UTF-8): +Name: perl-CatalystX-ListFramework +Version: 0.5 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/CatalystX/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: e9a93c059a250e8c4865c59cd8a63693 +URL: http://search.cpan.org/dist/CatalystX-ListFramework/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl(Catalyst::View::JSON) +BuildRequires: perl(DBD::SQLite2) +BuildRequires: perl(HTML::Widget) +BuildRequires: perl(Test::WWW::Mechanize::Catalyst) +BuildRequires: perl-Catalyst +BuildRequires: perl-Catalyst-Plugin-HTML-Widget +BuildRequires: perl-Catalyst-Plugin-StackTrace +BuildRequires: perl-Test-use-ok +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Displaying tabulated lists of database records, updating those records and +creating new ones is a common task in Catalyst applications. +This class supplies such lists, and forms to edit such records, to a set of +templates, using simple definition files and your DBIx::Class Catalyst +model. A search form is also supplied, which can include JSON-powered +ExtJS comboboxes (see http://www.extjs.com/). + +# %description -l pl.UTF-8 +# 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} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes TODO +%{perl_vendorlib}/CatalystX/*.pm +%{perl_vendorlib}/CatalystX/ListFramework +%{_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 2009/01/11 12:35:57 radek +- new; tests off due to DBD::SQLite2 requirement + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
