Name: perl-Spoon
Version: 0.23
Release: 3%{?dist}
Summary: Spiffy application framework
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Spoon/
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spoon-%{version}.tar.gz
Source1: filter-provides.sh
%define _use_internal_dependency_generator 0
%define __find_provides %{SOURCE1}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(IO::All) >= 0.32
BuildRequires: perl(Spiffy) >= 0.22
BuildRequires: perl(Template) >= 2.10
BuildRequires: perl(Test::Memory::Cycle)
BuildRequires: perl(Time::HiRes)
Requires: perl(IO::All) >= 0.32
Requires: perl(Spiffy) >= 0.22
Requires: perl(Template) >= 2.10
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%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.
%prep
%setup -q -n Spoon-%{version}
%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 -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README COPYING Artistic
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Mar 02 2006 Steven Pritchard <steve@kspei.com> 0.23-3
- Improve Summary.
- Fix Source0.
* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.23-2
- Drop explicit BR: perl.
* Wed Dec 28 2005 Steven Pritchard <steve@kspei.com> 0.23-1
- Specfile autogenerated.