%define module Data-Stag %define name perl-%{module} %define version 0.08 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: %{module} module for perl License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/C/CM/CMUNGALL/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildRoot: %{_tmppath}/%{name}-buildroot/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch %description This module is for manipulating data as recursively nested tag/value pairs (Structured TAGs or Simple Tree AGgreggates). These datastructures can be represented as nested arrays, which have the advantage of being native to perl. %prep %setup -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc INSTALL README Changes %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Sat Feb 12 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.08-1mdk - 0.08 * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.06-2mdk - fix buildrequires in a backward compatible way * Wed Jul 21 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.06-1mdk - new version * Wed Apr 21 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.05-1mdk - new version - rpmbuildupdate aware - macros - make test * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.03-2mdk - fixed dir ownership (distlint) * Sun Jul 27 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 0.03-1mdk - first mdk release