From 8f2b9c093944629a625b89b4ca1f2d595cc155f7 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Jul 12 2013 07:28:21 +0000 Subject: Initial SETUP. --- diff --git a/.gitignore b/.gitignore index e69de29..3714706 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Set-Array-0.29.tgz diff --git a/perl-Set-Array.spec b/perl-Set-Array.spec new file mode 100644 index 0000000..a4e05a8 --- /dev/null +++ b/perl-Set-Array.spec @@ -0,0 +1,55 @@ +%global pkgname Set-Array + +Name: perl-Set-Array +Version: 0.29 +Release: 2%{?dist} +Summary: Arrays as objects with lots of handy methods +License: Artistic 2.0 +URL: http://search.cpan.org/dist/Set-Array/ +Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{pkgname}-%{version}.tgz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(Want) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Set::Array allows you to create arrays as objects and use OO-style methods +on them. Many convenient methods are provided here that appear in the +FAQ's, the Perl Cookbook or posts from comp.lang.perl.misc. In addition, +there are Set methods with corresponding (overloaded) operators for the +purpose of Set comparison, i.e. +, ==, etc. + +%prep +%setup -qn %{pkgname}-%{version} +iconv -f iso8859-1 -t utf-8 Changes > Changes.conv && mv -f Changes.conv Changes + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Jul 11 2013 Christopher Meng - 0.29-2 +- Fix UTF8 issue. + +* Wed Jul 03 2013 Christopher Meng - 0.29-1 +- Change the license so can be accepted by Fedora. + +* Sun Dec 23 2012 Christopher Meng - 0.28-1 +- Initial Package. diff --git a/sources b/sources index e69de29..e1e64c0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +45a2610504e520b76a38af18684a4356 Set-Array-0.29.tgz