3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: XML::XQL - query XML tree structures with XQL
9 Summary(pl.UTF-8): XML::XQL - odpytywanie struktur drzewiastych XML-a przy użyciu XQL-a
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: bb84096fdf8bcc96a35971539ce8c19e
18 URL: http://search.cpan.org/dist/XML-XQL/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Date-Manip >= 5.33
23 BuildRequires: perl-Parse-Yapp
24 BuildRequires: perl-XML-DOM >= 1.29
25 BuildRequires: perl-XML-Parser >= 2.30
27 Obsoletes: perl-libxml-enno
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This is a Perl extension that allows you to perform XQL queries on XML
33 object trees. Currently only the XML::DOM module is supported, but
34 other implementations, like XML::Grove, may soon follow.
36 %description -l pl.UTF-8
37 Jest to rozszerzenie Perla pozwalające na wykonywanie zapytań XQL na
38 drzewach obiektów XML. Aktualnie obsługiwany jest tylko moduł
39 XML::DOM, ale może wkrótce będą inne implementacje, takie jak
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{perl_vendorlib}/XML/XQL.pm
65 %dir %{perl_vendorlib}/XML/XQL
66 %{perl_vendorlib}/XML/XQL/*.pm
68 %attr(755,root,root) %{_bindir}/*