File perl-Class-XPath.spec of Package perl-Class-XPath
#
# spec file for package perl-Class-XPath (Version 1.4)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: perl-Class-XPath
BuildRequires: perl-HTML-Tree
Version: 1.4
Release: 1
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
URL: http://search.cpan.org/~samtregar/
Summary: adds xpath matching to object trees
Source: Class-XPath-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module adds XPath-style matching to your object trees. This means
that you can find nodes using an XPath-esque query with match() from
anywhere in the tree. Also, the xpath() method returns a unique path to
a given node which can be used as an identifier.
To use this module you must already have an OO implementation of a
tree. The tree must be a true tree - all nodes have a single parent and
the tree must have a single root node. Also, the order of children
within a node must be stable.
NOTE: This module is not yet a complete XPath implementation. Over time
I expect the subset of XPath supported to grow. See the SYNTAX
documentation for details on the current level of support.
Authors:
--------
sam@tregar.com
%prep
%setup -n Class-XPath-%{version} -q
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README Changes
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Class
%{perl_vendorlib}/Class
/var/adm/perl-modules/perl-Class-XPath
%changelog -n perl-Class-XPath
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 12 2005 - meissner@suse.de
- initial version 1.4.