Projects
Eulaceura:Factory
perl-HTML-Template-Pro
_service:obs_scm:perl-HTML-Template-Pro.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-HTML-Template-Pro.spec of Package perl-HTML-Template-Pro
%global _empty_manifest_terminate_build 0 Name: perl-HTML-Template-Pro Version: 0.9524 Release: 1 Summary: Perl/XS module to use HTML Templates from CGI scripts License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-Template-Pro/ Source0: http://www.cpan.org/authors/id/V/VI/VIY/HTML-Template-Pro-%{version}.tar.gz BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Path) >= 2 BuildRequires: perl(File::Spec) BuildRequires: perl(JSON) >= 2 BuildRequires: perl(Test::More) BuildRequires: perl-devel Requires: perl(File::Path) >= 2 Requires: perl(File::Spec) Requires: perl(JSON) >= 2 Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Original HTML::Template is written by Sam Tregar, sam@tregar.com with contributions of many people mentioned there. Their efforts caused HTML::Template to be mature html tempate engine which separate perl code and html design. Yet powerful, HTML::Template is slow, especially if mod_perl isn't available or in case of disk usage and memory limitations. %package help Summary : Perl/XS module to use HTML Templates from CGI scripts Provides: perl-HTML-Template-Pro-doc %description help Original HTML::Template is written by Sam Tregar, sam@tregar.com with contributions of many people mentioned there. Their efforts caused HTML::Template to be mature html tempate engine which separate perl code and html design. Yet powerful, HTML::Template is slow, especially if mod_perl isn't available or in case of disk usage and memory limitations. %prep %setup -q -n HTML-Template-Pro-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install export PERL_MM_OPT="" 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 f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc ARTISTIC benchmark.pl.t builtin_findfile.inc calc.inc callback_stubs.inc Changes cmp_expr.t exprpstr.inc exprtool.inc expr.y FAQ LGPL loadfile.inc loopvar.inc perl-HTML-Template-Pro.spec pparam2proparam proscope.inc prostate.inc pstrutils.inc README README.ru README.win32 tags.inc tagstack.inc test_crlf.out TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/HTML* %files help %{_mandir}/* %changelog * Wed Apr 03 2024 wangshuo <wangshuo@kylinos.cn> - 0.9524-1 - Upgrade to version 0.9524 - urlencode shouldn't encode '\' - fixed memory leak in perl wrapper code - fixed misprint in error message * Mon Dec 11 2023 ChenYanpan <chenyanpan@xfusion.com> - 0.9510-2 - Add BuildRequires perl-devel, for fixing build failed * Fri Jun 04 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.9510-1 - Specfile autogenerated by Perl_Bot
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2