1 Summary: Open-source alternative to Adobe Flash
6 Group: Applications/Multimedia
7 Source0: https://launchpad.net/~skykooler/+archive/swift-swf/+files/%{name}_%{version}.tar.gz
8 # Source0-md5: 387853e28616abd1eeb368e7e58f790c
9 URL: http://swift-swf.blogspot.com/
10 BuildRequires: pkgconfig
11 BuildRequires: python-devel >= 1:2.7.1
12 BuildRequires: python-distutils-extra >=2.18
13 BuildRequires: python-launchpad-integration
14 BuildRequires: rpm-pythonprov
15 BuildRequires: rpmbuild(macros) >= 1.586
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 WIFT (which stands for "ShockWave Is Free Territory") is a free,
20 open-source alternative to Adobe Flash. It is written in Python, and
21 uses PyGTK for a GUI, swfc for compiling, and Cairo for image
22 processing. It has the ability to export to HTML5 as well as .swf,
23 allowing for viewing on non-Flash-compatible devices (such as the
24 iPhone or the Kindle), and can pack all resources into a single HTML
25 file for portability. Swift supports ActionScript, allowing for
26 interactive content creation.
35 OVERRIDE_CFLAGS="%{rpmcflags}" \
36 OVERRIDE_LDFLAGS="%{rpmldflags}" \
37 %{__python} setup.py build
40 rm -rf $RPM_BUILD_ROOT
43 %{__python} setup.py install \
44 --root=$RPM_BUILD_ROOT \
47 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}
48 %py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}
49 %py_postclean %{_libdir}/%{name}
51 %find_lang %{name} --all-name
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
59 #%attr(755,root,root) %{_bindir}/%{name}