Пакет vegastrike: 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 | # BEGIN SourceDeps(oneline): BuildRequires: gcc-c++ libexpat-devel perl(English.pm) zlib-devel # END SourceDeps(oneline) BuildRequires: boost-python-devel Name: vegastrike Version: 0.5.1 Release: alt3_10.r1 Summary: 3D OpenGL spaceflight simulator Group: Games/Other License: GPLv2+ URL: http://vegastrike.sourceforge.net/ #Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.r1.tar.bz2 # Found in the mandriva srpm, origin Debian ? Source1: %{name}-manpages.tar.bz2 Source2: %{name}-wrapper.sh Source3: %{name}.desktop Patch0: vegastrike-0.5.1-char-fix.patch Patch1: vegastrike-0.5.1-paths-fix.patch Patch2: vegastrike-0.4.2-posh-fix.patch Patch3: vegastrike-0.4.2-vssetup-fix.patch Patch4: vegastrike-0.4.3-64-bit.patch Patch5: vegastrike-0.5.1-openal.patch Patch6: vegastrike-0.5.1-sys-python.patch Patch8: vegastrike-0.5.1-gcc44.patch Patch9: vegastrike-0.5.0-glext.patch Patch12: vegastrike-0.5.1-boost146.patch Patch14: vegastrike-0.5.1-gcc47.patch Patch15: vegastrike-0.5.1-music.patch Patch16: vegastrike-0.5.1-gcc48.patch BuildRequires: libGLU-devel libfreeglut-devel libXi-devel libXmu-devel gtk2-devel BuildRequires: libjpeg-devel libpng-devel boost-devel boost-filesystem-devel boost-wave-devel boost-graph-parallel-devel boost-math-devel boost-mpi-devel boost-program_options-devel boost-signals-devel boost-intrusive-devel boost-asio-devel expat-devel python-devel BuildRequires: libSDL_mixer-devel libopenal-devel libalut-devel BuildRequires: libvorbis-devel libogre-devel cegui-devel desktop-file-utils Requires: %{name}-data = %{version} icon-theme-hicolor xdg-utils Requires: opengl-games-utils Source44: import.info Patch33: vegastrike-0.5.1-alt-SharedPool.patch %description Vega Strike is a GPL 3D OpenGL Action RPG space sim that allows a player to trade and bounty hunt. You start in an old beat up Wayfarer cargo ship, with endless possibility before you and just enough cash to scrape together a life. Yet danger lurks in the space beyond. %prep %setup -q -a 1 -n %{name}-src-%{version}.r1 %patch0 -p0 %patch1 -p0 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p0 %patch6 -p0 %patch8 -p0 %patch9 -p1 %patch12 -p0 %patch14 -p1 %patch15 -p3 %patch16 -p0 iconv -f ISO-8859-1 -t UTF-8 README > README.tmp touch -r README README.tmp mv README.tmp README sed -i 's/-lboost_python-st/-lboost_python/g' Makefile.in # we want to use the system version of expat.h rm objconv/mesher/expat.h %patch33 -p2 %build export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" %configure --with-data-dir=%{_datadir}/%{name} --with-boost=system \ --enable-release --enable-flags="-DBOOST_PYTHON_NO_PY_SIGNATURES $RPM_OPT_FLAGS" --disable-ffmpeg \ --enable-stencil-buffer make %{?_smp_mflags} CXXLD="g++ -Wl,--no-as-needed" %install #make install PREFIX=$RPM_BUILD_ROOT doesn't work %makeinstall install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name} chmod +x $RPM_BUILD_ROOT%{_prefix}/objconv/* mv $RPM_BUILD_ROOT%{_prefix}/objconv/* \ $RPM_BUILD_ROOT%{_libexecdir}/%{name} for i in asteroidgen base_maker mesh_xml mesher replace tempgen trisort \ vsrextract vsrmake; do mv $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_libexecdir}/%{name} done mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6 install -p -m 644 *.6 $RPM_BUILD_ROOT%{_mandir}/man6 # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE3} %files %doc AUTHORS COPYING DOCUMENTATION README ToDo.txt %{_bindir}/vega* %{_bindir}/vs* %{_libexecdir}/%{name} %{_mandir}/man6/* %{_datadir}/applications/%{name}.desktop %changelog * Tue Feb 26 2013 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt3_10.r1 - update to new release by fcimport * Wed Feb 06 2013 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt3_6.r1 - update to new release by fcimport * Sat Dec 01 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt3_4.r1.2 - Rebuilt with Boost 1.52.0 * Mon Oct 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt3_4.r1.1 - Rebuilt with libpng15 * Wed Sep 05 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt3_4.r1 - update to new release by fcimport * Tue Jun 26 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt3_2.r1 - fixed build * Thu Jun 07 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt2_2.r1 - update to new fc release * Mon May 28 2012 Slava Dubrovskiy <dubrsl@altlinux.org> 0.5.1-alt2_0.6.beta1.4 - Rebuilt with ogre 1.8.0 * Thu Apr 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt2_0.6.beta1.3 - Rebuilt with Boost 1.49.0 * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt2_0.6.beta1.2 - rebuild with fixed sourcedep analyser (#27020) * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt1_0.6.beta1.2 - update to new release by fcimport * Sun Dec 11 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt1_0.4.beta1.2 - updated by fcimport * Mon Dec 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt1_0.2.beta1.2.2 - Rebuilt with Boost 1.48.0 * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.5.1-alt1_0.2.beta1.2.1 - Rebuild with Python-2.7 * Tue Aug 09 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.1-alt1_0.2.beta1.2 - update to new release by fcimport * Mon Aug 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.0-alt1_23.1 - Rebuilt with Boost 1.47.0 * Thu Jul 07 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.0-alt1_23 - update to new release by fcimport * Fri May 13 2011 Slava Dubrovskiy <dubrsl@altlinux.org> 0.5.0-alt1_21.2 - Rebuild with new ogre * Fri Mar 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.0-alt1_21.1 - Rebuilt with Boost 1.46.1 * Wed Feb 16 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.0-alt1_21 - converted from Fedora by srpmconvert script |