auto-import perl-XML-SAX-Writer-0.50-2 on branch devel from

perl-XML-SAX-Writer-0.50-2.src.rpm
This commit is contained in:
Andreas Thienemann 2007-03-22 12:05:52 +00:00
parent afb1fba387
commit e566d9ca23
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1 @@
XML-SAX-Writer-0.50.tar.gz

63
perl-XML-SAX-Writer.spec Normal file
View File

@ -0,0 +1,63 @@
Name: perl-XML-SAX-Writer
Version: 0.50
Release: 2%{?dist}
Summary: SAX2 Writer
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SAX-Writer/
Source0: http://www.cpan.org/modules/by-module/XML/XML-SAX-Writer-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Text::Iconv) >= 1.2
BuildRequires: perl(XML::Filter::BufferText) >= 1.00
BuildRequires: perl(XML::NamespaceSupport) >= 1.00
BuildRequires: perl(XML::SAX::Exception) >= 1.01
BuildRequires: /usr/bin/iconv
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
A new XML Writer to match the SAX2 effort.
%prep
%setup -q -n XML-SAX-Writer-%{version}
chmod 644 Changes README Writer.pm lib/XML/SAX/Writer/XML.pm
# Fix UTF-8
iconv -f ISO_8859-1 -t UTF-8 -o tmp.man Writer.pm &&
mv -f tmp.man Writer.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Mar 17 2007 Andreas Thienemann <andreas@bawue.net> 0.50-2
- Removed hardcoded Reqs in favour of autoreqs
- Better conversion to utf-8
* Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 0.50-1
- Specfile autogenerated by cpanspec 1.69.1.
- Cleaned up for FE

View File

@ -0,0 +1 @@
bf26550e84903ef36af0feb07d721d4e XML-SAX-Writer-0.50.tar.gz