|
Lines 27-33
BuildRequires: ncurses
Link Here
|
| 27 |
|
27 |
|
| 28 |
# For tests |
28 |
# For tests |
| 29 |
BuildRequires: /proc |
29 |
BuildRequires: /proc |
| 30 |
BuildRequires: kitty |
|
|
| 31 |
BuildRequires: fonts-ttf-gnu-freefont-mono |
30 |
BuildRequires: fonts-ttf-gnu-freefont-mono |
| 32 |
|
31 |
|
| 33 |
%add_python3_path %_libexecdir/%name |
32 |
%add_python3_path %_libexecdir/%name |
|
Lines 79-88
The terminfo file for kitty
Link Here
|
| 79 |
%setup |
78 |
%setup |
| 80 |
|
79 |
|
| 81 |
# Changing shebangs to python3 |
80 |
# Changing shebangs to python3 |
| 82 |
find -type f -name "*.py" -exec sed -e 's|/usr/bin/env python3|%{__python3}|g' \ |
81 |
find -type f -name "*.py" -exec sed -e 's|/usr/bin/env python3|%__python3|g' \ |
| 83 |
-e 's|/usr/bin/env python|%{__python3}|g' \ |
82 |
-e 's|/usr/bin/env python|%__python3|g' \ |
| 84 |
-i "{}" \; |
83 |
-i "{}" \; |
| 85 |
|
84 |
|
|
|
85 |
%ifarch %e2k |
| 86 |
# ftbfs workaround with lcc 1.25.17: |
| 87 |
# kitty/screen.c:1437,1463: pointless comparison of unsigned integer with zero |
| 88 |
sed -i "s/-Werror//g" setup.py |
| 89 |
%endif |
| 90 |
|
| 91 |
# TODO: proper 'install' target |
| 92 |
#build |
| 93 |
#python3_build_debug |
| 94 |
|
| 86 |
%install |
95 |
%install |
| 87 |
mkdir -p %buildroot%_prefix |
96 |
mkdir -p %buildroot%_prefix |
| 88 |
python3 setup.py linux-package \ |
97 |
python3 setup.py linux-package \ |