Name: perl-Kwiki Version: 0.38 Release: 4%{?dist} Summary: Kwiki Wiki Building Framework License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Kwiki/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Kwiki-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Spoon) >= 0.22 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Source98: Kwiki-filter-requires.sh %global real_perl_requires %{__perl_requires} %define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-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 %setup -q -n Kwiki-%{version} sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires} chmod +x %{__perl_requires} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %{__perl_requires} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Mon Sep 04 2006 Steven Pritchard 0.38-4 - Cleanup to more closely resemble current cpanspec output. - kwiki is a program, not documentation. * Fri Mar 10 2006 Steven Pritchard 0.38-3 - Improve Summary. - Fix up dependency filtering. * Mon Feb 27 2006 Steven Pritchard 0.38-2 - Drop explicit BR: perl. - Filter perl(mixin) dependency. * Wed Dec 28 2005 Steven Pritchard 0.38-1 - Specfile autogenerated.