Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 11c6888bd77aac5827611206ebe4f119 > files > 2

perl-AppConfig-Std-1.07-2mdk.src.rpm

%define module	AppConfig-Std
%define name	perl-%{module}
%define version 1.07
%define release 2mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Subclass of AppConfig that provides standard options
License:	GPL or Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}/
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	perl-devel perl-AppConfig

%description
AppConfig::Std is a Perl module that provides a set of standard configuration
variables and command-line switches. It is implemented as a subclass of
AppConfig; AppConfig provides a general mechanism for handling global
configuration variables.

%prep
%setup -q -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 ChangeLog README
%{perl_vendorlib}/AppConfig/*
%{_mandir}/*/*

%changelog
* Mon Nov  1 2004 Michael Scherer <misc@mandrake.org> 1.07-2mdk
- BuildRequires

* Wed Sep 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.07-1mdk
- Initial MDK release.