Пакет livecd-webkiosk: 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 | Name: livecd-webkiosk Version: 0.6.3 Release: alt2 Summary: start the browser for a suitable webkiosk environment License: ALT-Public-Domain Group: System/X11 Url: http://en.altlinux.org/starterkits Packager: Michael Shigorin <mike@altlinux.org> Requires: ratpoison xinit libshell ExcludeArch: armh ExcludeArch: %{ix86} ppc64le %define skeldir %_sysconfdir/skel %define ifacedir %_sysconfdir/net/ifaces/eth0 %define xsfile %skeldir/.xsession %define wrapper %_bindir/webkiosk-browser %description %summary (livecd specific; also employs some ratpoison) %package seamonkey Summary: seamonkey webkiosk setup Group: System/X11 Requires: %name = %version-%release Requires: seamonkey %description seamonkey %summary (the browser == seamonkey) %package firefox Summary: firefox webkiosk setup Group: System/X11 Requires: %name = %version-%release Requires: livecd-firefox firefox-r-kiosk %description firefox %summary (the browser == firefox) %package chromium Summary: chromium webkiosk setup Group: System/X11 Requires: %name = %version-%release Requires: chromium %description chromium %summary (the browser == chromium) %package falkon Summary: falkon webkiosk setup Group: System/X11 Requires: %name = %version-%release Requires: falkon %description falkon %summary (the browser == falkon) %prep %build %install mkdir -p %buildroot{%skeldir,%ifacedir} cat > %buildroot%xsfile << _EOF_ #!/bin/sh ratpoison & . shell-cmdline read cmdline < /proc/cmdline cmdline_get url url [ -z "\$url" -a -f /image/index.html ] && url=/image/index.html while :; do xset s off; xset -dpms webkiosk-browser \$url done _EOF_ chmod +x %buildroot%xsfile cat > %buildroot%skeldir/.ratpoisonrc << _EOF_ startup_message off set border 0 set padding 0 0 0 0 set barpadding 0 0 escape F25 banish _EOF_ cat > %buildroot%ifacedir/options << _EOF_ BOOTPROTO=dhcp _EOF_ %post seamonkey cat > %wrapper << _EOF_ #!/bin/sh exec seamonkey -chrome "\$@" _EOF_ chmod +x %wrapper %post firefox cat > %wrapper << _EOF_ #!/bin/sh exec firefox "\$@" _EOF_ chmod +x %wrapper %post chromium cat > %wrapper << _EOF_ #!/bin/sh exec chromium --kiosk --start-maximized --disable-translate --no-first-run "\$@" _EOF_ chmod +x %wrapper %post falkon cat > %wrapper << _EOF_ #!/bin/sh exec falkon --fullscreen "\$@" _EOF_ chmod +x %wrapper %files %skeldir/.ratpoisonrc %ifacedir/options %xsfile %ifnarch ppc64le %files firefox %endif %ifarch %ix86 x86_64 #files seamonkey %ifarch x86_64 %files chromium %endif %files falkon %endif %changelog * Tue Sep 19 2023 Pavel Vasenkov <pav@altlinux.org> 0.6.3-alt2 - ExcludeArch: %{ix86} ppc64le * Mon May 30 2022 Michael Shigorin <mike@altlinux.org> 0.6.3-alt1 - disable firefox subpackage on ppc64le - minor spec cleanup * Fri May 27 2022 Michael Shigorin <mike@altlinux.org> 0.6.2-alt1 - re-disabled non-x86_64 build for chromium subpackage as requested by legion@ * Thu Sep 16 2021 Andrey Cherepanov <cas@altlinux.org> 0.6.1-alt4 - Build without %name-seamonkey. * Mon Jan 04 2021 Andrey Cherepanov <cas@altlinux.org> 0.6.1-alt3 - ExcludeArch: armh for all and %%ix86 and x86_64 for seamonkey. * Mon Nov 30 2020 Andrey Cherepanov <cas@altlinux.org> 0.6.1-alt2 - ExcludeArch: ppc64le armh aarch64 (as for firefox and seamonkey). * Fri Sep 13 2019 Leonid Krivoshein <klark@altlinux.org> 0.6.1-alt1 - fixed typo in the spec: url from cmdline now realy used * Wed Sep 12 2018 Michael Shigorin <mike@altlinux.org> 0.6.0-alt1 - replaced qupzilla with falkon following upstream decision - made all but firefox subpackages x86/aarch64-only * Wed Jun 22 2016 Michael Shigorin <mike@altlinux.org> 0.5.0-alt1 - added "url" kernel boot parameter support * Wed Oct 14 2015 Michael Shigorin <mike@altlinux.org> 0.4.3-alt3 - the whole livecd-webkiosk source package should be made noarch * Wed Oct 14 2015 Michael Shigorin <mike@altlinux.org> 0.4.3-alt2 - reenabled non-x86_64 build for chromium subpackage (and actually made it noarch) * Tue Sep 08 2015 Michael Shigorin <mike@altlinux.org> 0.4.3-alt1 - tweaked chromium options as its kiosk doesn't mute "first run" * Mon Sep 07 2015 Michael Shigorin <mike@altlinux.org> 0.4.2-alt5 - reenabled noarch for non-chromium subpackages * Mon Sep 07 2015 Michael Shigorin <mike@altlinux.org> 0.4.2-alt4 - s/firefox-fullscreen-kiosk/firefox-r-kiosk/ * Fri Jun 19 2015 Michael Shigorin <mike@altlinux.org> 0.4.2-alt3 - there are 32-bit capable browsers out there still :) * Thu Jun 18 2015 Andrey Cherepanov <cas@altlinux.org> 0.4.2-alt2 - rebuild without 32-bit support * Wed Dec 31 2014 Michael Shigorin <mike@altlinux.org> 0.4.2-alt1 - disable DPMS (thanks valintinr@) * Mon Sep 29 2014 Michael Shigorin <mike@altlinux.org> 0.4.1-alt1 - require qupzilla 1.8.0 or later for --fullscreen * Sat Sep 27 2014 Michael Shigorin <mike@altlinux.org> 0.4-alt1 - added qupzilla support * Sat Sep 13 2014 Michael Shigorin <mike@altlinux.org> 0.3-alt1 - added seamonkey support * Fri Jun 07 2013 Michael Shigorin <mike@altlinux.org> 0.2-alt2 - rebuilt * Sun Dec 23 2012 Michael Shigorin <mike@altlinux.org> 0.2-alt1 - introduced chromium support (as a separate subpackage) - NB: firefox support moved to a subpackage as well, please pay attention if you're upgrading live images * Wed Oct 17 2012 Michael Shigorin <mike@altlinux.org> 0.1-alt3 - moved firefox prefs.js handling to livecd-firefox package * Sun Mar 25 2012 Michael Shigorin <mike@altlinux.org> 0.1-alt2 - disable firefox' default browser check * Tue Jan 24 2012 Michael Shigorin <mike@altlinux.org> 0.1-alt1 - initial release |