forked from pool/perl-XML-SimpleObject-LibXML
59 lines
1.5 KiB
RPMSpec
59 lines
1.5 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-XML-SimpleObject-LibXML (Version 0.60)
|
||
|
#
|
||
|
# Copyright (c) 2007 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://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: perl-XML-SimpleObject-LibXML
|
||
|
Summary: Perl extension allowing a simple(r) object representation of an XML::LibXML DOM object.
|
||
|
Version: 0.60
|
||
|
Release: 1
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
BuildRequires: perl >= %{perl_version}
|
||
|
Requires: perl >= %{perl_version}
|
||
|
URL: http://www.cpan.org/modules/by-module/XML/
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
This is a short and simple class allowing simple object access to a
|
||
|
parsed XML::LibXML tree, with methods for fetching children and
|
||
|
attributes in as clean a manner as possible.
|
||
|
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -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 MANIFEST
|
||
|
%doc %{_mandir}/man3/XML::SimpleObject::LibXML*.gz
|
||
|
%{perl_vendorarch}/auto/XML/SimpleObject/LibXML*
|
||
|
%{perl_vendorarch}/auto/XML
|
||
|
%{perl_vendorlib}/XML/SimpleObject/LibXML*
|
||
|
%{perl_vendorlib}/XML
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
* Fri Feb 23 2007 - tpatzig@suse.de
|
||
|
- initial package build
|