%define dist MDV-Distribconf %define version 1.01 %define release %mkrel 1 Summary: Read and write config of a Mandriva Linux distribution tree Name: perl-%{dist} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Source0: %{dist}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{dist}/ BuildRoot: %{_tmppath}/%{name}-buildroot/ BuildArch: noarch BuildRequires: perl perl-Config-IniFiles %description MDV::Distribconf is a module to get/write the configuration of a Mandriva Linux distribution tree. %prep %setup -q -n %{dist}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %check %{__make} test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog %{_mandir}/*/* %{perl_vendorlib}/MDV/Distribconf %{perl_vendorlib}/MDV/Distribconf.pm %changelog * Tue Dec 06 2005 Rafael Garcia-Suarez 1.01-1mdk - 1.01 * Fri Oct 28 2005 Rafael Garcia-Suarez 1.00-1mdk - Initial MDV release