]> git.pld-linux.org Git - packages/perl-XML-XSH.git/blob - perl-XML-XSH.spec
351fda633a79edda96c2c1997a528ec305c7b473
[packages/perl-XML-XSH.git] / perl-XML-XSH.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    XML
7 %define         pnam    XSH
8 Summary:        XML::XSH - an XML editing shell
9 Summary(pl.UTF-8):      XML::XSH - powłoka do edycji XML-a
10 Name:           perl-XML-XSH
11 Version:        1.8.2
12 Release:        1
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 %if %{with tests}
18 BuildRequires:  perl-Parse-RecDescent >= 1.94
19 BuildRequires:  perl-XML-GDOME
20 BuildRequires:  perl-XML-LibXML >= 1.54
21 BuildRequires:  perl-XML-LibXML-XPathContext >= 0.04
22 BuildRequires:  perl-XML-LibXSLT >= 1.53
23 BuildRequires:  perl-XML-XUpdate-LibXML >= 0.4.0
24 %endif
25 BuildRequires:  perl-devel >= 1:5.8.0
26 BuildRequires:  rpm-perlprov >= 4.1-13
27 Requires:       perl-Parse-RecDescent >= 1.94
28 Requires:       perl-XML-LibXML >= 1.54
29 Requires:       perl-XML-LibXML-XPathContext >= 0.04
30 Requires:       perl-XML-LibXSLT >= 1.53
31 Requires:       perl-XML-XUpdate-LibXML >= 0.4.0
32 BuildArch:      noarch
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 xsh is a powerful command-line XML (DOM) editing tool/programming
37 language in the manner of Unix shell interpreters and line-oriented
38 text editors like ed. It can be used either interactively or for
39 batch-mode XML processing.
40
41 %description -l pl.UTF-8
42 xsh to potężne działające z linii poleceń narzędzie do edycji XML-a
43 (DOM), a także język programowania w stylu uniksowych powłok oraz
44 liniowo zorientowanych edytorów w stylu eda. Może być używane
45 interaktywnie lub do wsadowego przetwarzania XML-a.
46
47 %prep
48 %setup -q -n %{pdir}-%{pnam}-%{version}
49
50 %build
51 %{__perl} Makefile.PL \
52         INSTALLDIRS=vendor
53 %{__make}
54
55 %{?with_tests:%{__make} test}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc BUGS ChangeLog Changes NOTES README TODO
69 %attr(755,root,root) %{_bindir}/xsh
70 %{perl_vendorlib}/XML/XSH.pm
71 %{perl_vendorlib}/XML/XSH
72 %{perl_vendorlib}/Inline/XSH.pm
73 %{_mandir}/man[13]/*
This page took 0.037952 seconds and 2 git commands to generate.