Files
perl-Kwiki/perl-Kwiki.spec
2025-08-12 18:14:57 +02:00

143 lines
5.2 KiB
RPMSpec

#
# spec file for package perl-Kwiki
#
# Copyright (c) 2025 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 Kwiki
Name: perl-Kwiki
Version: 0.390.0
Release: 0
# 0.39 -> normalize -> 0.390.0
%define cpan_version 0.39
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Kwiki Wiki 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
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Spoon) >= 0.220
Requires: perl(Spoon) >= 0.220
Provides: perl(Kwiki) = %{version}
Provides: perl(Kwiki::Archive)
Provides: perl(Kwiki::Base)
Provides: perl(Kwiki::BrowserDetect)
Provides: perl(Kwiki::CGI)
Provides: perl(Kwiki::CSS)
Provides: perl(Kwiki::Command)
Provides: perl(Kwiki::Config)
Provides: perl(Kwiki::ContentObject)
Provides: perl(Kwiki::Cookie)
Provides: perl(Kwiki::Display)
Provides: perl(Kwiki::Edit)
Provides: perl(Kwiki::Edit::CGI)
Provides: perl(Kwiki::Files)
Provides: perl(Kwiki::Formatter)
Provides: perl(Kwiki::Formatter::Asis)
Provides: perl(Kwiki::Formatter::Comment)
Provides: perl(Kwiki::Formatter::Delete)
Provides: perl(Kwiki::Formatter::Emphasize)
Provides: perl(Kwiki::Formatter::ForcedLink)
Provides: perl(Kwiki::Formatter::Heading)
Provides: perl(Kwiki::Formatter::HyperLink)
Provides: perl(Kwiki::Formatter::Inline)
Provides: perl(Kwiki::Formatter::Item)
Provides: perl(Kwiki::Formatter::Line)
Provides: perl(Kwiki::Formatter::List)
Provides: perl(Kwiki::Formatter::MDash)
Provides: perl(Kwiki::Formatter::MailLink)
Provides: perl(Kwiki::Formatter::NDash)
Provides: perl(Kwiki::Formatter::Olist)
Provides: perl(Kwiki::Formatter::Paragraph)
Provides: perl(Kwiki::Formatter::Preformatted)
Provides: perl(Kwiki::Formatter::Strong)
Provides: perl(Kwiki::Formatter::Table)
Provides: perl(Kwiki::Formatter::TableCell)
Provides: perl(Kwiki::Formatter::TableRow)
Provides: perl(Kwiki::Formatter::TitledHyperLink)
Provides: perl(Kwiki::Formatter::TitledMailLink)
Provides: perl(Kwiki::Formatter::TitledWikiLink)
Provides: perl(Kwiki::Formatter::Top)
Provides: perl(Kwiki::Formatter::Ulist)
Provides: perl(Kwiki::Formatter::Underline)
Provides: perl(Kwiki::Formatter::WikiLink)
Provides: perl(Kwiki::Hub)
Provides: perl(Kwiki::Icons)
Provides: perl(Kwiki::Installer)
Provides: perl(Kwiki::Javascript)
Provides: perl(Kwiki::Page)
Provides: perl(Kwiki::PageMeta)
Provides: perl(Kwiki::Pages)
Provides: perl(Kwiki::Pane)
Provides: perl(Kwiki::Plugin)
Provides: perl(Kwiki::Preference)
Provides: perl(Kwiki::Preferences)
Provides: perl(Kwiki::Registry)
Provides: perl(Kwiki::Status)
Provides: perl(Kwiki::Template)
Provides: perl(Kwiki::Template::TT2)
Provides: perl(Kwiki::Theme)
Provides: perl(Kwiki::Theme::Basic)
Provides: perl(Kwiki::Toolbar)
Provides: perl(Kwiki::User)
Provides: perl(Kwiki::Users)
Provides: perl(Kwiki::WebFile)
Provides: perl(Kwiki::Widgets)
#Provides: perl(My::Formatter)
#Provides: perl(TestChunks)
%undefine __perllib_provides
%{perl_requires}
%description
A Wiki is a website that allows its users to add pages, and edit any
existing pages. It is one of the most popular forms of web collaboration.
If you are new to wiki, visit http://c2.com/cgi/wiki?WelcomeVisitors which
is possibly the oldest wiki, and has lots of information about how wikis
work.
Kwiki is a Perl wiki implementation based on the Spoon application
architecture and using the Spiffy object orientation model. The major goals
of Kwiki are that it be easy to install, maintain and extend.
All the features of a Kwiki wiki come from plugin modules. The base
installation comes with the bare minimum plugins to make a working Kwiki.
To make a really nice Kwiki installation you need to install additional
plugins. Which plugins you pick is entirely up to you. Another goal of
Kwiki is that every installation will be unique. When there are hundreds of
plugins available, this will hopefully be the case.
%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 kwiki README
%changelog