Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 7f1c9da7e1eef4e1b7839a1d7b28dfbf > files > 2

perl-Config-Std-0.7.0-1mdv2010.1.src.rpm

%define upstream_name    Config-Std
%define upstream_version 0.007

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1
Summary:    Load and save configuration files in a standard format 
License:    GPL or Artistic
Group:      Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Config/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires:      perl(Module::Build)
BuildRequires:      perl(Class::Std)
Requires:           perl(Class::Std)
BuildArch:          noarch
BuildRoot:          %{_tmppath}/%{name}-%{version}

%description
Load and save configuration files in a standard format 

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
# only when building from CVS (version 1.51-3mdk)
#CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
#make docs -i
# only when building from CVS (version 1.51-3mdk)
perl Build.PL installdirs=vendor
./Build

%check
./Build test

%clean 
rm -rf %{buildroot}

%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot}

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


%changelog
* Mon Dec 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.7.0-1mdv2010.1
+ Revision: 474569
- new version

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

  + Per Øyvind Karlsen <peroyvind@mandriva.org>
    - Import perl-Config-Std



* Tue May 22 2007 Shlomi Fish <shlomif@iglu.org.il> v0.0.4-1mdv2007.1
- Initial release.