4285520
Name:           perl-XML-Tidy
20a4d80
Version:        1.16
55242b9
Release:        2%{?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
4285520
4285520
BuildArch:      noarch
08683d8
BuildRequires:  coreutils
08683d8
BuildRequires:  glibc-common
08683d8
BuildRequires:  findutils
08683d8
BuildRequires:  make
08683d8
BuildRequires:  perl
dfbf2db
BuildRequires:  perl-generators
4285520
BuildRequires:  perl(ExtUtils::MakeMaker)
08683d8
# Run-time:
08683d8
BuildRequires:  perl(base)
08683d8
BuildRequires:  perl(Carp)
08683d8
BuildRequires:  perl(Exporter)
4285520
BuildRequires:  perl(Math::BaseCnv)
08683d8
BuildRequires:  perl(strict)
08683d8
BuildRequires:  perl(vars)
08683d8
BuildRequires:  perl(XML::XPath)
4285520
BuildRequires:  perl(XML::XPath::XMLParser)
08683d8
# Tests:
08683d8
BuildRequires:  perl(Test)
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
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
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
%files
4285520
%doc README
4285520
%{_bindir}/xmltidy
4285520
%{perl_vendorlib}/*
4285520
%{_mandir}/man3/XML::Tidy.3pm.gz
4285520
4285520
4285520
%changelog
55242b9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
55242b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
55242b9
20a4d80
* Wed Jun 22 2016 Xavier Bachelot <xavier@bachelot.org> - 1.16-1
20a4d80
- Update to 1.16.
20a4d80
- Remove now unneeded patches.
20a4d80
- Clean up spec file.
20a4d80
3291a4e
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.12.B55J2qn-17
3291a4e
- Perl 5.24 rebuild
3291a4e
6cec842
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.B55J2qn-16
6cec842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6cec842
08683d8
* Wed Oct 14 2015 Petr Pisar <ppisar@redhat.com> - 1.12.B55J2qn-15
08683d8
- Specify all dependencies
08683d8
40b2e52
* Fri Sep 04 2015 Petr Pisar <ppisar@redhat.com> - 1.12.B55J2qn-14
40b2e52
- Fix XML::Tidy version (bug #1259386)
40b2e52
762e9ce
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-13
762e9ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
762e9ce
9901fdd
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.12.B55J2qn-12
9901fdd
- Perl 5.22 rebuild
9901fdd
dfc5a12
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.12.B55J2qn-11
dfc5a12
- Perl 5.20 rebuild
dfc5a12
a3f3842
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.B55J2qn-10
a3f3842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a3f3842
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.