2011-05-03 06:16:23 +00:00
|
|
|
#
|
2015-04-16 06:05:52 +00:00
|
|
|
# spec file for package perl-Data-DPath
|
2011-05-03 06:16:23 +00:00
|
|
|
#
|
2017-03-23 06:50:51 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-05-03 06:16:23 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2015-04-16 06:05:52 +00:00
|
|
|
|
2011-05-03 06:16:23 +00:00
|
|
|
Name: perl-Data-DPath
|
2017-03-23 06:50:51 +00:00
|
|
|
Version: 0.56
|
2015-04-16 06:05:52 +00:00
|
|
|
Release: 0
|
2011-05-03 06:16:23 +00:00
|
|
|
%define cpan_name Data-DPath
|
2015-04-16 06:05:52 +00:00
|
|
|
Summary: DPath is not XPath!
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-05-03 06:16:23 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-16 06:05:52 +00:00
|
|
|
Url: http://search.cpan.org/dist/Data-DPath/
|
2017-03-23 06:50:51 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{version}.tar.gz
|
2015-04-16 06:05:52 +00:00
|
|
|
Source1: cpanspec.yml
|
2011-05-03 06:16:23 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-16 06:05:52 +00:00
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
2011-05-03 06:16:23 +00:00
|
|
|
BuildRequires: perl(Class::XSAccessor::Array)
|
|
|
|
BuildRequires: perl(Iterator::Util)
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
2015-04-16 06:05:52 +00:00
|
|
|
BuildRequires: perl(Safe) >= 2.30
|
2011-05-03 06:16:23 +00:00
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Text::Balanced) >= 2.02
|
2015-04-16 06:05:52 +00:00
|
|
|
BuildRequires: perl(aliased) >= 0.33
|
|
|
|
Requires: perl(Class::XSAccessor)
|
2011-05-03 06:16:23 +00:00
|
|
|
Requires: perl(Class::XSAccessor::Array)
|
|
|
|
Requires: perl(Iterator::Util)
|
|
|
|
Requires: perl(List::MoreUtils)
|
2015-04-16 06:05:52 +00:00
|
|
|
Requires: perl(Safe) >= 2.30
|
2011-05-03 06:16:23 +00:00
|
|
|
Requires: perl(Sub::Exporter)
|
|
|
|
Requires: perl(Text::Balanced) >= 2.02
|
2015-04-16 06:05:52 +00:00
|
|
|
Requires: perl(aliased) >= 0.33
|
2011-05-03 06:16:23 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2015-04-16 06:05:52 +00:00
|
|
|
DPath is not XPath!
|
2011-05-03 06:16:23 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2017-03-23 06:50:51 +00:00
|
|
|
%doc Changes README todo.org
|
|
|
|
%license LICENSE
|
2011-05-03 06:16:23 +00:00
|
|
|
|
|
|
|
%changelog
|