# # spec file for package perl-HTML-Mason (Version 1.43) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-HTML-Mason %define cpan_name HTML-Mason Summary: HTML::Mason Perl module Version: 1.43 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTML-Mason/ #Source: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl(Module::Build) %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif BuildRequires: perl(Cache::Cache) >= 1 BuildRequires: perl(CGI) >= 2.46 BuildRequires: perl(Class::Container) >= 0.07 BuildRequires: perl(Exception::Class) >= 1.15 BuildRequires: perl(File::Spec) >= 0.8 BuildRequires: perl(HTML::Entities) BuildRequires: perl(Params::Validate) >= 0.7 BuildRequires: perl(Scalar::Util) >= 1.01 %{perl_requires} Requires: perl(Cache::Cache) >= 1 Requires: perl(CGI) >= 2.46 Requires: perl(Class::Container) >= 0.07 Requires: perl(Exception::Class) >= 1.15 Requires: perl(File::Spec) >= 0.8 Requires: perl(HTML::Entities) Requires: perl(Params::Validate) >= 0.7 Requires: perl(Scalar::Util) >= 1.01 %description Mason is a tool for building, serving and managing large web sites. Its 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 Dave Rolsky Ken Williams John Williams %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 # remove some files %{__rm} $RPM_BUILD_ROOT%{_bindir}/convert*README %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc Changes CREDITS eg htdocs LICENSE README samples UPGRADE bin/convert*README %changelog