rpms/perl-HTML-PrettyPrinter/devel perl-HTML-PrettyPrinter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Wed Jan 9 20:51:23 UTC 2008


Author: xavierb

Update of /cvs/pkgs/rpms/perl-HTML-PrettyPrinter/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15539/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-HTML-PrettyPrinter.spec 
Log Message:
Initial import.



--- NEW FILE perl-HTML-PrettyPrinter.spec ---
Name:           perl-HTML-PrettyPrinter
Version:        0.03
Release:        2%{?dist}

Summary:        Generate nice HTML files from HTML syntax trees

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/
Source0:        http://search.cpan.org/CPAN/authors/id/C/CL/CLMS/HTML-PrettyPrinter-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(HTML::Entities)
BuildRequires:  perl(HTML::Element)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax
tree. It is especially useful if the produced HTML file shall be read or
edited manually afterwards. Various parameters let you adapt the output to
different styles and requirements.


%prep
%setup -q -n HTML-PrettyPrinter-%{version}
iconv -f iso8859-1 -t utf-8 PrettyPrinter.pm > PrettyPrinter.pm.conv \
&& mv -f PrettyPrinter.pm.conv PrettyPrinter.pm 


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*3pm.gz


%changelog
* Wed Jan 09 2008 Xavier Bachelot <xavier at bachelot.org> - 0.03-2
- Remove set -x and set +x from %%prep section.
- Remove '|| :' from %%check section.

* Fri Dec 21 2007 Xavier Bachelot <xavier at bachelot.org> - 0.03-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-PrettyPrinter/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jan 2008 18:20:50 -0000	1.1
+++ .cvsignore	9 Jan 2008 20:50:48 -0000	1.2
@@ -0,0 +1 @@
+HTML-PrettyPrinter-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-PrettyPrinter/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jan 2008 18:20:50 -0000	1.1
+++ sources	9 Jan 2008 20:50:48 -0000	1.2
@@ -0,0 +1 @@
+4d3f84ba4e35cb7fac863b828b7f2b68  HTML-PrettyPrinter-0.03.tar.gz




More information about the fedora-extras-commits mailing list