72d24f4
Name:           perl-Kwiki
63647fe
Version:        0.39
0a15779
Release:        41%{?dist}
1f8f3a4
Summary:        Kwiki Wiki Building Framework
e5ca6eb
License:        GPL+ or Artistic
5fa8b72
URL:            https://metacpan.org/release/Kwiki
5fa8b72
Source0:        https://cpan.metacpan.org/authors/id/I/IN/INGY/Kwiki-%{version}.tar.gz
d0f7413
Patch0:         Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch
72d24f4
BuildArch:      noarch
Petr Šabata b50b411
# Build
7ed08af
BuildRequires:  perl-interpreter
95c21d9
BuildRequires:  perl-generators
Petr Šabata b50b411
BuildRequires:  perl(Config)
Petr Šabata b50b411
BuildRequires:  perl(Cwd)
Petr Šabata b50b411
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
Petr Šabata b50b411
BuildRequires:  perl(ExtUtils::MM_Unix)
Petr Šabata b50b411
BuildRequires:  perl(File::Basename)
Petr Šabata b50b411
BuildRequires:  perl(File::Find)
Petr Šabata b50b411
BuildRequires:  perl(File::Path)
Petr Šabata b50b411
BuildRequires:  perl(File::Spec)
Petr Šabata b50b411
BuildRequires:  perl(strict)
Petr Šabata b50b411
BuildRequires:  perl(vars)
Petr Šabata b50b411
# Runtime
Petr Šabata b50b411
BuildRequires:  perl(base)
Petr Šabata b50b411
# XXX: BuildRequires:  perl(CPAN)
Petr Šabata b50b411
BuildRequires:  perl(HTTP::BrowserDetect)
Petr Šabata b50b411
# This is actually Spiffy::mixin, the namespace is loaded via Spoon::Config
Petr Šabata b50b411
# XXX: BuildRequires:  perl(mixin)
Petr Šabata b50b411
BuildRequires:  perl(Spoon) >= 0.22
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Base)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::CGI)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Command)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Config)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::ContentObject)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Cookie)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Formatter)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Formatter::Block)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Formatter::Container)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Formatter::Phrase)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Formatter::Unit)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Hub)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Installer)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::MetadataObject)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Plugin)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Registry)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Template)
Petr Šabata b50b411
BuildRequires:  perl(Spoon::Template::TT2)
Petr Šabata b50b411
BuildRequires:  perl(warnings)
Petr Šabata b50b411
# Tests only
Petr Sabata c2c01ea
BuildRequires:  perl(IO::All)
Petr Šabata b50b411
BuildRequires:  perl(lib)
Petr Šabata b50b411
BuildRequires:  perl(Spiffy)
e5ca6eb
BuildRequires:  perl(Test::More)
Petr Šabata b50b411
# Optional tests only
e5ca6eb
BuildRequires:  perl(Test::Memory::Cycle)
Petr Šabata b50b411
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Petr Šabata b50b411
Requires:       perl(CPAN)
Petr Šabata b50b411
Requires:       perl(Cwd)
6151e31
Petr Šabata b50b411
# This is actually Spiffy::mixin; it's all rather obscure
Petr Sabata c2c01ea
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(mixin\\)$
82625a2
72d24f4
%description
72d24f4
A Wiki is a website that allows its users to add pages, and edit any
72d24f4
existing pages. It is one of the most popular forms of web collaboration.
72d24f4
If you are new to wiki, visit http://c2.com/cgi/wiki?WelcomeVisitors
72d24f4
which is possibly the oldest wiki, and has lots of information about how
72d24f4
wikis work.
72d24f4
72d24f4
Kwiki is a Perl wiki implementation based on the Spoon application
72d24f4
architecture and using the Spiffy object orientation model. The major goals
72d24f4
of Kwiki are that it be easy to install, maintain and extend.
72d24f4
72d24f4
All the features of a Kwiki wiki come from plugin modules. The base
72d24f4
installation comes with the bare minimum plugins to make a working Kwiki.
72d24f4
To make a really nice Kwiki installation you need to install additional
72d24f4
plugins. Which plugins you pick is entirely up to you. Another goal of
72d24f4
Kwiki is that every installation will be unique. When there are hundreds of
72d24f4
plugins available, this will hopefully be the case.
72d24f4
72d24f4
%prep
72d24f4
%setup -q -n Kwiki-%{version}
d0f7413
%patch0 -p1
72d24f4
72d24f4
%build
Petr Šabata b50b411
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
72d24f4
make %{?_smp_mflags}
72d24f4
72d24f4
%install
Petr Šabata b50b411
make pure_install DESTDIR=%{buildroot}
Petr Šabata b50b411
%{_fixperms} %{buildroot}/*
72d24f4
72d24f4
%check
72d24f4
make test
72d24f4
72d24f4
%files
1f8f3a4
%doc Changes README
72d24f4
%{perl_vendorlib}/*
72d24f4
%{_bindir}/*
72d24f4
%{_mandir}/man1/*
72d24f4
%{_mandir}/man3/*
72d24f4
72d24f4
%changelog
0a15779
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-41
0a15779
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0a15779
32f3ccd
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-40
32f3ccd
- Perl 5.32 rebuild
32f3ccd
4b11b9c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-39
4b11b9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4b11b9c
5062f66
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-38
5062f66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5062f66
c662670
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-37
c662670
- Perl 5.30 rebuild
c662670
80a1884
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-36
80a1884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
80a1884
6b3130e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-35
6b3130e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6b3130e
45952f3
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-34
45952f3
- Perl 5.28 rebuild
45952f3
ad1a5ae
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-33
ad1a5ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ad1a5ae
55a4b30
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-32
55a4b30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
55a4b30
d2c70cb
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-31
d2c70cb
- Perl 5.26 rebuild
d2c70cb
d0f7413
* Thu May 18 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-30
d0f7413
- Fix building on Perl without '.' in @INC
d0f7413
c1ecbca
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-29
c1ecbca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c1ecbca
d2a9c14
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-28
d2a9c14
- Perl 5.24 rebuild
d2a9c14
3f99330
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-27
3f99330
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3f99330
c456c43
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-26
c456c43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c456c43
a55eabb
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-25
a55eabb
- Perl 5.22 rebuild
a55eabb
Petr Šabata c144d2f
* Wed Apr 01 2015 Petr Šabata <contyk@redhat.com> - 0.39-24
Petr Šabata c144d2f
- Drop the erroneous dependency; CPAN::Config isn't a real package
Petr Šabata c144d2f
Petr Šabata b50b411
* Tue Mar 31 2015 Petr Šabata <contyk@redhat.com> - 0.39-23
Petr Šabata b50b411
- Modernize the spec and correct the dep list
Petr Šabata b50b411
1be6130
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-22
1be6130
- Perl 5.20 rebuild
1be6130
4a122e7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-21
4a122e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4a122e7
f930d86
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-20
f930d86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f930d86
f084bf4
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 0.39-19
f084bf4
- Perl 5.18 rebuild
f084bf4
a91c51b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-18
a91c51b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a91c51b
c62c55f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-17
c62c55f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c62c55f
b08a544
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.39-16
b08a544
- Perl 5.16 rebuild
b08a544
2bfdd4d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-15
2bfdd4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2bfdd4d
Petr Sabata c2c01ea
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.39-14
Petr Sabata c2c01ea
- RPM 4.9 dependency filtering added
Petr Sabata c2c01ea
- BuildRequire IO::All
Petr Sabata c2c01ea
Petr Sabata fe05133
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.39-13
Petr Sabata fe05133
- Perl mass rebuild
Petr Sabata fe05133
641b97b
* Wed Feb 16 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.39-12
641b97b
- Revert temporary hack "BR: perl-IO-All" (Not required anymore).
641b97b
6151e31
* Tue Feb 15 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.39-11
6151e31
- Switch to using perl-filters/Abandon filter-requires.sh
6151e31
  (Work around broken deps caused by rpm dep-tracker changes).
6151e31
- BR: perl-IO-All, to assure getting the right perl(IO::All)
6151e31
  (was bogusly provided by perl-Spoon-0.24-9).
6151e31
6014c0d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-10
6014c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6014c0d
1d21a3e
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.39-9
1d21a3e
- 661697 rebuild for fixing problems with vendorach/lib
1d21a3e
3d09d43
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.39-8
3d09d43
- Mass rebuild with perl-5.12.0
3d09d43
6b232b3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.39-7
6b232b3
- rebuild against perl 5.10.1
6b232b3
19aaa64
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-6
19aaa64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
19aaa64
0d7c369
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-5
0d7c369
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0d7c369
06a5ffd
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-4
06a5ffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
06a5ffd
ecee02f
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.39-3
ecee02f
- rebuild for new perl
ecee02f
e5ca6eb
* Fri Jan 04 2008 Ralf Corsépius <rc040203@freenet.de> 0.39-2
e5ca6eb
- Update License-tag.
e5ca6eb
- BR: perl(Test::Memory::Cycle).
e5ca6eb
- BR: perl(Test::More) (BZ 419631).
e5ca6eb
63647fe
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.39-1
63647fe
- Update to 0.39.
63647fe
- Use fixperms macro instead of our own chmod incantation.
63647fe
- BR ExtUtils::MakeMaker.
63647fe
1f8f3a4
* Mon Sep 04 2006 Steven Pritchard <steve@kspei.com> 0.38-4
1f8f3a4
- Cleanup to more closely resemble current cpanspec output.
1f8f3a4
- kwiki is a program, not documentation.
1f8f3a4
82625a2
* Fri Mar 10 2006 Steven Pritchard <steve@kspei.com> 0.38-3
82625a2
- Improve Summary.
82625a2
- Fix up dependency filtering.
82625a2
82625a2
* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.38-2
72d24f4
- Drop explicit BR: perl.
72d24f4
- Filter perl(mixin) dependency.
72d24f4
72d24f4
* Wed Dec 28 2005 Steven Pritchard <steve@kspei.com> 0.38-1
72d24f4
- Specfile autogenerated.