|
|
72d24f4 |
Name: perl-Kwiki
|
|
|
63647fe |
Version: 0.39
|
|
|
ecee02f |
Release: 3%{?dist}
|
|
|
1f8f3a4 |
Summary: Kwiki Wiki Building Framework
|
|
|
e5ca6eb |
License: GPL+ or Artistic
|
|
|
72d24f4 |
Group: Development/Libraries
|
|
|
72d24f4 |
URL: http://search.cpan.org/dist/Kwiki/
|
|
|
1f8f3a4 |
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Kwiki-%{version}.tar.gz
|
|
|
72d24f4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
72d24f4 |
BuildArch: noarch
|
|
|
63647fe |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
e5ca6eb |
BuildRequires: perl(Test::More)
|
|
|
e5ca6eb |
BuildRequires: perl(Test::Memory::Cycle)
|
|
|
72d24f4 |
BuildRequires: perl(Spoon) >= 0.22
|
|
|
72d24f4 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
72d24f4 |
|
|
|
1f8f3a4 |
Source98: Kwiki-filter-requires.sh
|
|
|
82625a2 |
%global real_perl_requires %{__perl_requires}
|
|
|
82625a2 |
%define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-requires
|
|
|
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}
|
|
|
72d24f4 |
|
|
|
1f8f3a4 |
sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires}
|
|
|
72d24f4 |
chmod +x %{__perl_requires}
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%build
|
|
|
72d24f4 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
72d24f4 |
make %{?_smp_mflags}
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%install
|
|
|
72d24f4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
72d24f4 |
|
|
|
72d24f4 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
72d24f4 |
|
|
|
72d24f4 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
1f8f3a4 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
72d24f4 |
|
|
|
63647fe |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%check
|
|
|
72d24f4 |
make test
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%clean
|
|
|
82625a2 |
rm -rf $RPM_BUILD_ROOT %{__perl_requires}
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%files
|
|
|
72d24f4 |
%defattr(-,root,root,-)
|
|
|
1f8f3a4 |
%doc Changes README
|
|
|
72d24f4 |
%{perl_vendorlib}/*
|
|
|
72d24f4 |
%{_bindir}/*
|
|
|
72d24f4 |
%{_mandir}/man1/*
|
|
|
72d24f4 |
%{_mandir}/man3/*
|
|
|
72d24f4 |
|
|
|
72d24f4 |
%changelog
|
|
|
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.
|