1 %include /usr/lib/rpm/macros.perl
3 %define pnam Handler-YAWriter
4 Summary: XML::Handler::YAWriter perl module
5 Summary(pl): Modu³ perla XML::Handler::YAWriter
6 Name: perl-XML-Handler-YAWriter
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: perl >= 5.6
13 BuildRequires: perl(IO::File) >= 1.06
14 BuildRequires: perl-libxml >= 0.06
15 BuildRequires: rpm-perlprov >= 3.0.3-16
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 YAWriter implements Yet Another XML::Handler::Writer. The reasons for
21 this one are that I needed a flexible escaping technique, and want
22 some kind of pretty printing.
25 YAWriter to jeszcze jedna implementacja (Yet Another)
26 XML::Handler::Writer. Powsta³a dlatego, ¿e autor potrzebowa³
27 elastycznej techniki cytowania i chcia³ pewnego rodzaju ³adnego
31 %setup -q -n %{pdir}-%{pnam}-%{version}
38 rm -rf $RPM_BUILD_ROOT
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*
49 %{perl_sitelib}/XML/Handler/*