Author: glen                         Date: Tue Jan 15 19:15:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/perl-HTML-Menu-Select.spec
diff -u /dev/null SPECS/perl-HTML-Menu-Select.spec:1.1
--- /dev/null   Tue Jan 15 20:15:44 2008
+++ SPECS/perl-HTML-Menu-Select.spec    Tue Jan 15 20:15:39 2008
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+# TODO
+# - Apache::Util::escape_html can't be used as it uses the xs symbol from 
apache module libperl.so
+#   see apache1-mod_perl.spec.
+#
+# Conditional build:
+%bcond_without autodeps        # don't BR packages needed only for resolving 
deps
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    HTML
+%define        pnam    Menu-Select
+Summary:       HTML::Menu::Select - Create HTML for select menus to simplify 
your templates.
+Name:          perl-HTML-Menu-Select
+Version:       1.01
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7f465d6959e3ff0a647bd939c3ec7b96
+URL:           http://search.cpan.org/dist/HTML-Menu-Select/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires: perl(CGI::Simple)
+BuildRequires: perl(Test::Pod::Coverage)
+#BuildRequires:        perl(Apache::Util)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This modules creates HTML for form select items.
+
+This module allows you to quickly prototype a page, allowing the CGI 
+to completely generate the HTML, while allowing you at a later stage 
+to easily change how much HTML it generates.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+# see note at start of spec
+mv t/escapeHTML-Apache-Util.{t,invalid}
+
+%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 README
+%{_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  2008-01-15 19:15:39  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to