SPECS: perl-HTML-Widget.spec (NEW) - initial revision

migo migo at pld-linux.org
Sat Apr 8 18:33:49 CEST 2006


Author: migo                         Date: Sat Apr  8 16:33:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   perl-HTML-Widget.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-HTML-Widget.spec
diff -u /dev/null SPECS/perl-HTML-Widget.spec:1.1
--- /dev/null	Sat Apr  8 18:33:49 2006
+++ SPECS/perl-HTML-Widget.spec	Sat Apr  8 18:33:43 2006
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	HTML
+%define	pnam	Widget
+Summary:	HTML::Widget - HTML Widget And Validation Framework
+#Summary(pl):	
+Name:		perl-HTML-Widget
+Version:	1.06
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/C/CF/CFRANKS/HTML-Widget-1.06.tar.gz
+# Source0-md5:	ee62b38523b15b7c180c37cb8256dd59
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Class-Accessor
+BuildRequires:	perl-Class-Accessor-Chained
+BuildRequires:	perl-Date-Calc
+BuildRequires:	perl-Email-Valid
+BuildRequires:	perl-HTML-Tree
+BuildRequires:	perl-HTML-Scrubber
+BuildRequires:	perl-Module-Pluggable-Fast
+BuildRequires:	perl-Test-NoWarnings
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Create easy to maintain HTML widgets!
+
+Everything is optional, use validation only or just generate forms,
+you can embed and merge them later.
+
+The API was designed similar to other popular modules like
+Data::FormValidator and FormValidator::Simple,
+HTML::FillInForm is also built in (and much faster).
+
+This Module is very powerful, don't misuse it as a template system!
+
+# %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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/HTML/*.pm
+%{perl_vendorlib}/HTML/Widget
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/08 16:33:43  migo
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list