|
|
4c70f1 |
Name: perl-XML-Handler-YAWriter
|
|
|
4c70f1 |
Version: 0.23
|
|
|
4c70f1 |
Release: 17%{?dist}
|
|
|
4c70f1 |
|
|
|
4c70f1 |
Summary: Yet another Perl SAX XML Writer
|
|
|
4c70f1 |
|
|
|
4c70f1 |
Group: Development/Libraries
|
|
|
4c70f1 |
License: GPL+
|
|
|
4c70f1 |
URL: http://search.cpan.org/dist/XML-Handler-YAWriter/
|
|
|
4c70f1 |
Source0: http://search.cpan.org/CPAN/authors/id/K/KR/KRAEHE/XML-Handler-YAWriter-%{version}.tar.gz
|
|
|
4c70f1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4c70f1 |
Patch0: perl-XML-Handler-YAWriter-0.23-fix-POD-encoding.patch
|
|
|
4c70f1 |
|
|
|
4c70f1 |
BuildArch: noarch
|
|
|
4c70f1 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
4c70f1 |
BuildRequires: perl(IO::File) >= 1.06
|
|
|
4c70f1 |
BuildRequires: perl(XML::Parser::PerlSAX) >= 0.06
|
|
|
4c70f1 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
4c70f1 |
Requires: perl(IO::File) >= 1.06
|
|
|
4c70f1 |
Requires: perl(XML::Parser::PerlSAX) >= 0.06
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%description
|
|
|
4c70f1 |
YAWriter implements Yet Another XML::Handler::Writer.
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%prep
|
|
|
4c70f1 |
%setup -q -n XML-Handler-YAWriter-%{version}
|
|
|
4c70f1 |
for i in YAWriter.pm README; do {
|
|
|
4c70f1 |
iconv -f iso8859-1 -t utf-8 $i > $i.conv && mv -f $i.conv $i;
|
|
|
4c70f1 |
};
|
|
|
4c70f1 |
done;
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%patch0 -p1
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%build
|
|
|
4c70f1 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
4c70f1 |
make %{?_smp_mflags}
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%install
|
|
|
4c70f1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4c70f1 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
4c70f1 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
4c70f1 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
4c70f1 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%check
|
|
|
4c70f1 |
make test
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%clean
|
|
|
4c70f1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%files
|
|
|
4c70f1 |
%defattr(-,root,root,-)
|
|
|
4c70f1 |
%doc Changes README
|
|
|
4c70f1 |
%{_bindir}/xmlpretty
|
|
|
4c70f1 |
%{perl_vendorlib}/*
|
|
|
4c70f1 |
%{_mandir}/man1/xmlpretty.1.gz
|
|
|
4c70f1 |
%{_mandir}/man3/XML::Handler::YAWriter.3pm.gz
|
|
|
4c70f1 |
|
|
|
4c70f1 |
|
|
|
4c70f1 |
%changelog
|
|
|
4c70f1 |
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-17
|
|
|
4c70f1 |
- Update dependencies
|
|
|
4c70f1 |
- Patch YAWriter.pm to declare correct POD encoding
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Tue Oct 30 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-16
|
|
|
4c70f1 |
- Add BR perl(IO::File)
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-15
|
|
|
4c70f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Mon Jun 18 2012 Petr Pisar <ppisar@redhat.com> - 0.23-14
|
|
|
4c70f1 |
- Perl 5.16 rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-13
|
|
|
4c70f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.23-12
|
|
|
4c70f1 |
- Perl mass rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-11
|
|
|
4c70f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-10
|
|
|
4c70f1 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-9
|
|
|
4c70f1 |
- Mass rebuild with perl-5.12.0
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.23-8
|
|
|
4c70f1 |
- rebuild against perl 5.10.1
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-7
|
|
|
4c70f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-6
|
|
|
4c70f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.23-5
|
|
|
4c70f1 |
Rebuild for new perl
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Sat Jan 12 2008 Xavier Bachelot <xavier@bachelot.org> - 0.23-4
|
|
|
4c70f1 |
- Remove '|| :' from %%check section.
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Thu Dec 27 2007 Xavier Bachelot <xavier@bachelot.org> - 0.23-3
|
|
|
4c70f1 |
- Fix License:.
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Sat Dec 22 2007 Xavier Bachelot <xavier@bachelot.org> - 0.23-2
|
|
|
4c70f1 |
- Clean up spec.
|
|
|
4c70f1 |
|
|
|
4c70f1 |
* Tue May 23 2006 Xavier Bachelot <xavier@bachelot.org> - 0.23-1
|
|
|
4c70f1 |
- Initial build.
|