]> git.pld-linux.org Git - SPECS.git/blob - swift-swf.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / swift-swf.spec
1 Summary:        Open-source alternative to Adobe Flash
2 Name:           swift-swf
3 Version:        11.10.2
4 Release:        0.2
5 License:        GPL v3+
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)
17
18 %description
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.
27
28 %prep
29 %setup -q -c
30
31 %build
32 cd trunk
33 CC=%{__cc} \
34 CXX=%{__cxx} \
35 OVERRIDE_CFLAGS="%{rpmcflags}" \
36 OVERRIDE_LDFLAGS="%{rpmldflags}" \
37 %{__python} setup.py build
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 cd trunk
42
43 %{__python} setup.py install \
44         --root=$RPM_BUILD_ROOT \
45         --libdir="%{_libdir}"
46
47 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/%{name}
48 %py_comp $RPM_BUILD_ROOT%{_libdir}/%{name}
49 %py_postclean %{_libdir}/%{name}
50
51 %find_lang %{name} --all-name
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS
59 #%attr(755,root,root) %{_bindir}/%{name}
60 #%{_datadir}/%{name}
61 #%{_libdir}/%{name}
62 #%{_mandir}/man1/*.1*
This page took 0.680109 seconds and 3 git commands to generate.