8
0
Files
perl-XML-LibXML/perl-XML-LibXML.spec
OBS User autobuild fae86f8c20 Accepting request 29448 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-LibXML based on submit request 29448 from user anicka

OBS-URL: https://build.opensuse.org/request/show/29448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-LibXML?expand=0&rev=7
2010-01-14 15:36:07 +00:00

71 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-XML-LibXML (Version 1.70)
#
# 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/
#
# norootforbuild
Name: perl-XML-LibXML
BuildRequires: libxml2-devel perl-XML-LibXML-Common perl-XML-SAX
Version: 1.70
Release: 1
Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License ..
Url: http://www.cpan.org/modules/by-module/XML/
Summary: XML::LibXML Perl Module
Source: XML-LibXML-%{version}.tar.bz2
Patch: %{name}-utf16.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module implements a Perl interface to the GNOME libxml2 library.
The libxml2 library provides interfaces for parsing and manipulating
XML files. This module allows Perl programmers to make use of the
highly capable validating XML parser and the high performance DOM
implementation.
%prep
%setup -q -n XML-LibXML-%{version}
%patch
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes LICENSE README
%doc %{_mandir}/man3/*
%{perl_vendorarch}/XML
%{perl_vendorarch}/auto/XML
/var/adm/perl-modules/%{name}
%changelog