From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: =?koi8-r?b?4czFy9PFyiD7xc7Dxdc=?= Organization: =?utf-8?b?0J7QkNCe?= "=?utf-8?b?0J3QodCg0Jc=?=" To: ALT Linux Team development discussions Date: Tue, 25 Sep 2007 18:40:49 +0400 User-Agent: KMail/1.9.7 References: <200709241755.51446.ledest@gmail.com> In-Reply-To: <200709241755.51446.ledest@gmail.com> X-Face: 'QRI*AI~am"KKk`p4bg0l4ch1, =?utf-8?q?=5BP=7EF=5Ew-u!q=5Bv=2EWl=24=7Bjo=7D68Zshm=25-QSKu=7C5=7D8pnQwrD?= =?utf-8?q?=27J=0A=09=5Ex0BM=3FY=7CT?=)32~xr1='^e[i}1&jf_o/X Subject: Re: [devel] ufoai.spec X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2007 14:40:50 -0000 Archived-At: List-Archive: List-Post: =F0=CF=D3=CC=C5 =D7=D3=C5=C7=CF =DE=D4=CF =DA=C4=C5=D3=D8 =D3=CB=C1=DA=C1= =CE=CF =D0=CF=CC=D5=DE=C9=CC=CF=D3=D8 =D5 =CD=C5=CE=D1 =D4=C1=CB=CF=C5 (=D0= =D2=CF =CD=C5=CE=C0 =CF=D4=C4=C5=CC=D8=CE=CF =C9 =CE=C5=20 =D3=C5=C7=CF=C4=CE=D1): =2D(ashen@oasu3)-(~/RPM/SPECS)-> cat ufoai.spec Name: ufoai Version: 2.1.1 Release: alt1.5 License: GPL Packager: Alexey Shentzev URL: http://ufoai.ninex.info/ Group: Games/Strategy BuildRequires: libarts-devel libjpeg-devel libmesa-devel libSDL-devel=20 libSDL_ttf-devel packages-info-i18n-common Requires: ufoai-music >=3D 2 Requires: ufoai-maps >=3D 2 Requires: libarts libjpeg libmesa libSDL libSDL_ttf libvorbis libalsa= =20 libjpeg libogg Summary: UFO:AI Source0: %name-%version-source.tar.bz2 Source1: %name.png Source2: %name.desktop Source3: %name #Patch0: ref_glx.patch %description UFO: ALIEN INVASION is a strategy game featuring tactical combat against hostile alien forces which are about to infiltrate earth at this very moment. You are in command of a small special unit which has been founded to face the alien strike force. To be successful on the long run, you will also have to have a research team study the aliens and their technologies in order to learn as much as possible about their technology, their goals and the aliens themselves. %description -l ru_RU.UTF-8 UFO: ALIEN INVASION =D0=CF=DB=C1=C7=CF=D7=C1=D1 =D3=D4=D2=C1=D4=C5=C7=C9=D1= , =C2=CF=D2=D8=C2=C1 =D3 =C9=CE=CF=D0=CC=C1=CE=C5=D4=CE=D9=CD =D7=D4=CF=D2=D6=C5=CE=C9=C5=CD =CE=C1 =CD=C1=D4=D5=DB=CB=D5 =FA=C5=CD=CC=C0. =F7=D9 =D1=D7=CC=C5=C5=D4=C5=D3=D8 =D5=DE=C1=D3=D4=CE=C9=CB=CF=CD =D3=D0=C5= =C3=CB=CF=CD=C1=CE=C4=D9 =D0=CF =C2=CF=D2=D8=C2=C5 =D3 =C9=CE=CF=D0=CC=C1= =CE=C5=D4=CE=D9=CD =D7=D4=CF=D2=D6=C5=CE=C9=C5=CD =CE=C1 =D0=CC=C1=CE=C5=D4=D5 =FA=C5=CD=CC=D1, =D3=CF=DA=C4=C1=CE=CE=CF=CA = =C4=CC=D1 =D0=D2=CF=D4=C9=D7=CF=D3=D4=CF=D1=CE=C9=D1 =CE=C5=C9=DA=D7=C5=D3= =D4=CE=CF=CA =D5=C7=D2=CF=DA=C5. =E4=CC=D1 =C4=CF=D3=D4=C9=D6=C5=CE=C9=D1 =D5=D3=D0=C5=C8=C1 =F7=C1=CD =CE= =C5=CF=C2=C8=CF=C4=C9=CD=CF =CE=C5 =D4=CF=CC=D8=CB=CF =D7=D9=C9=C7=D2=D9=D7= =C1=D4=D8 =C2=C9=D4=D7=D9, =CE=CF =C9 =C9=DA=D5=DE=C1=D4=D8 =C9=CE=CF=D0=CC=C1=CE=C5=D4=D1=CE, =C9=C8 =C3=C5=CC= =C9, =D4=C5=C8=CE=CF=CC=CF=C7=C9=C9, =CF=D2=D5=D6=C9=C5. %prep %setup -n %name-%version-source #%patch0 -p1 %build #%%configure --prefix=3D/usr --sysconfdir=3D%_sysconfdir --with-alsa %configure --with-alsa make make lang %install install -d -m 0755 %buildroot{%_bindir,%_libexecdir/%name} install -m 0755 ufo{,2map,ded,master} qdata %buildroot%_bindir/ install -m 0644 *.so %buildroot%_libexecdir/%name/ install -D -m 0644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png install -D -m 0644 %SOURCE2 %buildroot%_datadir/applications/%name.desktop install -D -m 0755 %SOURCE3 %buildroot%_bindir/%name cp -pr base %buildroot%_libexecdir/%name ln -s %_libexecdir/%name/base/i18n %buildroot%_libexecdir/%name/i18n # menu cat < %buildroot%_desktopdir/%name.desktop [Desktop Entry] Encoding=3DUTF-8 Type=3DApplication Exec=3Dufo +set s_libdir %_libexecdir/ufoai +set fs_basedir %_libexecdir/uf= oai=20 +set vid_ref sdl Patch=3D%_libexecdir/%name Icon=3D%name Terminal=3Dfalse Name=3DUFO: Alien Invasion Comment=3D=F0=CF=DB=C1=C7=CF=D7=C1=D1 =D3=D4=D2=C1=D4=C5=C7=C9=D1 Categories=3DStrategyGame;Game __MENU__ %post %update_menus %postun %clean_menus %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc README BUGS CONTRIBUTORS COPYING %_bindir/ufo %_bindir/ufomaster %_bindir/ufo2map %_bindir/ufoded %_bindir/qdata %_bindir/%name %_datadir/pixmaps/%name.png %_datadir/applications/%name.desktop %_libexecdir/%name/* %changelog =2D-=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =FB=C5=CE=C3=C5=D7 =E1=CC=C5=CB=D3=C5=CA = =F7=CC=C1=C4=C9=CD=C9=D2=CF=D7=C9=DE. E-mail: ashen@nsrz.ru XMPP: ashen@altlinux.org, AlexShen@jabber.ru ICQ: 271053845