2007-01-15 23:30:48 +00:00
|
|
|
#
|
2011-11-17 15:34:42 +00:00
|
|
|
# spec file for package perl-HTML-Template
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
2011-11-17 15:34:42 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
2009-06-17 22:14:46 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-30 09:41:15 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 22:14:46 +00:00
|
|
|
|
2007-01-30 09:41:15 +00:00
|
|
|
Name: perl-HTML-Template
|
2009-06-17 22:14:46 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/HTML/
|
2010-01-12 11:05:23 +00:00
|
|
|
License: GPLv2+
|
2007-01-30 09:41:15 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2009-06-17 22:14:46 +00:00
|
|
|
AutoReqProv: on
|
2007-01-30 09:41:15 +00:00
|
|
|
Summary: This Module Attempts to make using HTML Templates Simple and Natural
|
|
|
|
Version: 2.9
|
2011-11-11 11:18:42 +00:00
|
|
|
Release: 113
|
2011-11-17 15:34:42 +00:00
|
|
|
Source: HTML-Template-%{version}.tar.gz
|
2007-01-30 09:41:15 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:37:46 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 11:07:47 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:37:46 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:30:48 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This allows you to separate design - the HTML - from the data, which
|
|
|
|
you generate in the Perl script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Tregar <sam@tregar.com>
|
|
|
|
|
|
|
|
%prep
|
2007-01-30 09:41:15 +00:00
|
|
|
%setup -q -n HTML-Template-%{version}
|
2007-01-15 23:30:48 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 11:05:23 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:30:48 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{perl_vendorlib}/HTML
|
|
|
|
%doc ANNOUNCE ARTISTIC Changes FAQ GPL MANIFEST README
|
|
|
|
|
2009-06-17 22:14:46 +00:00
|
|
|
%changelog
|