Author: mis Date: Fri Feb 22 12:19:44 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-HTML-Highlight.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-HTML-Highlight.spec diff -u /dev/null SPECS/perl-HTML-Highlight.spec:1.1 --- /dev/null Fri Feb 22 13:19:44 2008 +++ SPECS/perl-HTML-Highlight.spec Fri Feb 22 13:19:38 2008 @@ -0,0 +1,62 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir HTML +%define pnam Highlight +Summary: HTML::Highlight - highlight words or patterns in HTML documents +Name: perl-HTML-Highlight +Version: 0.20 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 85cfcff2d5880bdbe126a9a4fdc7b155 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module provides Google-like highlighting of words or patterns in +HTML documents. This feature is typically used to highlight search +results. + +%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 +%{perl_vendorlib}/%{pdir}/*.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 2008-02-22 12:19:38 mis +- new + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
