Пакет powdertoy: 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 | Name: powdertoy Version: 96.0.348 Release: alt1 Summary: Classic 'falling sand' physics sandbox game Group: Games/Educational Epoch: 1 License: GPLv3 Url: http://powdertoy.co.uk/ # GitHub https://github.com/FacialTurd/The-Powder-Toy/tags Source: v%version.tar.gz Obsoletes: powder # Automatically added by buildreq on Fri Jul 02 2021 # optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 libX11-devel libcrypt-devel libglvnd-devel liblua5.1-devel libp11-kit libreadline-devel libsasl2-3 libstdc++-devel libxcb-devel ninja-build perl pkg-config python3 python3-base sh4 xz BuildRequires: bzlib-devel cmake ctags gcc-c++ git-core libSDL2-devel libcurl-devel libfftw3-devel libluajit-devel meson zlib-devel %description The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox game, it simulates air pressure and velocity as well as heat! %prep %setup -n The-Powder-Toy-%version # Hack out version update messge sed -i 's/gameModel->AddNotification.*\("A new.*available.*update"\).*;/fprintf(stderr, "%%s\\n", \1);/g' src/gui/game/GameController.cpp cat > %name.sh <<@@@ #!/bin/sh test -d "\$HOME/.powdertoy" || { rm -f "\$HOME/.powdertoy"; mkdir -p "\$HOME/.powdertoy/Brushes"; } cd "\$HOME/.powdertoy" && \$0.bin @@@ cat > %name.desktop <<@@@ [Desktop Entry] Name=The Powder Toy Type=Application Exec=%name Icon=%name Terminal=false GenericName=Sandbox game Categories=Game;Simulation; Comment=%summary @@@ %build %meson %meson_build %install # TODO MIME (it can install mime locally!) install -D %_cmake__builddir/powder %buildroot%_gamesbindir/%name.bin install -m755 %name.sh %buildroot%_gamesbindir/%name install -D %name.desktop %buildroot%_desktopdir/%name.desktop for N in resources/icon/new-unused/icon_*.png ; do install -D $N %buildroot%_iconsdir/hicolor/$(basename ${$##*_} .png)/apps/%name.png done %files %doc *.txt *.md %_gamesbindir/* %_desktopdir/%name.desktop %_iconsdir/hicolor/*/apps/* %changelog * Sun Jul 11 2021 Fr. Br. George <george@altlinux.ru> 1:96.0.348-alt1 - Autobuild version bump to 96.0.348 * Fri Jul 02 2021 Fr. Br. George <george@altlinux.ru> 1:96.0.346b-alt1 - Autobuild version bump to 96.0.346b * Mon Apr 22 2019 Fr. Br. George <george@altlinux.ru> 1:94.1-alt1 - Autobuild version bump to 94.1 * Tue Jun 05 2018 Michael Shigorin <mike@altlinux.org> 1:92.5-alt4 - support e2kv4 through %%e2k macro * Tue Feb 27 2018 Michael Shigorin <mike@altlinux.org> 1:92.5-alt3 - E2K: avoid lcc-unsupported options * Thu Feb 22 2018 Fr. Br. George <george@altlinux.ru> 1:92.5-alt2 - Build for non-PC platforms * Tue Feb 20 2018 Fr. Br. George <george@altlinux.ru> 1:92.5-alt1 - Autobuild version bump to 92.5 * Mon Sep 18 2017 Fr. Br. George <george@altlinux.ru> 1:92.2.333-alt1 - Autobuild version bump to 92.2.333 * Fri Aug 25 2017 Fr. Br. George <george@altlinux.ru> 1:92.1.332-alt1 - Autobuild version bump to 92.1.332 * Tue Feb 07 2017 Igor Vlasenko <viy@altlinux.ru> 1:91.5.330-alt1.1 - NMU: rebuild with new lua 5.1 * Mon Oct 31 2016 Fr. Br. George <george@altlinux.ru> 1:91.5.330-alt1 - Autobuild version bump to 91.5.330 * Tue Jul 26 2016 Fr. Br. George <george@altlinux.ru> 1:91.4.329-alt1 - Autobuild version bump to 91.4.329 * Sat Sep 27 2014 Fr. Br. George <george@altlinux.ru> 1:90.2.322-alt1 - Autobuild version bump to 90.2.322 * Mon Aug 25 2014 Fr. Br. George <george@altlinux.ru> 1:90.1.320-alt1 - Autobuild version bump to 90.1.320 - Fix build * Wed Apr 09 2014 Fr. Br. George <george@altlinux.ru> 1:89.2.283-alt1 - Autobuild version bump to 89.2.283 * Thu Feb 27 2014 Fr. Br. George <george@altlinux.ru> 1:89.2.281-alt1 - Autobuild version bump to 89.2.281 - Remove new version ad again * Mon Oct 14 2013 Fr. Br. George <george@altlinux.ru> 1:89.0.273-alt1 - Autobuild version bump to 89.0.273 * Mon Aug 26 2013 Fr. Br. George <george@altlinux.ru> 1:88.1.272-alt1 - Autobuild version bump to 88.1.272 - Switch to versioning scheme (introducing Epoch) - Fix install typo * Thu Aug 22 2013 Fr. Br. George <george@altlinux.ru> 271-alt1 - Autobuild version bump to 271 * Mon May 20 2013 Fr. Br. George <george@altlinux.ru> 270-alt1 - Autobuild version bump to 270 * Wed Apr 03 2013 Fr. Br. George <george@altlinux.ru> 263-alt1 - Switch versioning from version to build number - Autobuild version bump to 263 - Patch C++ flaws - Provide a wrapper for ~/.powdertoy cwd * Wed Feb 06 2013 Fr. Br. George <george@altlinux.ru> 82.0-alt1 - Newer version build * Tue Feb 05 2013 Gleb F-Malinovskiy <glebfm@altlinux.org> 81.3-alt2 - drop native optimization - do not strip main binary before debuginfo * Sun Jul 22 2012 Fr. Br. George <george@altlinux.ru> 81.3-alt1 - Autobuild version bump to 81.3 * Fri Jun 08 2012 Fr. Br. George <george@altlinux.ru> 80.3-alt1 - Autobuild version bump to 80.3 * Thu May 03 2012 Fr. Br. George <george@altlinux.ru> 77.0-alt1 - Autobuild version bump to 77.0 * Tue Apr 17 2012 Fr. Br. George <george@altlinux.ru> 74.2-alt1 - Autobuild version bump to 74.2 * Fri Feb 10 2012 Fr. Br. George <george@altlinux.ru> 71.3-alt1 - Autobuild version bump to 71.3 * Fri Jan 13 2012 Fr. Br. George <george@altlinux.ru> 70.1-alt1 - Autobuild version bump to 70.1 - Fix docs * Tue Aug 30 2011 Fr. Br. George <george@altlinux.ru> 57.0-alt1 - Autobuild version bump to 57.0 - Remove new version ad again * Tue Aug 16 2011 Fr. Br. George <george@altlinux.ru> 55.9-alt1 - Autobuild version bump to 55.9 * Thu Jul 28 2011 Fr. Br. George <george@altlinux.ru> 51.0-alt1 - Autobuild version bump to 51.0 - Remove new version ad * Tue Jul 05 2011 Fr. Br. George <george@altlinux.ru> 50.6-alt2 - Added some native optimization * Mon Jul 04 2011 Fr. Br. George <george@altlinux.ru> 50.6-alt1 - Initial build from scratch |