automatic update by autodist [release 2.6-1mamba;Thu Mar 31 2011]

This commit is contained in:
Automatic Build System 2024-01-06 09:40:22 +01:00
parent 0ff5b75839
commit 21635576f7
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# perl-Term-Animation
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 entity'.
An animation entity can have a callback routine that controls the position and frame of the entity.
The module can also do collision detection between entities.

63
perl-Term-Animation.spec Normal file
View File

@ -0,0 +1,63 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Term-Animation
Version: 2.6
Release: 1mamba
Summary: Term::Animation - Framework to produce sprite animations using ASCII art
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-Curses
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
Requires: perl-Curses
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 entity'.
An animation entity can have a callback routine that controls the position and frame of the entity.
The module can also do collision detection between entities.
%prep
%setup -q -n Term-Animation-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm -f $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f .packlist
%defattr(-,root,root)
%doc README
%changelog
* Thu Mar 31 2011 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
- automatic update by autodist
* Wed Jan 05 2011 Davide Madrisan <davide.madrisan@gmail.com> 2.4-1mamba
- package created by autospec