File perl-HTML-WebMake.spec of Package perl-HTML-WebMake
%define cpan_name HTML-WebMake
Name: perl-%cpan_name
Version: 2.3
Release: 1
Provides: %cpan_name
Requires: perl = %{perl_version} perl-HTML-Parser perl-IO-String perl-Image-Size perl-Text-EtText perl-XML-Sablotron libwww-perl
Group: Development/Libraries/Perl
License: GPL
URL: http://webmake.taint.org/
Summary: A simple perl based website content management system
Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl-HTML-Parser perl-IO-String perl-Image-Size perl-Text-EtText perl-XML-Sablotron libwww-perl
%description
WebMake is a simple, Perl based content management system for websites.
It is based around a templating system for HTML documents, with lots of
built-in smarts about what a ``typical'' informational website needs
in the way of functionality, metadata, sitemapping, navigational aids,
and (of course) embedded perl code.
%prep
%setup -q -n %cpan_name-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
# don't run rss feed tests on openSUSE Build Service
mv t/rssbox.t t/rssbox.t.disabled
make
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/webmake*
%doc Changes MANIFEST README TODO doc
%doc %{_mandir}/man?/*
%{perl_vendorlib}/HTML
%{perl_vendorarch}/auto/HTML
/var/adm/perl-modules/%{name}
%changelog -n %{name}
* Sun Jan 19 2008 - gerrit.beine@googlemail.com
- moved to openSUSE Build Service
* Thu Dec 22 2005 - gerrit@beine-computer.de
- first release 2.3