perl-HTML-Template-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: a Perl module to use HTML Templates
  2. Name: perl-HTML-Template
  3. Version: 2.97
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL/Artistic
  9. URL: https://metacpan.org/pod/HTML::Template
  10. Source0: https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl >= 2:5.34.0
  14. BuildRequires: perl(CGI)
  15. Requires: perl >= 2:5.34.0
  16. %description
  17. This module attempts make using HTML templates simple and natural.
  18. It extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
  19. <TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. The file
  20. written with HTML and these new tags is called a template. It is
  21. usually saved separate from your script - possibly even created by
  22. someone else! Using this module you fill in the values for the
  23. variables, loops and branches declared in the template. This allows
  24. you to seperate design - the HTML - from the data, which you generate
  25. in the Perl script.
  26. %description -l ja
  27. このモジュールは HTML テンプレートを使うことを簡単に、自然にしようとし
  28. ます。これは標準の HTML をいくつかの新しいHTML風のタグ - <TMPL_VAR>,
  29. <TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF>, <TMPL_ELSE>, <TMPL_UNLESS> で拡
  30. 張します。 HTML とこれらの新しいタグで書かれたファイルはテンプレートと
  31. 呼ばれます。これは通常スクリプトとは別に保存されます - もしかしたら他の
  32. 誰かによって作成されることさえあるかもしれません! このモジュールを使っ
  33. て、変数のための値を埋めたり、テンプレートで宣言されたループや分岐をお
  34. こないます。これにより Perl スクリプトで作成されるデータからデザイン
  35. - HTML - を分けることが出来ます。
  36. %prep
  37. %setup -q -n HTML-Template-%{version}
  38. %build
  39. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  40. make
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make pure_install DESTDIR=%{buildroot}
  44. find %{buildroot} -type f -name .packlist -delete
  45. %{_fixperms} -c %{buildroot}
  46. %check
  47. make test
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %license LICENSE
  52. %doc Changes README
  53. %{perl_vendorlib}/HTML/
  54. %{_mandir}/man3/HTML::Template.3*
  55. %{_mandir}/man3/HTML::Template::FAQ.3*
  56. %changelog
  57. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.97-1
  58. - new upstream release.
  59. - built with perl-5.34.0.
  60. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.95-1
  61. - new upstream release.
  62. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.9-3vl6
  63. - build with perl 5.12.3
  64. - drop defined perl_vendorlib macro
  65. - add Vendor and Distribution tags
  66. - fix typo in changelog 2.9-{1,2}
  67. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.9-2
  68. - spec in utf-8
  69. * Mon Apr 28 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 2.9-1
  70. - rebuild with perl-5.10.0-1
  71. * Tue Jul 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9-0vl1
  72. - new upstream release
  73. - changed Group to Development/Libraries
  74. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7-0vl2
  75. - added Japanese description from VinePlus/3.2 package
  76. - added Autoreq: false
  77. - installed perl modules to vendor_perl
  78. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2.7-0vl1
  79. - new upstream release
  80. - built with perl-5.8.6
  81. * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 2.6-0vl1
  82. - build with perl-5.8.0
  83. - version up to 2.6
  84. * Mon Apr 29 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 2.5-0vl1
  85. - first build for Vine Linux