3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: XML::XSH - an XML editing shell
9 Summary(pl.UTF-8): XML::XSH - powłoka do edycji XML-a
13 License: GPL v2 or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: c25f59c465f785347d0466d653d9893f
17 URL: http://search.cpan.org/dist/XML-XSH/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Parse-RecDescent >= 1.94
22 BuildRequires: perl-XML-GDOME
23 BuildRequires: perl-XML-LibXML >= 1.54
24 BuildRequires: perl-XML-LibXML-XPathContext >= 0.04
25 BuildRequires: perl-XML-LibXSLT >= 1.53
26 BuildRequires: perl-XML-XUpdate-LibXML >= 0.4.0
28 Requires: perl-Parse-RecDescent >= 1.94
29 Requires: perl-XML-LibXML >= 1.54
30 Requires: perl-XML-LibXML-XPathContext >= 0.04
31 Requires: perl-XML-LibXSLT >= 1.53
32 Requires: perl-XML-XUpdate-LibXML >= 0.4.0
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 xsh is a powerful command-line XML (DOM) editing tool/programming
38 language in the manner of Unix shell interpreters and line-oriented
39 text editors like ed. It can be used either interactively or for
40 batch-mode XML processing.
42 %description -l pl.UTF-8
43 xsh to potężne działające z linii poleceń narzędzie do edycji XML-a
44 (DOM), a także język programowania w stylu uniksowych powłok oraz
45 liniowo zorientowanych edytorów w stylu eda. Może być używane
46 interaktywnie lub do wsadowego przetwarzania XML-a.
49 %setup -q -n %{pdir}-%{pnam}-%{version}
52 %{__perl} Makefile.PL \
56 %{?with_tests:%{__make} test}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc BUGS ChangeLog Changes NOTES README TODO
70 %attr(755,root,root) %{_bindir}/xsh
71 %{perl_vendorlib}/XML/XSH.pm
72 %{perl_vendorlib}/XML/XSH
73 %{perl_vendorlib}/Inline/XSH.pm