Name: perl-constant-boolean Version: 0.01 Release: 1%{?dist} Summary: Define TRUE and FALSE constants License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/constant-boolean/ Source0: http://www.cpan.org/authors/id/D/DE/DEXTER/constant-boolean-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Defines TRUE and FALSE constants in caller's namespace. You could use simple values like empty string or zero for false, or any non-empty and non- zero string value as true, but the TRUE and FALSE constants are more descriptive. %prep %setup -q -n constant-boolean-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jan 29 2009 Allisson Azevedo 0.01-1 - Initial rpm release.