forked from pool/perl-XML-SemanticDiff
73 lines
2.3 KiB
RPMSpec
73 lines
2.3 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
#
|
|
# spec file for package perl-XML-SemanticDiff
|
|
#
|
|
# Copyright (c) 2011 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-SemanticDiff
|
|
Version: 1.0000
|
|
Release: 0
|
|
Summary: Perl extension for comparing XML documents
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-SemanticDiff-%{version}.tar.gz
|
|
Url: http://search.cpan.org/dist/XML-SemanticDiff/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Digest::MD5)
|
|
BuildRequires: perl(Encode)
|
|
BuildRequires: perl(Module::Build) >= 0.34
|
|
BuildRequires: perl(XML::Parser)
|
|
Requires: perl(Digest::MD5)
|
|
Requires: perl(XML::Parser)
|
|
Requires: perl(Encode)
|
|
|
|
%description
|
|
XML::SematicDiff provides a way to compare the contents and structure of two
|
|
XML documents. By default, it returns a list of hashrefs where each hashref
|
|
describes a single difference between the two docs.
|
|
|
|
%prep
|
|
%setup -q -n "XML-SemanticDiff-%{version}"
|
|
|
|
%build
|
|
%__perl ./Build.PL
|
|
./Build
|
|
|
|
%install
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/XML
|
|
%{perl_vendorlib}/XML/SemanticDiff.pm
|
|
%{perl_vendorlib}/XML/SemanticDiff
|
|
%dir %{perl_vendorarch}/auto/XML
|
|
%{perl_vendorarch}/auto/XML/SemanticDiff
|
|
%doc %{perl_man3dir}/XML::SemanticDiff.%{perl_man3ext}%{ext_man}
|
|
%doc %{perl_man3dir}/XML::SemanticDiff::*.%{perl_man3ext}%{ext_man}
|
|
|
|
%changelog
|