%define upstream_name Env-PS1 %define upstream_version 0.06 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Prompt string formatter License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Env/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(AutoLoader) BuildRequires: perl(AutoSplit) BuildRequires: perl(POSIX) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(Module::Build::Compat) BuildArch: noarch %description This package supplies variables that are "tied" to environment variables like 'PS1' and 'PS2', if read it takes the contents of the variable as a format string like the ones *bash(1)* uses to format the prompt. It is intended to be used in combination with the various ReadLine packages. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Dec 09 2011 shlomif <shlomif> 0.60.0-1.mga2 + Revision: 179752 - imported package perl-Env-PS1 * Fri Dec 09 2011 cpan2dist 0.06-1mga - initial mageia release, generated with cpan2dist