3 %bcond_without tests # do not perform "make test"
7 Summary: SWF::File - create SWF file
8 Summary(pl.UTF-8): SWF::File - tworzenie plików SWF
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
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
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