Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > cf676abdde1b8b38efa923e0a098f4cd > files > 2

perl-Package-Constants-0.01-1mdv2009.0.src.rpm

%define	module	Package-Constants
%define name	perl-%{module}
%define	modprefix Package

%define version 0.01

%define	rel	1
%define release %mkrel %{rel}

Summary:	Package Constants
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	Artistic/GPL
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}/
Source:		ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{module}-%{version}.tar.gz
%if %{mdkversion} < 1010
BuildRequires:	perl-devel >= 5.8.1
%endif
BuildArch:	noarch
Buildroot:	%{_tmppath}/%{name}-root


%description
"Package::Constants" lists all the constants defined in a certain pack- age.
This can be useful for, among others, setting up an autogenerated
"@EXPORT/@EXPORT_OK" for a Constants.pm file.

%prep
%setup -q -n %{module}-%{version}

%build
%__perl Makefile.PL INSTALLDIRS=vendor
%make

%check
%__make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

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


%changelog
* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.01-1mdv2009.0
+ Revision: 136330
- restore BuildRoot

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

* Fri Jun 22 2007 Buchan Milne <bgmilne@mandriva.org> 0.01-1mdv2008.0
+ Revision: 42865
- Import perl-Package-Constants



* Thu Jun 21 2007 Buchan Milne <bgmilne@mandriva.org> 0.01-1mdv2007.1
- initial package