]> git.pld-linux.org Git - packages/foot.git/blob - foot.spec
38e64aae15cded52d51b86d44037770fb7fba9b1
[packages/foot.git] / foot.spec
1 Summary:        A fast, lightweight and minimalistic Wayland terminal emulator
2 Name:           foot
3 Version:        1.10.3
4 Release:        2
5 License:        MIT
6 Group:          Applications/Terminal
7 Source0:        https://codeberg.org/dnkl/foot/archive/%{version}.tar.gz
8 # Source0-md5:  75e66a87d6e6e4e265d1219e459f53df
9 URL:            https://codeberg.org/dnkl/foot/
10 BuildRequires:  fcft-devel < 3.0.0
11 BuildRequires:  fcft-devel >= 2.4.0
12 BuildRequires:  fontconfig-devel
13 BuildRequires:  libutf8proc-devel
14 BuildRequires:  meson >= 0.54.0
15 BuildRequires:  ninja
16 BuildRequires:  pixman-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpm-build >= 4.6
19 BuildRequires:  rpmbuild(macros) >= 1.736
20 BuildRequires:  scdoc
21 BuildRequires:  tllist-devel >= 1.0.4
22 BuildRequires:  wayland-devel
23 BuildRequires:  wayland-protocols >= 1.21
24 BuildRequires:  xorg-lib-libxkbcommon-devel >= 1.0.0
25 Requires(post,postun):  desktop-file-utils
26 Requires(post,postun):  gtk-update-icon-cache
27 Requires:       fcft < 3.0.0
28 Requires:       fcft >= 2.4.0
29 Requires:       hicolor-icon-theme
30 Requires:       terminfo >= 6.2.20210731
31 Requires:       xorg-lib-libxkbcommon >= 1.0.0
32 Obsoletes:      terminfo-foot < 1.10.3-2
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 A fast, lightweight and minimalistic Wayland terminal emulator.
37
38 %package -n bash-completion-foot
39 Summary:        Bash completion for foot command line
40 Group:          Applications/Shells
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       bash-completion >= 2.0
43 BuildArch:      noarch
44
45 %description -n bash-completion-foot
46 Bash completion for foot command line.
47
48 %package -n fish-completion-foot
49 Summary:        fish-completion for foot
50 Group:          Applications/Shells
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       fish
53 BuildArch:      noarch
54
55 %description -n fish-completion-foot
56 fish-completion for foot.
57
58 %description -n fish-completion-foot -l pl.UTF-8
59 Pakiet ten dostarcza uzupełnianie nazw w fish dla foot.
60
61 %package -n zsh-completion-foot
62 Summary:        ZSH completion for foot command line
63 Group:          Applications/Shells
64 Requires:       %{name} = %{version}-%{release}
65 Requires:       zsh
66 BuildArch:      noarch
67
68 %description -n zsh-completion-foot
69 ZSH completion for foot command line.
70
71 %prep
72 %setup -q -n %{name}
73
74 %build
75 %meson build \
76         -Dterminfo=disabled
77
78 %ninja_build -C build
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %ninja_install -C build
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post
89 %update_desktop_database_post
90 %update_icon_cache hicolor
91
92 %postun
93 %update_desktop_database_postun
94 %update_icon_cache hicolor
95
96 %files
97 %defattr(644,root,root,755)
98 %doc CHANGELOG.md README.md
99 %attr(755,root,root) %{_bindir}/foot
100 %attr(755,root,root) %{_bindir}/footclient
101 %{_datadir}/foot
102 %{_desktopdir}/foot.desktop
103 %{_desktopdir}/foot-server.desktop
104 %{_desktopdir}/footclient.desktop
105 %{_iconsdir}/hicolor/*/apps/foot.png
106 %{_iconsdir}/hicolor/scalable/apps/foot.svg
107 %{_mandir}/man1/foot.1*
108 %{_mandir}/man1/footclient.1*
109 %{_mandir}/man5/foot.ini.5*
110 %{_mandir}/man7/foot-ctlseqs.7*
111
112 %files -n bash-completion-foot
113 %defattr(644,root,root,755)
114 %{bash_compdir}/foot
115 %{bash_compdir}/footclient
116
117 %files -n fish-completion-foot
118 %defattr(644,root,root,755)
119 %{fish_compdir}/foot.fish
120 %{fish_compdir}/footclient.fish
121
122 %files -n zsh-completion-foot
123 %defattr(644,root,root,755)
124 %{zsh_compdir}/_foot
125 %{zsh_compdir}/_footclient
This page took 0.064263 seconds and 2 git commands to generate.