8
0
Files
perl-XML-LibXML/perl-XML-LibXML.spec

73 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# 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-SAX
Version: 1.70
Release: 2
Requires: perl = %{perl_version} perl-XML-SAX
Provides: perl-XML-LibXML-Common
Obsoletes: perl-XML-LibXML-Common
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