Package caribou: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | %def_enable snapshot %define _libexecdir %prefix/libexec %define ver_major 0.4 %define api_ver 1.0 %def_enable gtk2_module %def_enable gtk3_module Name: caribou Version: %ver_major.22 Release: alt3 Summary: A simplified in-place on-screen keyboard Group: Graphical desktop/GNOME License: LGPLv2+ Url: https://live.gnome.org/Caribou %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else Source: %name-%version.tar %endif Patch: %name-0.4.22-change_autostart_cinnamon.patch Patch1: %name-0.4.20-fix-python-exec.patch Patch2: %name-0.4.22-alt-russian_layouts.patch Patch4: %name-0.4.2-use-reserved-bar-keycode.patch Patch5: %name-0.4.2-fix-keys.patch Patch6: %name-0.4.22-alt-fix-comparision.patch # https://gitlab.gnome.org/GNOME/caribou/-/merge_requests/3 # https://github.com/linuxmint/cinnamon-screensaver/issues/354 Patch7: %name-0.4.22-alt-remove-xkbkeytypesmask.patch # https://gitlab.gnome.org/GNOME/caribou/-/merge_requests/4 Patch8: %name-0.4.22-vala-cleanups.patch Provides: on-screen-keyboard Requires: lib%name = %version-%release Requires: lib%name-gir = %version-%release %define gee_ver 0.8 BuildRequires(pre): rpm-build-python3 rpm-build-gir %{?_enable_gtk2_module:BuildRequires: libgtk+2-devel} %{?_enable_gtk3_module:BuildRequires: libgtk+3-devel libgtk+3-gir-devel} BuildPreReq: libgee-devel >= %gee_ver BuildRequires: libat-spi2-core-devel libclutter-devel libxklavier-devel libXtst-devel BuildRequires: gobject-introspection-devel python3-module-pygobject3-devel libxml2-devel BuildRequires: intltool xsltproc gnome-doc-utils vala-tools >= 0.13 %description Caribou is a text entry application that currently manifests itself as a simplified in-place on-screen keyboard. %package -n lib%name Summary: Caribou library Group: System/Libraries %description -n lib%name Caribou is a text entry application that currently manifests itself as a simplified in-place on-screen keyboard. This package contains Caribou library. %package -n lib%name-devel Summary: Development files for Caribou Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel The lib%name-devel package contains libraries and headers files for developing applications that use Caribou. %package -n lib%name-gir Summary: GObject introspection data for the Caribou Group: System/Libraries Requires: lib%name = %version-%release %description -n lib%name-gir GObject introspection data for the Caribou library. %package -n lib%name-gir-devel Summary: GObject introspection devel data for the Caribou Group: Development/Other BuildArch: noarch Requires: lib%name-gir = %version-%release Requires: lib%name-devel = %version-%release %description -n lib%name-gir-devel GObject introspection devel data for the Caribou library. %prep %setup %patch -p1 -b .cinnamon %patch1 -p1 -b .python_exec %patch2 -p1 -b .rus %patch4 -p2 -b .res_keycode #%%patch5 -p2 %patch6 -p2 -b .bool_comparision %patch7 -p1 -b .remove-xkbkeytypesmask %patch8 -p1 -b .vala-cleanups %build %autoreconf %configure --disable-static \ %{?_disable_gtk2_module:--disable-gtk2-module} \ %{?_disable_gtk3_module:--disable-gtk3-module} \ PYTHON=%__python3 # Clean generated C files: %make clean %make_build %install %makeinstall_std %find_lang %name %files -f %name.lang %_bindir/%name-preferences %_libexecdir/%name %_datadir/%name %_datadir/antler/ %_datadir/dbus-1/services/org.gnome.Caribou.Antler.service %_datadir/dbus-1/services/org.gnome.Caribou.Daemon.service %_libexecdir/antler-keyboard %_sysconfdir/xdg/autostart/%name-autostart.desktop %_datadir/glib-2.0/schemas/org.gnome.antler.gschema.xml %_datadir/glib-2.0/schemas/org.gnome.caribou.gschema.xml %_libdir/gnome-settings-daemon-3.0/gtk-modules/%name-gtk-module.desktop %{?_enable_gtk2_module:%_libdir/gtk-2.0/modules/lib%name-gtk-module.so} %{?_enable_gtk3_module:%_libdir/gtk-3.0/modules/lib%name-gtk-module.so} %python3_sitelibdir_noarch/%name/ %doc NEWS README %exclude %_libdir/gtk-*/modules/lib%name-gtk-module.la %files -n lib%name %_libdir/lib%name.so.* %files -n lib%name-devel %_includedir/lib%name/ %_libdir/lib%name.so %_pkgconfigdir/%name-%api_ver.pc %_vapidir/%name-%api_ver.deps %_vapidir/%name-%api_ver.vapi %files -n lib%name-gir %_typelibdir/Caribou-%api_ver.typelib %files -n lib%name-gir-devel %_girdir/Caribou-%api_ver.gir %changelog * Fri May 14 2021 Slava Aseev <ptrnine@altlinux.org> 0.4.22-alt3 - fix FTBFS related to vala build system * Mon Jan 18 2021 Vladimir Didenko <cow@altlinux.org> 0.4.22-alt2 - fix crash when some symbols are pressed * Mon May 25 2020 Vladimir Didenko <cow@altlinux.org> 0.4.22-alt1 - fix build with new vala * Sat Aug 18 2018 Yuri N. Sedunov <aris@altlinux.org> 0.4.22-alt0.1 - updated to 0.4.21-60-gec9041b, switched to Python3 - caribou-autostart.desktop changed as gnome-shell has it's own OSK * Fri Jul 22 2016 Yuri N. Sedunov <aris@altlinux.org> 0.4.21-alt1 - 0.4.21 * Tue Feb 16 2016 Yuri N. Sedunov <aris@altlinux.org> 0.4.20-alt1 - 0.4.20 * Tue Oct 13 2015 Yuri N. Sedunov <aris@altlinux.org> 0.4.19-alt1 - 0.4.19 * Wed Apr 15 2015 Yuri N. Sedunov <aris@altlinux.org> 0.4.18.1-alt1 - 0.4.18.1 * Sat Mar 28 2015 Yuri N. Sedunov <aris@altlinux.org> 0.4.18-alt1 - 0.4.18 * Mon Feb 16 2015 Yuri N. Sedunov <aris@altlinux.org> 0.4.17-alt1 - 0.4.17 * Mon Nov 24 2014 Yuri N. Sedunov <aris@altlinux.org> 0.4.16-alt1 - 0.4.16 * Tue Sep 16 2014 Yuri N. Sedunov <aris@altlinux.org> 0.4.15-alt1 - 0.4.15 * Wed Nov 20 2013 Paul Wolneykien <manowar@altlinux.org> 0.4.13-alt1 - Fresh up to v0.4.13. * Tue Mar 19 2013 Yuri N. Sedunov <aris@altlinux.org> 0.4.10-alt1 - 0.4.10 * Tue Feb 19 2013 Yuri N. Sedunov <aris@altlinux.org> 0.4.8-alt1 - 0.4.8 * Tue Dec 18 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.6-alt1 - 0.4.6 * Tue Nov 20 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.5-alt1 - 0.4.5 * Tue Nov 13 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.4.2-alt1 - 0.4.4.2 * Tue Oct 09 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.4-alt1 - 0.4.4 * Thu May 03 2012 Paul Wolneykien <manowar@altlinux.ru> 0.4.2-alt2 - Fix Escape key, add "^" symbol to "touch" and "fullscale" layouts. - Use patch for singleton daemon. - Use patch for proper input of the bar ("|") symbol. - Re-generate C files from Vala. * Tue Mar 27 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.2-alt1 - 0.4.2 * Tue Feb 14 2012 Yuri N. Sedunov <aris@altlinux.org> 0.4.1-alt2 - built module for gtk2 - fixed pythonpath - russian layouts for touch and fullscale modes (ALT #26934) * Mon Nov 14 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.4.1-alt1.1 - Rebuild with Python-2.7 * Tue Oct 18 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.1-alt1 - 0.4.1 * Thu Oct 06 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.0-alt1 - 0.4.0 * Wed Sep 21 2011 Yuri N. Sedunov <aris@altlinux.org> 0.3.92-alt1 - first build for Sisyphus |