Package maliit-framework: 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 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | Name: maliit-framework Version: 2.3.0 Release: alt1 %define sover 2 %define libmaliit libmaliit%sover %define libmaliit_glib libmaliit-glib%sover %define xinputconfdir %_sysconfdir/X11/xinit/xinput.d Group: System/Libraries Summary: Maliit Input Method Framework Url: http://www.maliit.org License: LGPL-2.1-only %K5init no_altplace Source0: %name-%version.tar Source1: maliit.conf # Automatically added by buildreq on Fri Jun 04 2021 (-bi) # optimized out: cmake-modules debugedit elfutils fontconfig gcc-c++ glib2-devel glibc-kernheaders-generic glibc-kernheaders-x86 libatk-devel libcairo-devel libcairo-gobject-devel libctf-nobfd0 libgdk-pixbuf-devel libgio-devel libglvnd-devel libgpg-error libharfbuzz-devel libpango-devel libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-qml libqt5-qmlmodels libqt5-quick libqt5-waylandclient libsasl2-3 libssl-devel libstdc++-devel libudev-devel libwayland-client libwayland-client-devel libwayland-cursor libwayland-server-devel libxcb-devel libxkbcommon-devel pkg-config python-modules python2-base python3 python3-base python3-module-paste qt5-base-common qt5-base-devel qt5-declarative-devel rpm-build-python3 sh4 wayland-devel xz #BuildRequires: cmake doxygen fonts-ttf-dejavu fonts-ttf-gnu-freefont-mono fonts-ttf-google-droid-sans graphviz libXfixes-devel libgtk+3-devel libwayland-cursor-devel libwayland-egl-devel python-modules-encodings python3-dev python3-module-mpl_toolkits qt5-base-devel-static qt5-svg-devel qt5-wayland-devel qt5-webengine-devel wayland-protocols BuildRequires(pre): rpm-build-kf5 BuildRequires: cmake doxygen graphviz libgtk+3-devel BuildRequires: pkgconfig(xkbcommon) pkgconfig(xfixes) BuildRequires: wayland-protocols libwayland-cursor-devel libwayland-egl-devel BuildRequires: qt5-base-devel-static qt5-svg-devel qt5-wayland-devel %description Core server and libraries for the Maliit Input Methods Framework %package devel Summary: Maliit Input Method Framework Development Package Group: System/Libraries Provides: libmaliit-devel = %EVR Obsoletes: libmaliit-devel < %EVR Provides: libmaliit-glib-devel = %EVR Obsoletes: libmaliit-glib-devel < %EVR %description devel This package contains the files necessary to develop input method plugins for Maliit, and applications using the libmaliit extension library. %package -n %libmaliit Summary: Maliit Framework Input Method library Group: System/Libraries %description -n %libmaliit Maliit toolkit support extension library for Qt applications %package -n %libmaliit_glib Summary: Maliit Framework Input Method library Group: System/Libraries %description -n %libmaliit_glib Maliit toolkit support extension library for Gtk+ applications %package -n libmaliit-glib-gir Summary: GObject introspection data for the Maliit Framework Group: System/Libraries Requires: %libmaliit_glib %description -n libmaliit-glib-gir GObject introspection data for the Maliit Framework Input Method library %package doc Summary: Maliit Framework Documentation Group: Development/Other Requires: %name = %version-%release BuildArch: noarch %description doc Documentation for the Maliit Input Method Framework %package sdk Summary: Maliit Framework SDK Group: Development/Other Requires: %name = %version-%release Requires: %name-doc %description sdk SDK environment for Maliit %package tests Summary: Maliit Framework Input Method Tests Package Group: Development/Other Requires: %name = %version-%release %description tests This package contains the files necessary to test the Maliit input method framework %package examples Summary: Maliit Framework Input Method Examples Group: Development/Other Requires: %name = %version-%release %description examples This package contains examples applications for the Maliit input method framework %package settings Summary: Maliit Framework settings utitlity Group: System/Configuration/Other Requires: libmaliit-glib-gir Conflicts: maliit-framework-examples <= 0.94.0-alt1 %description settings This package contains settings utitlity for the Maliit input method framework %package -n maliit-inputcontext-qt5 Summary: Maliit Input Context Plugin for Qt Group: Accessibility Requires: %name = %version-%release %description -n maliit-inputcontext-qt5 %name input context plugin for Qt toolkit support %package -n maliit-inputcontext-gtk2 Summary: Maliit Input Context Plugin for Gtk+2 Group: Accessibility Requires: %name = %version-%release %description -n maliit-inputcontext-gtk2 %name input context plugin for basic Gtk+ version 2 toolkit support %package -n maliit-inputcontext-gtk3 Summary: Maliit Input Context Plugin for Gtk+3 Group: Accessibility Requires: %name = %version-%release %description -n maliit-inputcontext-gtk3 %name input context plugin for basic Gtk+ version 3 toolkit support %prep %setup -n %name-%version # avoid depending on python 2 #sed -i '1s=^#!/usr/bin/env python=#!/usr/bin/python3=' examples/apps/gtk3-python/maliit-exampleapp-gtk3-python.py %build export PATH=%_qt5_bindir:$PATH %K5build \ -DMALIIT_SERVER_ARGUMENTS="" \ -Denable-dbus-activation:BOOL=ON \ -Denable-qt5-inputcontext:BOOL=ON \ -Denable-wayland-gtk=ON \ -Denable-wayland=ON \ -Denable-xcb=ON \ -Denable-glib=ON \ -Denable-tests:BOOL=OFF \ -Denable-examples:BOOL=OFF \ # # CONFIG+=disable-gtk-cache-update \ %install #K5install %make -C BUILD DESTDIR=%buildroot install # install xinput config file mkdir -p %buildroot/%xinputconfdir install -pm 644 -D %SOURCE1 %buildroot/%xinputconfdir/ mkdir -p %buildroot/%_libdir/maliit/plugins/factories # cleanup rm -rf %buildroot/%_docdir/maliit-framework-doc %post -n maliit-inputcontext-gtk2 %_bindir/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 2>>/dev/null ||: %post -n maliit-inputcontext-gtk3 %_bindir/gtk-query-immodules-3.0 --update-cache >/dev/null 2>&1 ||: %files %doc README* LICENSE* NEWS %dir %_libdir/maliit/ %dir %_libdir/maliit/plugins*/ %dir %_libdir/maliit/plugins*/factories %_bindir/maliit-server %_qt5_plugindir/platforminputcontexts/libmaliitplatforminputcontextplugin.so %_qt5_plugindir/wayland-shell-integration/libinputpanel-shell.so #%_libdir/gtk-3.0/3.0.0/immodules/libim-wayland.so #%config %xinputconfdir/* %_datadir/dbus-1/services/org.maliit.server.service #%files settings #%_bindir/maliit-exampleapp-settings-python3.py #%files examples #%_bindir/maliit-example* #%exclude %_bindir/maliit-exampleapp-settings-python3.py %files devel %_includedir/maliit-2/ %_libdir/libmaliit-*.so %_libdir/pkgconfig/maliit-*.pc %_qt5_archdatadir/mkspecs/features/maliit-*.prf %_libdir/cmake/MaliitGLib/ %_libdir/cmake/MaliitPlugins/ %files -n %libmaliit %_libdir/libmaliit-plugins.so.%sover %_libdir/libmaliit-plugins.so.* %files -n %libmaliit_glib %_libdir/libmaliit-glib.so.%sover %_libdir/libmaliit-glib.so.* #%files -n libmaliit-glib-gir #%_typelibdir/Maliit-*.typelib %files doc %doc BUILD/doc/html #%files sdk #%_bindir/maliit-sdk #%_defaultdocdir/maliit-framework-%version/maliit-sdk #%files tests #%_libdir/maliit-framework-tests/ #%files -n maliit-inputcontext-qt5 #%_qt5_plugindir/inputmethods/*.so #%files -n maliit-inputcontext-gtk2 #%_libdir/gtk-2.0/2.10.0/immodules/libim-maliit.so* #%files -n maliit-inputcontext-gtk3 #%_libdir/gtk-3.0/3.0.0/immodules/libim-maliit.so* %changelog * Tue Jan 24 2023 Sergey V Turchin <zerg@altlinux.org> 2.3.0-alt1 - new version * Wed Jan 12 2022 Sergey V Turchin <zerg@altlinux.org> 2.1.1-alt1 - new version * Thu Nov 18 2021 Sergey V Turchin <zerg@altlinux.org> 2.0.0-alt3 - don't package xinput config * Wed Jun 30 2021 Sergey V Turchin <zerg@altlinux.org> 2.0.0-alt2 - don't add custom argumetrs to maliit-server startup * Fri Jun 04 2021 Sergey V Turchin <zerg@altlinux.org> 2.0.0-alt1 - new version * Tue Feb 25 2020 Sergey V Turchin <zerg@altlinux.org> 0.94.2-alt5 - fix to build with new compilers - build without python2 * Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.94.2-alt4.2.qa1 - NMU: applied repocop patch * Wed May 16 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.94.2-alt4.2 - (NMU) rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.94.2-alt4.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Wed Sep 11 2013 Sergey V Turchin <zerg@altlinux.org> 0.94.2-alt4 - add focus workaround from Plasma Active developers * Mon Apr 08 2013 Sergey V Turchin <zerg@altlinux.org> 0.94.2-alt3 - rebuilt with new rpm-build-python3 * Mon Apr 01 2013 Sergey V Turchin <zerg@altlinux.org> 0.94.2-alt2 - rebuilt with new glib * Fri Mar 29 2013 Sergey V Turchin <zerg@altlinux.org> 0.94.2-alt1 - new version * Thu Jan 17 2013 Sergey V Turchin <zerg@altlinux.org> 0.94.0-alt1 - new version * Fri Oct 19 2012 Sergey V Turchin <zerg@altlinux.org> 0.92.5.1-alt1 - initial build |