Luis Bazan 1ff33e7
Name:           perl-Term-Animation
Luis Bazan 1ff33e7
Version:        2.6
31d5c7c
Release:        27%{?dist}
Luis Bazan 1ff33e7
Summary:        ASCII sprite animation framework
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
License:        GPL+ or Artistic
Luis Bazan 1ff33e7
URL:            http://search.cpan.org/dist/perl-Term-Animation/
Luis Bazan 1ff33e7
Source0:        http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.6.tar.gz
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
BuildArch:      noarch
44f5d0e
BuildRequires:  perl-generators
fe49372
BuildRequires:  perl(Carp)
fe49372
BuildRequires:  perl(Curses)
fe49372
BuildRequires:  perl(Data::Dumper)
fe49372
BuildRequires:  perl(ExtUtils::MakeMaker)
fe49372
BuildRequires:  perl(Test::More)
Luis Bazan 1ff33e7
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%description
Luis Bazan 1ff33e7
This module provides a framework to produce sprite animations using ASCII art.
Luis Bazan 1ff33e7
Each ASCII 'sprite' is given one or more frames, and placed into the animation
Luis Bazan 1ff33e7
as an 'animation object'. An animation object can have a callback routine that
Luis Bazan 1ff33e7
controls the position and frame of the object.
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
If the constructor is passed no arguments, it assumes that it is running full
Luis Bazan 1ff33e7
screen, and behaves accordingly. Alternatively, it can accept a curses window
Luis Bazan 1ff33e7
(created with the Curses new win call) as an argument, and will draw into that
Luis Bazan 1ff33e7
window.
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%prep
Luis Bazan 1ff33e7
%setup -q -n Term-Animation-%{version}
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%build
Luis Bazan 1ff33e7
%{__perl} Makefile.PL INSTALLDIRS=vendor
Luis Bazan 1ff33e7
make %{?_smp_mflags}
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%install
2da956d
rm -rf %{buildroot}
2da956d
make pure_install DESTDIR=%{buildroot}
2da956d
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Luis Bazan 1ff33e7
# Remove the next line from noarch packages (unneeded)
2da956d
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
2da956d
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
2da956d
%{_fixperms} %{buildroot}/*
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%check
2da956d
make test
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%files
Luis Bazán 027be5d
%doc Changes README MIGRATION
Luis Bazan 1ff33e7
%{perl_vendorlib}/*
Luis Bazan 1ff33e7
%{_mandir}/man3/*.3*
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
%changelog
31d5c7c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-27
31d5c7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
31d5c7c
fbfeae7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-26
fbfeae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fbfeae7
8768b41
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-25
8768b41
- Perl 5.26 rebuild
8768b41
468000b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-24
468000b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
468000b
67bd731
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-23
67bd731
- Perl 5.24 rebuild
67bd731
2e4efc0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-22
2e4efc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2e4efc0
bc26e6a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-21
bc26e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bc26e6a
0dec7ec
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-20
0dec7ec
- Perl 5.22 rebuild
0dec7ec
6f649de
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.6-19
6f649de
- Perl 5.20 rebuild
6f649de
cb123c0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-18
cb123c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cb123c0
14b083d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-17
14b083d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
14b083d
1d12e7b
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.6-16
1d12e7b
- Perl 5.18 rebuild
1d12e7b
fe49372
* Fri Mar 01 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 2.6-15
fe49372
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914314).
fe49372
- Rework BRs.
fe49372
ad7d50f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-14
ad7d50f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ad7d50f
2da956d
* Fri Oct 05 2012 Luis Bazan <lbazan@fedoraproject.org> - 2.6-13
2da956d
- fix typo
2da956d
- add test line
2da956d
377daf1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-12
377daf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
377daf1
a6478ca
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.6-11
a6478ca
- Perl 5.16 rebuild
a6478ca
Luis Bazán 13a8091
* Sat Jan 14 2012 Luis Bazan <lbazan@fedoraproject.org> - 2.6-10
Luis Bazán 13a8091
- Add document MIGRATION
Luis Bazán 13a8091
2e2f67f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-9
2e2f67f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2e2f67f
Petr Sabata f86dfd3
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.6-8
Petr Sabata f86dfd3
- Perl mass rebuild
Petr Sabata f86dfd3
Luis Bazan 1ff33e7
* Tue Jul 12 2011 Luis Bazan <bazanluis20@gmail.com> 2.6-7
Luis Bazan 1ff33e7
- licences to GPL+ or Artistic
Luis Bazan 1ff33e7
- add doc Changes README
Luis Bazan 1ff33e7
- change URL 
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
* Tue Jul 05 2011 Luis Bazan <bazanluis20@gmail.com> 2.6-6
Luis Bazan 1ff33e7
- Remove OPTIMIZE from noarch packages (unneeded)
Luis Bazan 1ff33e7
- changes to BuildRequires: perl(Test::Simple)
Luis Bazan 1ff33e7
- licences to GPL+
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7
* Tue Jun 28 2011 Luis Bazan <bazanluis20@gmail.com> 2.6-5
Luis Bazan 1ff33e7
- Initial Release
Luis Bazan 1ff33e7
Luis Bazan 1ff33e7