forked from pool/perl-XML-SimpleObject-LibXML
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-SimpleObject-LibXML?expand=0&rev=1
This commit is contained in:
58
perl-XML-SimpleObject-LibXML.spec
Normal file
58
perl-XML-SimpleObject-LibXML.spec
Normal file
@@ -0,0 +1,58 @@
|
||||
#
|
||||
# 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
|
Reference in New Issue
Block a user