70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-HTML-Template-JIT
|
||
|
#
|
||
|
# Copyright (c) 2011 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-Template-JIT
|
||
|
BuildRequires: perl-HTML-Template perl-Inline-C
|
||
|
BuildRequires: perl-macros
|
||
|
Url: http://www.cpan.org/modules/by-module/HTML
|
||
|
License: GPLv2+
|
||
|
Group: Development/Libraries/Perl
|
||
|
AutoReqProv: on
|
||
|
Summary: Just-In-Time Compiler for HTML Templates
|
||
|
Version: 0.05
|
||
|
Release: 143
|
||
|
Source: HTML-Template-JIT-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
%{perl_requires}
|
||
|
|
||
|
%description
|
||
|
This is a just in time compiler for the HTML Template module. Makes the
|
||
|
use of templates very fast.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Sam Tregar <sam@tregar.com>
|
||
|
|
||
|
%prep
|
||
|
%setup -n HTML-Template-JIT-%{version}
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make %{?_smp_mflags}
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{perl_vendorarch}/auto/HTML/Template/JIT*
|
||
|
%{perl_vendorlib}/HTML/Template
|
||
|
%doc ANNOUNCE ARTISTIC Changes GPL MANIFEST README
|
||
|
|
||
|
%changelog
|