Author: glen Date: Mon Apr 23 19:44:20 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: wwwis.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/wwwis.spec diff -u /dev/null SPECS/wwwis.spec:1.1 --- /dev/null Mon Apr 23 21:44:20 2007 +++ SPECS/wwwis.spec Mon Apr 23 21:44:12 2007 @@ -0,0 +1,49 @@ +# $Revision$, $Date$ +%include /usr/lib/rpm/macros.perl +Summary: Adds height= and width= to images referenced in specified HTML file +Name: wwwis +Version: 2.44 +Release: 1 +License: GPL v2+ +Group: Development/Languages/Perl +Source0: http://wtwf.com/%{name}/wwwis +# Source0-md5: 469c5247cd30dd23466d5ecab8026a82 +URL: http://wtwf.com/wwwis/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: sed >= 4.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +WWWis is a Perl application which will read in an HTML file and insert +height=### width=### directives into the inlined images used in the +file. It also does a whole lot more to boot. + +%prep +%setup -qcT +install %{SOURCE0} . +sed -i -e '1,/bin\/perl/d' wwwis +sed -i -e '1i#!/usr/bin/perl -w' wwwis + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install wwwis $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/wwwis + +%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 2007/04/23 19:44:12 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
