]> git.pld-linux.org Git - packages/perl-SWF-File.git/blob - perl-SWF-File.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SWF-File.git] / perl-SWF-File.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define pdir    SWF
6 %define pnam    File
7 Summary:        SWF::File - create SWF file
8 Summary(pl.UTF-8):      SWF::File - tworzenie plików SWF
9 Name:           perl-SWF-File
10 Version:        0.42
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/Y/YS/YSAS/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  7319b35179edd24958fe1a92be8b3a0b
17 URL:            http://search.cpan.org/dist/SWF-File/
18 %{?with_tests:BuildRequires:    perl-Data-TemporaryBag >= 0.08}
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Requires:       perl-Data-TemporaryBag >= 0.08
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 SWF::File module can be used to make SWF (Macromedia Flash(R)) movie.
27 SWF::File is a subclass of SWF::BinStream::Write, so you can pack
28 SWF::Element::Tags in it.
29
30 %description -l pl.UTF-8
31 Moduł SWF::File może być używany do tworzenia filmów SWF (Macromedia
32 Flash(R)). SWF::File to podklasa SWF::BinStream::Write, więc można w
33 niej umieszczać SWF::Element::Tags.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %attr(755,root,root) %{_bindir}/dumpswf.plx
59 %dir %{perl_vendorlib}/SWF
60 %{perl_vendorlib}/SWF/*.pm
61 %dir %{perl_vendorlib}/SWF/BinStream
62 %{perl_vendorlib}/SWF/BinStream/*.pm
63 %dir %{perl_vendorlib}/SWF/BinStream/Codec
64 %{perl_vendorlib}/SWF/BinStream/Codec/*.pm
65 %{_mandir}/man3/*
This page took 0.074677 seconds and 4 git commands to generate.