111 lines
3.5 KiB
RPMSpec
111 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package perl-Spoon
|
|
#
|
|
# 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 Spoon
|
|
Name: perl-Spoon
|
|
Version: 0.240.0
|
|
Release: 0
|
|
# 0.24 -> normalize -> 0.240.0
|
|
%define cpan_version 0.24
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Spiffy Application Building Framework
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
Patch0: noprovides.diff
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-IO-All >= 0.32
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Spiffy) >= 0.22
|
|
BuildRequires: perl(Template) >= 2.10
|
|
BuildRequires: perl(URI)
|
|
Requires: perl-IO-All >= 0.32
|
|
Requires: perl(Spiffy) >= 0.22
|
|
Requires: perl(Template) >= 2.10
|
|
Requires: perl(URI)
|
|
Provides: perl(Spoon) = %{version}
|
|
Provides: perl(Spoon::Base)
|
|
Provides: perl(Spoon::CGI)
|
|
Provides: perl(Spoon::Command)
|
|
Provides: perl(Spoon::Config)
|
|
Provides: perl(Spoon::ContentObject)
|
|
Provides: perl(Spoon::Cookie)
|
|
Provides: perl(Spoon::DataObject)
|
|
Provides: perl(Spoon::Formatter)
|
|
Provides: perl(Spoon::Formatter::Block)
|
|
Provides: perl(Spoon::Formatter::Container)
|
|
Provides: perl(Spoon::Formatter::Phrase)
|
|
Provides: perl(Spoon::Formatter::Unit)
|
|
Provides: perl(Spoon::Formatter::Wafl)
|
|
Provides: perl(Spoon::Formatter::WaflBlock)
|
|
Provides: perl(Spoon::Formatter::WaflPhrase)
|
|
Provides: perl(Spoon::Headers)
|
|
Provides: perl(Spoon::Hook)
|
|
Provides: perl(Spoon::Hooked)
|
|
Provides: perl(Spoon::Hooks)
|
|
Provides: perl(Spoon::Hub)
|
|
Provides: perl(Spoon::IndexList)
|
|
Provides: perl(Spoon::Installer)
|
|
Provides: perl(Spoon::Lookup)
|
|
Provides: perl(Spoon::MetadataObject)
|
|
Provides: perl(Spoon::Plugin)
|
|
Provides: perl(Spoon::Registry)
|
|
Provides: perl(Spoon::Template)
|
|
Provides: perl(Spoon::Template::TT2)
|
|
Provides: perl(Spoon::Trace)
|
|
Provides: perl(Spoon::Utils)
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: perl(CGI)
|
|
Requires: perl(CGI)
|
|
# MANUAL END
|
|
|
|
%description
|
|
Spoon is an Application Framework that is designed primarily for building
|
|
Social Software web applications. The Kwiki wiki software is built on top
|
|
of Spoon.
|
|
|
|
Spoon::Base is the primary base class for all the Spoon::* modules.
|
|
Spoon.pm inherits from Spiffy.pm.
|
|
|
|
Spoon is not an application in and of itself. (As compared to Kwiki) You
|
|
need to build your own applications from it.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
%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
|