From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on magic.kiev.ua X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.0 tests=BAYES_50,RDNS_NONE, USER_IN_WHITELIST_TO autolearn=no version=3.2.1 From: Led To: ALT Linux Team development discussions Date: Tue, 25 Sep 2007 18:10:50 +0300 User-Agent: KMail/1.9.7 References: <200709241755.51446.ledest@gmail.com> <200709251840.49284.ashen@nsrz.ru> In-Reply-To: <200709251840.49284.ashen@nsrz.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200709251810.50758.ledest@gmail.com> X-Virus-Scanned: ClamAV using ClamSMTP 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 15:10:18 -0000 Archived-At: List-Archive: List-Post: =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 Tuesday 25 September 2007 17:40:49 = =E1=CC=C5=CB=D3=C5=CA =FB=C5=CE=C3=C5=D7 =CE=C1=D0=C9=D3=C1=CC(=C1): > =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 =D3=C5=C7=CF=C4=CE=D1): > > -(ashen@oasu3)-(~/RPM/SPECS)-> cat ufoai.spec > Name: ufoai > Version: 2.1.1 > Release: alt1.5 > License: GPL =2D License: GPL + License: GPLv2+ > Packager: Alexey Shentzev > URL: http://ufoai.ninex.info/ > Group: Games/Strategy > BuildRequires: libarts-devel libjpeg-devel libmesa-devel libSDL-devel > 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 libal= sa > 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 =2D make =2D make lang + %make_build all 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 =2D install -D -m 0644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png + install -D -m 0644 %SOURCE1 %buildroot%_pixmapsdir/%name.png > install -D -m 0644 %SOURCE2 %buildroot%_datadir/applications/%name.desktop =2D install -D -m 0644 %SOURCE2 %buildroot%_datadir/applications/%name.desk= top + install -D -m 0644 %SOURCE2 %buildroot%_desktopdir/%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 =2D ln -s %_libexecdir/%name/base/i18n %buildroot%_libexecdir/%name/i18n + ln -s 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/ufoai +set vid_ref sdl > Patch=3D%_libexecdir/%name Patch? =ED=CF=D6=C5=D4 =C9=CD=C5=CC=D3=D1 =D7 =D7=C9=C4=D5 Path > 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 =2D Comment=3D=F0=CF=DB=C1=C7=CF=D7=C1=D1 =D3=D4=D2=C1=D4=C5=C7=C9=D1 + Comment=3D.............................. + Comment[ru]=3D=F0=CF=DB=C1=C7=CF=D7=C1=D1 =D3=D4=D2=C1=D4=C5=C7=C9=D1 > Categories=3DStrategyGame;Game > __MENU__ =2D __MENU__ + EOF > > %post > %update_menus > > %postun > %clean_menus > > %clean > rm -rf "$RPM_BUILD_ROOT" =2D %clean =2D rm -rf "$RPM_BUILD_ROOT" > > %files > %defattr(-,root,root) =2D %defattr(-,root,root) > %doc README BUGS CONTRIBUTORS COPYING =2D %doc README BUGS CONTRIBUTORS COPYING + %doc README BUGS CONTRIBUTORS > %_bindir/ufo > %_bindir/ufomaster > %_bindir/ufo2map > %_bindir/ufoded > %_bindir/qdata > %_bindir/%name > %_datadir/pixmaps/%name.png =2D %_datadir/pixmaps/%name.png + %_pixmapsdir/%name.png > %_datadir/applications/%name.desktop =2D %_datadir/applications/%name.desktop + %_dsedktopdir/%name.desktop + %dir %_libexecdir/%name > %_libexecdir/%name/* > > %changelog =F4=C1=CB=D6=C5 =D2=C5=CB=CF=CD=C5=CE=C4=D5=C0 =C9=DA=D5=DE=C9=D4=D8 =D7=D9= =D7=CF=C4 =2E/configure --help =E9 =D0=D2=C9 =C9=DA=C7=CF=D4=CF=D7=CC=C5=CE=C9=C9 =D0=C1=CB=C5=D4=C1 / =CE= =C1=D0=C9=D3=C1=CE=C9=C9 =D3=D0=C5=CB=C1 =C9=CD=C5=D4=D8 =DC=D4=CF =C9=DA= =D5=DE=C5=CE=CE=CF=C5 =D7=D7=C9=C4=D5. =2D-=20 Led