forked from pool/perl-HTML-Template
87 lines
2.4 KiB
RPMSpec
87 lines
2.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-HTML-Template (Version 2.8)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-HTML-Template
|
||
|
URL: http://html-template.sourceforge.net
|
||
|
License: GPL
|
||
|
Group: Development/Libraries/Perl
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Summary: This Module Attempts to make using HTML Templates Simple and Natural
|
||
|
Version: 2.8
|
||
|
Release: 1
|
||
|
Source: HTML-Template-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%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
|
||
|
%setup -n HTML-Template-%{version}
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%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
|
||
|
/var/adm/perl-modules/perl-HTML-Template
|
||
|
%doc ANNOUNCE ARTISTIC Changes FAQ GPL MANIFEST README
|
||
|
|
||
|
%changelog -n perl-HTML-Template
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Fri Jan 06 2006 - anicka@suse.cz
|
||
|
- update to 2.8
|
||
|
* Wed Sep 28 2005 - dmueller@suse.de
|
||
|
- add norootforbuild
|
||
|
* Mon Aug 01 2005 - cthiel@suse.de
|
||
|
- update to version 2.7
|
||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
- require the perl version we build with
|
||
|
* Mon Jul 14 2003 - freitag@suse.de
|
||
|
- cleaned up specfile filelist to install to vendor dirs
|
||
|
* Sun Jun 22 2003 - coolo@suse.de
|
||
|
- package directories
|
||
|
* Mon May 19 2003 - freitag@suse.de
|
||
|
- update to version 2.6 with bugfixes and some new features (see
|
||
|
Changes file in package), removed perllocal.pod off the build
|
||
|
system.
|
||
|
* Thu Aug 08 2002 - mls@suse.de
|
||
|
- use sitearch macro
|
||
|
* Tue Jul 02 2002 - mls@suse.de
|
||
|
- remove race in .packlist generation
|
||
|
* Tue May 28 2002 - freitag@suse.de
|
||
|
- update to version 2.5 - mostly bugfixes.
|
||
|
* Fri Jun 08 2001 - freitag@suse.de
|
||
|
- new package with version 2.2
|