Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 792ae44459b36edd7bedb16d36452dbc > files > 2

perl-HTML-Template-Expr-0.07-1mdk.src.rpm

%define module  HTML-Template-Expr
%define	name	perl-%{module}
%define version 0.07
%define release %mkrel 1

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
Summary: 	HTML::Template extension adding expression support
License: 	GPL or Artistic
Group: 		Development/Perl
Source:		ftp://ftp.perl.org/pub/CPAN/modules/by-module/HTML/%{module}-%{version}.tar.bz2
Url:            http://search.cpan.org/dist/%{module}
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl(HTML::Template)
BuildRequires:	perl(Parse::RecDescent)
BuildRequires:	perl(Test::Simple)
BuildArch: 	noarch
BuildRoot: 	%{_tmppath}/%{name}-%{version}

%description
This module provides an extension to HTML::Template which
allows expressions in the template syntax.  This is purely an addition
- all the normal HTML::Template options, syntax and behaviors will
still work.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README 
%{perl_vendorlib}/HTML
%{_mandir}/*/*

%changelog
* Wed Apr 19 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.07-1mdk
- New release 0.07
- better source URL
- better buildrequires syntax

* Mon Mar 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-1mdk
- New release 0.06

* Tue Dec 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.05-1mdk
- New release 0.05
- spec cleanup
- drop explicit requires
- drop useless buildrequires versionning
- fix sources URL
- better summary and description
- %%mkrel

* Wed Sep 15 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.04-4mdk
- rebuild 

* Tue Aug 12 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.04-3mdk
- rebuild
- rm -rf %{buildroot} in %%install, not %%build
- use %%makeinstall_std macro
- drop $RPM_OPT_FLAGS, noarch..

* Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.04-2mdk
- rebuild

* Fri Oct 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.04-1mdk
- from Peter Chen <petechen@netilla.com> :
	- 0.04