Changes of Revision 11
flowblade.spec
Changed
x
1
2
Requires: python3-libusb1
3
Requires: python3-mlt
4
Requires: python3-numpy
5
-Requires: rsvg-view
6
Requires: sox
7
8
%description
9
10
11
%build
12
pushd flowblade-trunk
13
-sed -i~ 's|%_datadir/pyshared|%python_sitelib|' %name
14
+sed -i~ 's|%_datadir/pyshared|%python3_sitelib|' %name
15
diff -u "$_"~ "$_" && exit 1
16
%python3_build
17
popd
18
19
pushd flowblade-trunk
20
%python3_install
21
mkdir -p %buildroot%_datadir/locale
22
-mv %buildroot{%python_sitelib/Flowblade/locale/*,%_datadir/locale/}
23
+mv %buildroot{%python3_sitelib/Flowblade/locale/*,%_datadir/locale/}
24
find %buildroot -type f -name "*.po*" -delete -print
25
rm -rfv %buildroot%_prefix/lib/mime
26
popd
27
-%fdupes %buildroot%python_sitelib
28
+%fdupes %buildroot%python3_sitelib
29
%find_lang %name
30
31
%files
32
33
%_datadir/metainfo/*.xml
34
%_datadir/mime/packages/*.xml
35
%_mandir/man?/*
36
-%python_sitelib/Flowblade/
37
-%python_sitelib/%name-*-info
38
+%python3_sitelib/Flowblade/
39
+%python3_sitelib/%name-*-info
40
41
%files lang -f %name.lang
42
43