commit 58bd57d376957e8a6f5c0567c0b26dfcdbaaf293 Author: Christopher Meng <i@xxxxxxxx> Date: Fri Jan 24 09:23:02 2014 +0800 Initial SETUP. .gitignore | 1 + perl-Text-Xslate.spec | 117 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 119 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..cf1c3c7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Xslate-3.1.1.tar.gz diff --git a/perl-Text-Xslate.spec b/perl-Text-Xslate.spec new file mode 100644 index 0000000..ef7c26e --- /dev/null +++ b/perl-Text-Xslate.spec @@ -0,0 +1,117 @@ +%global pkgname Text-Xslate + +Name: perl-Text-Xslate +Version: 3.1.1 +Release: 1%{?dist} +Summary: Scalable template engine +License: GPL+ or Artistic +URL: http://xslate.org/ +Source0: http://www.cpan.org/authors/id/G/GF/GFUJI/%{pkgname}-%{version}.tar.gz +BuildRequires: perl(B) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(CGI) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Devel::StackTrace) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Data::MessagePack) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(File::Copy::Recursive) +BuildRequires: perl(Fatal) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::stat) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(if) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(Mouse) +BuildRequires: perl(Mouse::Role) +BuildRequires: perl(Mouse::Util::TypeConstraints) +BuildRequires: perl(overload) +BuildRequires: perl(parent) +BuildRequires: perl(Plack::Builder) +BuildRequires: perl(Plack::Response) +BuildRequires: perl(Plack::Test) +BuildRequires: perl(strict) +BuildRequires: perl(SelectSaver) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(threads) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Tie::Array) +BuildRequires: perl(Time::localtime) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) +#Tests only. +BuildRequires: perl(Devel::StackTrace) +BuildRequires: perl(Template) +BuildRequires: perl(Template::Plugin::String) +BuildRequires: perl(Plack) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(B) +Requires: perl(Data::Dumper) +Requires: perl(Digest::MD5) +Requires: perl(Encode) +Requires: perl(File::Path) +Requires: perl(Scalar::Util) +Requires: perl(XSLoader) + +%description +Xslate is a template engine, tuned for persistent applications, safe as an +HTML generator, and with rich features. + +%prep +%setup -qn %{pkgname}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -size 0 -delete +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes HACKING README.md example/ +%{_bindir}/xslate +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Text* +%{_mandir}/man1/xslate.1* +%{_mandir}/man3/* + +%changelog +* Fri Jan 24 2014 Christopher Meng <rpm@xxxxxxxx> - 3.1.1-1 +- Update to 3.1.1 +- Remove unneeded requires. + +* Tue Nov 26 2013 Christopher Meng <rpm@xxxxxxxx> - 3.1.0-1 +- Update to 3.1.0 + +* Tue Jul 23 2013 Christopher Meng <rpm@xxxxxxxx> - 2.0009-1 +- New version. +- BRs/Rs fix. + +* Mon Jul 15 2013 Christopher Meng <rpm@xxxxxxxx> - 2.0007-2 +- SPEC cleanup. + +* Fri Jun 21 2013 Christopher Meng <rpm@xxxxxxxx> - 2.0007-1 +- Initial Package. diff --git a/sources b/sources index e69de29..37e782d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6a6f250eaaaec59dde73acd70d30bb5f Text-Xslate-3.1.1.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel