Author: arekm Date: Fri Aug 8 21:08:18 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-HTML-RewriteAttributes.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-HTML-RewriteAttributes.spec diff -u /dev/null SPECS/perl-HTML-RewriteAttributes.spec:1.1 --- /dev/null Fri Aug 8 23:08:18 2008 +++ SPECS/perl-HTML-RewriteAttributes.spec Fri Aug 8 23:08:13 2008 @@ -0,0 +1,60 @@ +# $Revision$, $Date$ +%include /usr/lib/rpm/macros.perl +%define pdir HTML +%define pnam RewriteAttributes +Summary: HTML::RewriteAttributes - concise attribute rewriting +Name: perl-HTML-RewriteAttributes +Version: 0.03 +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: 7580f6d63b171b318547d5ef4138ce34 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +HTML::RewriteAttributes is designed for simple yet powerful HTML +attribute rewriting. + +You simply specify a callback to run for each attribute and we do the +rest for you. + +This module is designed to be subclassable to make handling special +cases eaiser. See the source for methods you can override. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{perl_vendorlib}/%{pdir}/RewriteAttributes +%{perl_vendorlib}/%{pdir}/%{pnam}.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/08/08 21:08:13 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
