[perl-Term-Animation] perl-Term-Animation

Luis Enrique Bazán De León lbazan at fedoraproject.org
Wed Jul 13 15:52:34 UTC 2011


commit 1ff33e7fac33660118e2197b5f4bd7fa09ef98a7
Author: Luis Bazan <lbazan at BAKER-FEDORA.(none)>
Date:   Wed Jul 13 10:45:21 2011 -0500

    perl-Term-Animation

 .gitignore               |    1 +
 perl-Term-Animation.spec |   68 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..180ed4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Term-Animation-2.6.tar.gz
diff --git a/perl-Term-Animation.spec b/perl-Term-Animation.spec
new file mode 100644
index 0000000..ae106e4
--- /dev/null
+++ b/perl-Term-Animation.spec
@@ -0,0 +1,68 @@
+Name:           perl-Term-Animation
+Version:        2.6
+Release:        7%{?dist}
+Summary:        ASCII sprite animation framework
+
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/perl-Term-Animation/
+Source0:        http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.6.tar.gz
+
+BuildArch:      noarch
+# Correct for lots of packages, other common choices include eg. Module::Build
+BuildRequires:  perl(Test::Simple)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
+%description
+This module provides a framework to produce sprite animations using ASCII art.
+Each ASCII 'sprite' is given one or more frames, and placed into the animation
+as an 'animation object'. An animation object can have a callback routine that
+controls the position and frame of the object.
+
+If the constructor is passed no arguments, it assumes that it is running full
+screen, and behaves accordingly. Alternatively, it can accept a curses window
+(created with the Curses new win call) as an argument, and will draw into that
+window.
+
+%prep
+%setup -q -n Term-Animation-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+# Remove the next line from noarch packages (unneeded)
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Tue Jul 12 2011 Luis Bazan <bazanluis20 at gmail.com> 2.6-7
+- licences to GPL+ or Artistic
+- add doc Changes README
+- change URL 
+
+* Tue Jul 05 2011 Luis Bazan <bazanluis20 at gmail.com> 2.6-6
+- Remove OPTIMIZE from noarch packages (unneeded)
+- changes to BuildRequires: perl(Test::Simple)
+- licences to GPL+
+
+* Tue Jun 28 2011 Luis Bazan <bazanluis20 at gmail.com> 2.6-5
+- Initial Release
+
+
diff --git a/sources b/sources
index e69de29..74a94ba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d22643b339495cfc0a4f0b405dbae1d1  Term-Animation-2.6.tar.gz


More information about the scm-commits mailing list