70 lines
2.3 KiB
RPMSpec
70 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-MooseX-MetaDescription
|
|
#
|
|
# Copyright (c) 2024 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 MooseX-MetaDescription
|
|
Name: perl-MooseX-MetaDescription
|
|
Version: 0.60.0
|
|
Release: 0
|
|
# 0.06 -> normalize -> 0.60.0
|
|
%define cpan_version 0.06
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Framework for adding additional metadata to Moose classes
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
|
BuildRequires: perl(Moose) >= 0.4
|
|
BuildRequires: perl(Test::Exception)
|
|
Requires: perl(Moose) >= 0.4
|
|
Provides: perl(MooseX::MetaDescription) = %{version}
|
|
Provides: perl(MooseX::MetaDescription::Description) = %{version}
|
|
Provides: perl(MooseX::MetaDescription::Meta::Attribute) = %{version}
|
|
Provides: perl(MooseX::MetaDescription::Meta::Class) = %{version}
|
|
Provides: perl(MooseX::MetaDescription::Meta::Trait) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
MooseX::MetaDescription allows you to add arbitrary out of band metadata to
|
|
your Moose classes and attributes. This will allow you to track out of band
|
|
data along with attributes, which is very useful for say serializing Moose
|
|
classes in HTML or XML.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_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 README
|
|
|
|
%changelog
|