]> git.pld-linux.org Git - packages/perl-Term-Animation.git/blame - perl-Term-Animation.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Term-Animation.git] / perl-Term-Animation.spec
CommitLineData
84dcd955 1#
8e57fe6f
MP
2# Conditional build:
3%bcond_without tests # do perform "make test"
da897321 4
7bff9a3d 5%define pdir Term
6%define pnam Animation
8e57fe6f 7Summary: Term::Animation - ASCII sprite animation framework
b8252d6b 8Summary(pl.UTF-8): Term::Animation - szkielet do animacji duszków ASCII
8e57fe6f 9Name: perl-Term-Animation
889dbac4 10Version: 2.6
cc64b667 11Release: 1
8e57fe6f 12# same as perl
92b424ef 13License: GPL v1+ or Artistic
8e57fe6f
MP
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
889dbac4 16# Source0-md5: d22643b339495cfc0a4f0b405dbae1d1
da897321 17URL: http://search.cpan.org/dist/Term-Animation/
fb879ef4 18BuildRequires: perl-Curses >= 1.06
84dcd955 19BuildRequires: perl-devel >= 1:5.8.0
8e57fe6f 20BuildRequires: rpm-perlprov >= 4.1-13
84dcd955 21BuildArch: noarch
8e57fe6f
MP
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
84dcd955
JB
25This module provides a framework to produce sprite animations using
26ASCII art. Each ASCII 'sprite' is given one or more frames, and placed
27into the animation as an 'animation object'. An animation object can
28have a callback routine that controls the position and frame of the
29object.
30
605f928a
JR
31%description -l pl.UTF-8
32Ten moduł dostarcza szkielet do tworzenia animacji duszków przy użyciu
33ASCII artu. Każdy "duszek" ASCII jest zadany jedną lub większą liczbą
84dcd955 34ramek i umieszczany w animacji jako "obiekt animacji". Obiekt animacji
605f928a 35może mieć wywołanie zwrotne sterujące położeniem i ramką obiektu.
8e57fe6f
MP
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
8e57fe6f
MP
43%{__make}
44
84dcd955 45%{?with_tests:%{__make} test}
8e57fe6f
MP
46
47%install
48rm -rf $RPM_BUILD_ROOT
84dcd955
JB
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
8e57fe6f
MP
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
84dcd955 58%doc Changes README
8e57fe6f 59%{perl_vendorlib}/Term/Animation.pm
fb879ef4 60%{perl_vendorlib}/Term/Animation
8e57fe6f 61%{_mandir}/man3/*
This page took 0.172463 seconds and 4 git commands to generate.