3 %bcond_without tests # do perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Term::Animation - ASCII sprite animation framework
9 Summary(pl): Term::Animation - szkielet do animacji duszków ASCII
10 Name: perl-Term-Animation
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: fd3382953bd0a9e6032bbed6a196edaa
18 BuildRequires: perl-Curses >= 1.06
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module provides a framework to produce sprite animations using
26 ASCII art. Each ASCII 'sprite' is given one or more frames, and placed
27 into the animation as an 'animation object'. An animation object can
28 have a callback routine that controls the position and frame of the
32 Ten modu³ dostarcza szkielet do tworzenia animacji duszków przy u¿yciu
33 ASCII artu. Ka¿dy "duszek" ASCII jest zadany jedn± lub wiêksz± liczb±
34 ramek i umieszczany w animacji jako "obiekt animacji". Obiekt animacji
35 mo¿e mieæ wywo³anie zwrotne steruj±ce po³o¿eniem i ramk± obiektu.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Term/Animation.pm
60 %{perl_vendorlib}/Term/Animation