]> git.pld-linux.org Git - packages/perl-Term-Animation.git/blame - perl-Term-Animation.spec
new spec
[packages/perl-Term-Animation.git] / perl-Term-Animation.spec
CommitLineData
8e57fe6f
MP
1
2# Conditional build:
3%bcond_without tests # do perform "make test"
4
5%include /usr/lib/rpm/macros.perl
6%define pdir Term
7%define pnam Animation
8Summary: Term::Animation - ASCII sprite animation framework
9Name: perl-Term-Animation
10Version: 1.0
11Release: 1
12# same as perl
13License: GPL/Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: b57a309b6a42051532e809dca6922af1
17BuildRequires: perl-devel >= 5.6
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module provides a framework to produce sprite animations using ASCII art.
23Each ASCII 'sprite' is given one or more frames, and placed into the animation
24as an 'animation object'. An animation object can have a callback routine that
25controls the position and frame of the object.
26
27%prep
28%setup -q -n %{pdir}-%{pnam}-%{version}
29
30%build
31%{__perl} Makefile.PL \
32 INSTALLDIRS=vendor
33
34%{__make}
35
36%{?with_tests:make test}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%{perl_vendorlib}/Term/Animation.pm
48%{_mandir}/man3/*
This page took 0.060513 seconds and 4 git commands to generate.