Package refkeen: 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 | Name: refkeen Version: 0.18.3 Release: alt3.1 Summary: Ports of Keen Dreams, Catacomb 3-D and the Catacomb Adventure Series License: GPLv2+ Group: Games/Arcade Url: https://github.com/NY00123/refkeen Packager: Artyom Bystrov <arbars@altlinux.org> Source: %name-%version.tar BuildRequires: cmake gcc-c++ rpm-macros-cmake libSDL2-devel libspeexdsp-devel ImageMagick-tools ExclusiveArch: %ix86 x86_64 %e2k loongarch64 %description Reflection Keen is a project consisting of source ports of the following titles, all being inspired by the Chocolate Doom port: Keen Dreams. Catacomb 3-D (The Descent) and The Catacomb Adventure Series. Wolfenstein 3D, Spear of Destiny and Super 3-D Noah's Ark (DOS version). %package reflection-catacomb Summary: Reflection Keen: Catacomb-3D source port Group: Games/Arcade %description reflection-catacomb Reflection Keen: Catacomb-3D source port %package reflection-wolf3d Summary: Reflection Keen: Wolfenstein 3D, Spear of Destiny and Super 3-D Noah's Ark source port Group: Games/Arcade %description reflection-wolf3d Reflection Keen: Wolfenstein 3D, Spear of Destiny and Super 3-D Noah's Ark source port %package reflection-kdreams Summary: Reflection Keen: Keen Dreams source port Group: Games/Arcade %description reflection-kdreams Reflection Keen: Keen Dreams source port %prep %setup -n %name-%version %build %cmake_insource %make_build %install install -Dm0755 reflection-catacomb %buildroot%_bindir/reflection-catacomb install -Dm0755 reflection-kdreams %buildroot%_bindir/reflection-kdreams install -Dm0755 reflection-wolf3d %buildroot%_bindir/reflection-wolf3d mkdir -p %buildroot%_datadir/%name/reflection-catacomb mkdir -p %buildroot%_datadir/%name/reflection-kdreams mkdir -p %buildroot%_datadir/%name/reflection-wolf3d mkdir -p %buildroot%_desktopdir cat > %buildroot%_desktopdir/reflection-catacomb.desktop << EOF [Desktop Entry] Name=Reflection Catacomb-3D Comment=Catacomb-3D source port Exec=reflection-catacomb -softlauncher Icon=reflection-catacomb Terminal=false Type=Application Categories=Game;ArcadeGame; EOF cat > %buildroot%_desktopdir/reflection-kdreams.desktop << EOF [Desktop Entry] Name=Reflection Keen Dreams Comment=Keen Dreams source port Exec=reflection-kdreams -softlauncher Icon=reflection-kdreams Terminal=false Type=Application Categories=Game;ArcadeGame; EOF cat > %buildroot%_desktopdir/reflection-wolf3d.desktop << EOF [Desktop Entry] Name=Reflection Wolfenstein 3D Comment=Wolfenstein 3D source port Exec=reflection-wolf3d -softlauncher Icon=reflection-wolf3d Terminal=false Type=Application Categories=Game;ArcadeGame; EOF for N in 16 32 48 64 128; do convert rsrc/reflection-cat3d-128x128.png -scale ${N}x${N} $N.png; install -D -m 0644 $N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/reflection-catacomb.png done for N in 16 32 48 64 128; do convert rsrc/reflection-kdreams-128x128.png -scale ${N}x${N} $N.png; install -D -m 0644 $N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/reflection-kdreams.png done for N in 16 32 48 64 128; do convert rsrc/reflection-wolf3d-128x128.png -scale ${N}x${N} $N.png; install -D -m 0644 $N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/reflection-wolf3d.png done %files %doc AUTHORS.md README.md %files reflection-catacomb %_bindir/reflection-catacomb %_datadir/%name/reflection-catacomb %_desktopdir/reflection-catacomb.desktop %_iconsdir/hicolor/*/apps/reflection-catacomb.png %files reflection-kdreams %_bindir/reflection-kdreams %_datadir/%name/reflection-kdreams %_desktopdir/reflection-kdreams.desktop %_iconsdir/hicolor/*/apps/reflection-kdreams.png %files reflection-wolf3d %_bindir/reflection-wolf3d %_datadir/%name/reflection-wolf3d %_desktopdir/reflection-wolf3d.desktop %_iconsdir/hicolor/*/apps/reflection-wolf3d.png %changelog * Thu Mar 07 2024 Alexey Sheplyakov <asheplyakov@altlinux.org> 0.18.3-alt3.1 - NMU: build for LoongArch * Tue Apr 13 2021 Artyom Bystrov <arbars@altlinux.org> 0.18.3-alt3 - Add e2k arch in ExclusiveArch (thanks to mike@) - Fixing path to binaries and icons * Sat Apr 10 2021 Artyom Bystrov <arbars@altlinux.org> 0.18.3-alt2 - Add ExclusiveArch * Sat Apr 10 2021 Artyom Bystrov <arbars@altlinux.org> 0.18.3-alt1 - initial build for ALT Sisyphus |