Name: perl-Text-CHM Version: 0.01 Release: 10%{?dist} Summary: Perl extension for handling MS Compiled HtmlHelp Files Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Text-CHM Source0: http://www.cpan.org/modules/by-module/Text/Text-CHM-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: chmlib-devel BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Text::CHM is a module that implements a (partial) support for handling MS Compiled HtmlHelp Files (chm files for short) via CHMLib. Text::CHM allows you to open chm files, get their filelist, get the content of each file and close them; at the moment, no write support is available. %prep %setup -q -n Text-CHM-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 f -name '*.bs' -a -size 0 -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 README Changes %{perl_vendorarch}/auto/* %{perl_vendorarch}/Text/ %{_mandir}/man3/Text::CHM.3* %changelog * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-9 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-8 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.01-7 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-4.1 Rebuild for new perl * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.01-3.1 - Autorebuild for GCC 4.3 * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-2.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Tue Sep 12 2006 Patrice Dumas <pertusus@free.fr> 0.01-2 - rebuild for FC6 * Sun Mar 12 2006 Patrice Dumas <pertusus@free.fr> 0.01-1 - Fedora Extras submission