]> git.pld-linux.org Git - packages/perl-XML-XSH.git/blame - perl-XML-XSH.spec
use generic url
[packages/perl-XML-XSH.git] / perl-XML-XSH.spec
CommitLineData
c57aca2a
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
e6dea003 4
c5e6e7d7 5%define pdir XML
6%define pnam XSH
e6dea003 7%include /usr/lib/rpm/macros.perl
e609aa61 8Summary: XML::XSH - an XML editing shell
23af1636 9Summary(pl.UTF-8): XML::XSH - powłoka do edycji XML-a
c57aca2a
JB
10Name: perl-XML-XSH
11Version: 1.8.2
12Release: 1
13License: GPL v2 or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: c25f59c465f785347d0466d653d9893f
e6dea003
ER
17URL: http://search.cpan.org/dist/XML-XSH/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
c57aca2a
JB
20%if %{with tests}
21BuildRequires: perl-Parse-RecDescent >= 1.94
22BuildRequires: perl-XML-GDOME
23BuildRequires: perl-XML-LibXML >= 1.54
24BuildRequires: perl-XML-LibXML-XPathContext >= 0.04
25BuildRequires: perl-XML-LibXSLT >= 1.53
26BuildRequires: perl-XML-XUpdate-LibXML >= 0.4.0
27%endif
c57aca2a
JB
28Requires: perl-Parse-RecDescent >= 1.94
29Requires: perl-XML-LibXML >= 1.54
30Requires: perl-XML-LibXML-XPathContext >= 0.04
31Requires: perl-XML-LibXSLT >= 1.53
32Requires: perl-XML-XUpdate-LibXML >= 0.4.0
33BuildArch: noarch
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37xsh is a powerful command-line XML (DOM) editing tool/programming
38language in the manner of Unix shell interpreters and line-oriented
39text editors like ed. It can be used either interactively or for
40batch-mode XML processing.
41
19fd03cf
JR
42%description -l pl.UTF-8
43xsh 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
45liniowo zorientowanych edytorów w stylu eda. Może być używane
c57aca2a
JB
46interaktywnie lub do wsadowego przetwarzania XML-a.
47
48%prep
49%setup -q -n %{pdir}-%{pnam}-%{version}
50
51%build
52%{__perl} Makefile.PL \
53 INSTALLDIRS=vendor
c57aca2a
JB
54%{__make}
55
56%{?with_tests:%{__make} test}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
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
74%{_mandir}/man[13]/*
This page took 0.052328 seconds and 4 git commands to generate.