- updated to 0.17 see /usr/share/doc/packages/perl-File-Object/Changes 0.17 2022-12-16T11:23:38+01:00 - Add DESCRIPTION section to doc. - Add Path::Tiny to SEE ALSO section in doc. - Fix new() doc. - Improve doc for up() method. 0.16 2022-12-16T09:02:39+01:00 - Fix minimal dependencies for Error::Pure and Class::Utils (because of List::MoreUtils) - Improve LICENSE AND COPYRIGHT section in doc. - Rename example files to better name. OBS-URL: https://build.opensuse.org/request/show/1061342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Object?expand=0&rev=7
64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-File-Object
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name File-Object
|
|
Name: perl-File-Object
|
|
Version: 0.17
|
|
Release: 0
|
|
License: BSD-3-Clause
|
|
Summary: Object system for filesystem paths
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Class::Utils) >= 0.14
|
|
BuildRequires: perl(Error::Pure) >= 0.3
|
|
BuildRequires: perl(Error::Pure::Utils) >= 0.16
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
Requires: perl(Class::Utils) >= 0.14
|
|
Requires: perl(Error::Pure) >= 0.3
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This provides an object oriented interface to file/directory paths, such as
|
|
actual, parent or explicit directory and relative paths to them.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes examples README
|
|
%license LICENSE
|
|
|
|
%changelog
|