forked from pool/perl-XML-SimpleObject-LibXML
Copy from devel:languages:perl/perl-XML-SimpleObject-LibXML based on submit request 29265 from user coolo OBS-URL: https://build.opensuse.org/request/show/29265 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-SimpleObject-LibXML?expand=0&rev=5
65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-XML-SimpleObject-LibXML (Version 0.60)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# 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: 100
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic
|
|
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 %{?_smp_mflags}
|
|
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
|