4285520
Name:           perl-XML-Tidy
5b09d99
Version:        1.12.B55J2qn
f15d432
Release:        9%{?dist}
4285520
Summary:        Tidy indenting of XML documents
4285520
4285520
Group:          Development/Libraries
4285520
License:        GPLv2
4285520
URL:            http://search.cpan.org/dist/XML-Tidy
4285520
Source0:        http://search.cpan.org/CPAN/authors/id/P/PI/PIP/XML-Tidy-%{version}.tgz
9423581
# Define POD encoding, CPAN RT#85592
9423581
Patch0:         XML-Tidy-1.12.B55J2qn-Define-POD-encoding.patch
4285520
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4285520
4285520
BuildArch:      noarch
4285520
BuildRequires:  perl(ExtUtils::MakeMaker)
4285520
BuildRequires:  perl(Math::BaseCnv)
4285520
BuildRequires:  perl(XML::XPath::XMLParser)
e5b2061
BuildRequires:  perl(Test::Pod)
e5b2061
BuildRequires:  perl(Test::Pod::Coverage)
4285520
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4285520
4285520
4285520
%description
4285520
This module creates XML document objects (with inheritance from XML::XPath) to
4285520
tidy mixed-content (ie. non-data) text node indenting. There are also some
4285520
other handy member functions to compress && expand your XML document object
4285520
(into either a compact XML representation or a binary one).
4285520
4285520
4285520
%prep
4285520
%setup -q -n XML-Tidy-%{version}
9423581
%patch0 -p1
9423581
for i in README; do {
4285520
  iconv -f iso-8859-1 -t utf-8 $i > $i.conv \
4285520
  && mv $i.conv $i;
4285520
};
4285520
done;
4285520
4285520
4285520
%build
4285520
%{__perl} Makefile.PL INSTALLDIRS=vendor
4285520
make %{?_smp_mflags}
4285520
4285520
4285520
%install
4285520
rm -rf $RPM_BUILD_ROOT
4285520
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
4285520
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
4285520
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
4285520
chmod -R u+w $RPM_BUILD_ROOT/*
4285520
4285520
4285520
%check
4285520
make test
4285520
4285520
4285520
%clean
4285520
rm -rf $RPM_BUILD_ROOT
4285520
4285520
4285520
%files
4285520
%defattr(-,root,root,-)
4285520
%doc README
4285520
%{_bindir}/xmltidy
4285520
%{perl_vendorlib}/*
4285520
%{_mandir}/man3/XML::Tidy.3pm.gz
4285520
4285520
4285520
%changelog
f15d432
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-9
f15d432
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f15d432
5e2e528
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.12.B55J2qn-8
5e2e528
- Perl 5.18 rebuild
9423581
- Define POD encoding (CPAN RT#85592)
5e2e528
993bca4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-7
993bca4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
993bca4
842119d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-6
842119d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
842119d
681f1d7
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.12.B55J2qn-5
681f1d7
- Perl 5.16 rebuild
681f1d7
13362d1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-4
13362d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
13362d1
Petr Sabata b170b1d
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.12.B55J2qn-3
Petr Sabata b170b1d
- Perl mass rebuild
Petr Sabata b170b1d
Petr Sabata 86646c7
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.12.B55J2qn-2
Petr Sabata 86646c7
- Perl mass rebuild
Petr Sabata 86646c7
5b09d99
* Thu May 12 2011 Xavier Bachelot <xavier@bachelot.org> - 1.12.B55J2qn-1
5b09d99
- Update to 1.12.B55J2qn.
5b09d99
ca2bee7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.A7RJKwl-3
ca2bee7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ca2bee7
69fcf6c
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.6.A7RJKwl-2
69fcf6c
- 661697 rebuild for fixing problems with vendorach/lib
69fcf6c
e5b2061
* Fri Dec 17 2010 Xavier Bachelot <xavier@bachelot.org> - 1.6.A7RJKwl-1
e5b2061
- Update to 1.6.A7RJKwl.
e5b2061
17cdca4
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.2.54HJnFa-8
17cdca4
- Mass rebuild with perl-5.12.0
17cdca4
d63e800
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.2.54HJnFa-7
d63e800
- rebuild against perl 5.10.1
d63e800
063387c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.54HJnFa-6
063387c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
063387c
c453c43
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.54HJnFa-5
c453c43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c453c43
c7fa3f6
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2.54HJnFa-4
c7fa3f6
- rebuild for new perl
c7fa3f6
4285520
* Wed Dec 26 2007 Xavier Bachelot <xavier@bachelot.org> - 1.2.54HJnFa-3
4285520
- Add missing BR:.
4285520
4285520
* Sat Dec 22 2007 Xavier Bachelot <xavier@bachelot.org> - 1.2.54HJnFa-2
4285520
- Clean up spec.
4285520
4285520
* Thu Aug 30 2007 Xavier Bachelot <xavier@bachelot.org> - 1.2.54HJnFa-1
4285520
- Initial build.