Author: iarnell
Update of /cvs/pkgs/rpms/perl-HTML-WikiConverter/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11636/devel
Modified Files: .cvsignore sources Added Files: perl-HTML-WikiConverter.spec Log Message: initial import
--- NEW FILE perl-HTML-WikiConverter.spec --- Name: perl-HTML-WikiConverter Version: 0.68 Release: 1%{?dist} Summary: Perl module to convert HTML to wiki markup License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-WikiConverter/ Source0: http://www.cpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-%%7Bversion%7... BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::Data::Inheritable) >= 0.02 BuildRequires: perl(CSS) >= 1.07 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::Element) BuildRequires: perl(HTML::Entities) >= 1.27 BuildRequires: perl(HTML::Tagset) >= 3.04 BuildRequires: perl(HTML::Tree) >= 3.18 BuildRequires: perl(Params::Validate) >= 0.77 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(URI) >= 1.35 BuildRequires: perl(URI::Escape) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description HTML::WikiConverter is an HTML to wiki converter. It can convert HTML source into a variety of wiki markups, called wiki "dialects".
This package contains the perl modules; install the "html2wiki" package for the application itself.
%package -n html2wiki Summary: Convert HTML to wiki markup Group: Applications/Publishing Requires: %{name} = %{version}-%{release}
%description -n html2wiki A command line tool to convert pages in HTML to Wiki markup. Various wiki dialects are supported.
%prep %setup -q -n HTML-WikiConverter-%{version} find webapp-install cgi/* -type f | xargs chmod 0644
%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 -depth -type d -exec rmdir {} 2>/dev/null ;
%{_fixperms} $RPM_BUILD_ROOT/*
%check make test
%clean rm -rf $RPM_BUILD_ROOT
%files %defattr(-,root,root,-) %doc Changes LICENSE README webapp-install cgi %{perl_vendorlib}/* %{_mandir}/man3/*
%files -n html2wiki %defattr(-,root,root,-) %{_bindir}/* %{_mandir}/man1/*
%changelog * Tue May 05 2009 Iain Arnell 0.68-1 - Specfile autogenerated by cpanspec 1.77. - Create sub-package for html2wiki
Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-WikiConverter/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 6 May 2009 21:11:45 -0000 1.1 +++ .cvsignore 7 May 2009 03:26:48 -0000 1.2 @@ -0,0 +1 @@ +HTML-WikiConverter-0.68.tar.gz
Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-WikiConverter/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 6 May 2009 21:11:45 -0000 1.1 +++ sources 7 May 2009 03:26:48 -0000 1.2 @@ -0,0 +1 @@ +e6d8b16c23b6f38c51d8585f3423aca9 HTML-WikiConverter-0.68.tar.gz