Пакет springrts: 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 | %define _unpackaged_files_terminate_build 1 %def_disable debug Name: springrts Version: 91.0 Release: alt1.git20120830.qa1.1 Summary: Real time strategy game engine with many mods License: GPL2+ or Artistic Group: Games/Strategy Url: http://springrts.com/ BuildRequires(pre): rpm-build-xdg rpm-macros-cmake BuildRequires: cmake cmake-modules java-devel /proc libGL-devel libGLU-devel gcc-c++ BuildRequires: boost-devel boost-program_options-devel boost-asio-devel boost-signals-devel BuildRequires: libICE-devel libSM-devel libX11-devel libXdamage-devel libXfixes-devel libXrender-devel BuildRequires: libXt-devel libfreetype-devel libogg-devel libstdc++-devel BuildRequires: xorg-inputproto-devel xorg-kbproto-devel xorg-xextproto-devel xorg-xf86miscproto-devel BuildRequires: xorg-xineramaproto-devel xorg-xproto-devel zlib-devel p7zip libXcursor-devel BuildRequires: libdevil-devel libfreeglut-devel libglew-devel libopenal1-devel BuildRequires: libvorbis-devel python-devel libSDL-devel BuildPreReq: docbook5-style-xsl asciidoc libminizip-devel BuildPreReq: libXres-devel libXtst-devel libXau-devel libXcomposite-devel BuildPreReq: libXdmcp-devel libXext-devel libXft-devel libXi-devel BuildPreReq: libXinerama-devel libxkbfile-devel libXmu-devel libXpm-devel BuildPreReq: libXrandr-devel libXScrnSaver-devel libXv-devel BuildPreReq: libXxf86misc-devel libXxf86vm-devel Requires: %name-data = %version-%release # git://springrts.git.sourceforge.net/gitroot/springrts/springrts Source0: %name-%version.tar %description Spring is an open source RTS (Real time Strategy) engine originally designed to recreate the experience of Total Annihilation. Spring now supports many different games ("mods"), including both remakes of the original Total Annihilation and completely new games. This package contains the game engine and default AI, but no maps, mods, or user interface. %package data Summary: data files for Spring RTS engine Group: Games/Strategy BuildArch: noarch %description data data files for Spring RTS engine %package dedicated Summary: springrts dedicated server Group: Games/Strategy Requires: %name-data = %version-%release %description dedicated springrts dedicated server %prep %setup %build %cmake \ %if_enabled debug -DCMAKE_BUILD_TYPE=Debug \ %else -DCMAKE_BUILD_TYPE=Release \ %endif -DLIBDIR=%_libdir \ -DBINDIR=%_gamesbindir \ -DAI_LIBS_DIR=%_libdir/spring \ -DAI_DATA_DIR=%_gamesdatadir/spring \ -DDOCDIR=share/doc/%name-%version \ -DDOCBOOK_XSL=%_datadir/sgml/docbook/xsl-ns-stylesheets/manpages/docbook.xsl %make_build -C BUILD VERBOSE=1 %install %makeinstall_std -C BUILD VERBOSE=1 mkdir %buildroot%_gamesdatadir/spring/{mods,maps} %if_enabled debug %add_strip_skiplist %_bindir/* %add_strip_skiplist %_libdir/* %endif %files %_gamesbindir/spring %_gamesbindir/spring-headless %_gamesbindir/spring-multithreaded %_libdir/spring %doc %_docdir/%name-%version %_man6dir/* %exclude %_man6dir/spring-dedicated.6* %files data %_gamesdatadir/* %_pixmapsdir/* %_xdgmimedir/packages/* %_desktopdir/* %files dedicated %_gamesbindir/spring-dedicated %_libdir/*.so %_man6dir/spring-dedicated.6* %post data [ -f %_gamesdatadir/spring/base/otacontent.sdz ] && \ [ -f %_gamesdatadir/spring/base/tacontent_v2.sdz ] && \ [ -f %_gamesdatadir/spring/base/tatextures_v062.sdz ] && exit 0 echo " ================= Non-free content not included ===================" echo " Please download and install additional non-free content which " echo " could not be included in this package. " echo "" echo " 1. download http://files.simhost.org/Spring/base-ota-content.zip " echo " 2. extract it to %_gamesdatadir/spring/base " echo " ====================================================================" %changelog * Sat Jan 03 2015 Ivan A. Melnikov <iv@altlinux.org> 91.0-alt1.git20120830.qa1.1 - rebuild with boost 1.57.0 - fix build * Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 91.0-alt1.git20120830.qa1 - NMU: rebuilt with libboost_*.so.1.53.0. * Wed Dec 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 91.0-alt1.git20120830 - Version 91.0 * Mon Jul 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.81.2.1-alt1.5 - Fixed build * Thu Apr 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.81.2.1-alt1.4 - Rebuilt with Boost 1.49.0 * Mon Aug 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.81.2.1-alt1.3 - Rebuilt with Boost 1.47.0 * Fri Mar 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.81.2.1-alt1.2 - Rebuilt with Boost 1.46.1 * Thu Dec 16 2010 Igor Vlasenko <viy@altlinux.ru> 0.81.2.1-alt1.1 - rebuild with new icu44 and/or boost by request of git.alt administrator * Thu Apr 15 2010 Maxim Ivanov <redbaron at altlinux.org> 0.81.2.1-alt1 - Bump to 0.81.2.1 - NTAI removed as it is broken - Fix AI load crash * Thu Apr 15 2010 Maxim Ivanov <redbaron at altlinux.org> 0.81.1.3-alt2 - Fix build with current Boost - Fix AI libs search by unitsync library * Mon Feb 01 2010 Maxim Ivanov <redbaron at altlinux.org> 0.81.1.3-alt1 - Bump to 0.81.1.3 * Sun Jan 24 2010 Maxim Ivanov <redbaron at altlinux.org> 0.81.0-alt1 - Bump to 0.81.0 * Sat Jan 09 2010 Maxim Ivanov <redbaron at altlinux.org> 0.80.5.2-alt1 - Updated to 0.80.5.2 - Corrected buildreq - Better arch vs noarch files destribution * Sat Oct 31 2009 Maxim Ivanov <redbaron at altlinux.org> 0.80.5.1-alt1 - Updated to 0.80.5.1 - Dedicated server packed separately * Sat Sep 05 2009 Maxim Ivanov <redbaron at altlinux.org> 0.80.4.1-alt1 - Update to 0.80.4.1 * Sat Aug 29 2009 Maxim Ivanov <redbaron at altlinux.org> 0.80.2-alt1 - Update to 0.80.2 * Sun Jun 07 2009 Maxim Ivanov <redbaron at altlinux.org> 0.79.1-alt1 - Initial build for ALTLinux |