52 lines
1.2 KiB
RPMSpec
52 lines
1.2 KiB
RPMSpec
|
%define modname HTML-Mason
|
||
|
Name: perl-%{modname}
|
||
|
Version: 1.37
|
||
|
Release: 1
|
||
|
Summary: A High-Performance, Dynamic Web Site Authoring System
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRequires: perl
|
||
|
License: GPL/Artistic
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%description
|
||
|
Mason is a tool for building, serving and managing large web sites. It's
|
||
|
features make it an ideal backend for high load sites serving dynamic content,
|
||
|
such as online newspapers or database driven e-commerce sites.
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Jonathan Swartz <swartz@pobox.com>
|
||
|
Dave Rolsky <autarch@urth.org>
|
||
|
Ken Williams <ken@mathforum.org>
|
||
|
John Williams <williams@tni.com>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{modname}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
make
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc CREDITS Changes LICENSE README UPGRADE
|
||
|
%doc %{_mandir}/man?/*
|
||
|
#%{perl_vendorlib}/
|
||
|
#%{perl_vendorarch}/auto/
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
|
||
|
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.37-1
|
||
|
- Initial release
|