]> git.pld-linux.org Git - packages/perl-Term-Animation.git/blob - perl-Term-Animation.spec
8f0523143c9c343f1419506c8c15b6f91b3f3f96
[packages/perl-Term-Animation.git] / perl-Term-Animation.spec
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
8 Summary:        Term::Animation - ASCII sprite animation framework
9 Summary(pl.UTF-8):      Term::Animation - szkielet do animacji duszków ASCII
10 Name:           perl-Term-Animation
11 Version:        2.4
12 Release:        1
13 # same as perl
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:  92799819f87f38cdbccf4c215e49b4cb
18 BuildRequires:  perl-Curses >= 1.06
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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
29 object.
30
31 %description -l pl.UTF-8
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.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorlib}/Term/Animation.pm
60 %{perl_vendorlib}/Term/Animation
61 %{_mandir}/man3/*
This page took 0.069644 seconds and 3 git commands to generate.