From: "Хихин Руслан" <hihin@yandex.ru> To: devel@lists.altlinux.org Subject: Re: [devel] ufoai-диверсия Date: Wed, 3 Oct 2007 10:08:03 +0400 Message-ID: <200710031008.08682@ruslandh> (raw) In-Reply-To: <9713cfcc0710021038u4819f7d6ld9cae9d0b86d4b1@mail.gmail.com> [-- Attachment #1.1: Type: text/plain, Size: 1689 bytes --] Здравствуйте Led В сообщении от Вторник 02 октября 2007 Led написал(a): > maps/music/data в отдельные noarch пакеты не вынесены. Вынес, правда в не noarch, но это исправить не проблема > nosrc.rpm пакет - просто-таки "образцово-показательный": ни URL'ов к Как не указан ? А это что : .... Url: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk/ .... Или вы хотите, что-бы url был в Source0 ? Я не представляю как его туда вписать. > сырцам, > ни способа их получения в спеке не указано. Подскажите это как ? PS Вызываю огонь на себя :) Прикладываю спек. Лучше его исправить до сборки. Уже нашёл ошибку - /usr/bin/ufoai создаётся с правами 644, время сейчас исправить нет :) PPS Всем спасибо за svn export. Это уменьшило размер сорца, но ... 5537522 Окт 3 06:19 ufoai-2.2-alt1.svn20070730.x86_64.rpm 115462029 Окт 3 06:20 ufoai-data-2.2-alt1.svn20070730.x86_64.rpm 74395988 Окт 3 06:20 ufoai-maps-2.2-alt1.svn20070730.x86_64.rpm 147157367 Окт 3 06:20 ufoai-music-2.2-alt1.svn20070730.x86_64.rpm 296218828 Окт 3 06:19 ufoai-2.2-alt1.svn20070730.src.rpm Собрался за 4 часа для одной архитектуры в хэшере, с картами и т.п. Выявлены ошибки, надо тестировать и ещё собирать :) Можно конечно сорец разбить на 2 части это ускорит отладку и настройку программы - движок и всё остальное, но тогда не понятно как это отобразить в спеке. Тогда точно будут вопросы - а откуда взмлись эти сорцы. Но тогда время сборки движка будет быстрым. А карты отдельно, они конечно могут быть прописаны в движке (названия), но есть надежда, что собирать их можно будет не так часто (т.е. в сорец уже класть собранные, но не упакованные карты). -- С уважением Хихин Руслан [-- Attachment #1.2: ufoai.spec --] [-- Type: text/plain, Size: 6075 bytes --] %define svnversion svn20070730 %define _localedir %_datadir/locale Name: ufoai Version: 2.2 Release: alt1.%svnversion License: GPL Packager: Alexey Shentzev <ashen@altlinux.org> Url: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk/ Group: Games/Strategy BuildPreReq: libarts-devel libjpeg-devel libmesa-devel BuildPreReq: libcurl-devel libSDL-devel libSDL_ttf-devel Requires: ufoai-music = %version Requires: ufoai-maps = %version Requires: ufoai-data = %version Summary: UFO: ALIEN INVASION is a strategy game Source0: %name-%svnversion.tar.bz2 Source1: %name.png Source2: ufoai_ru_po.tar.bz2 #Source3: #name ExclusiveArch: %ix86 x86_64 BuildArch: %ix86 x86_64 Patch1: ufoai-2.1.1-SDL.patch Patch2: ufoai-svn20070726-rootdir.patch Patch3: ufoai-svn20070730-locale.patch Patch4: ufoai-svn20070730-nice.patch # Automatically added by buildreq on Tue Oct 02 2007 BuildRequires: libpng-devel libvorbis-devel BuildRequires: packages-info-i18n-common tetex-context tetex-latex zip %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 п©п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐, п╠п╬я─я▄п╠п╟ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪ п╡я┌п╬я─п╤п╣п╫п╦п╣п╪ п╫п╟ п╪п╟я┌я┐я┬п╨я┐ п≈п╣п╪п╩я▌. п▓я▀ я▐п╡п╩п╣п╣я┌п╣я│я▄ я┐я┤п╟я│я┌п╫п╦п╨п╬п╪ я│п©п╣я├п╨п╬п╪п╟п╫п╢я▀ п©п╬ п╠п╬я─я▄п╠п╣ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪ п╡я┌п╬я─п╤п╣п╫п╦п╣п╪ п╫п╟ п©п╩п╟п╫п╣я┌я┐ п≈п╣п╪п╩я▐, я│п╬п╥п╢п╟п╫п╫п╬п╧ п╢п╩я▐ п©я─п╬я┌п╦п╡п╬я│я┌п╬я▐п╫п╦я▐ п╫п╣п╦п╥п╡п╣я│я┌п╫п╬п╧ я┐пЁя─п╬п╥п╣. п■п╩я▐ п╢п╬я│я┌п╦п╤п╣п╫п╦я▐ я┐я│п©п╣я┘п╟ п▓п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╫п╣ я┌п╬п╩я▄п╨п╬ п╡я▀п╦пЁя─я▀п╡п╟я┌я▄ п╠п╦я┌п╡я▀, п╫п╬ п╦ п╦п╥я┐я┤п╟я┌я▄ п╦п╫п╬п©п╩п╟п╫п╣я┌я▐п╫, п╦я┘ я├п╣п╩п╦, я┌п╣я┘п╫п╬п╩п╬пЁп╦п╦, п╬я─я┐п╤п╦п╣. %package music Summary: This is the Music Pack to strategy game UFO2 :Alien Invasion Group: Games/Strategy BuildArch: noarch ExclusiveArch: %ix86 %package maps Summary: This is the Maps Pack to strategy game UFO2 :Alien Invasion Group: Games/Strategy BuildArch: noarch ExclusiveArch: %ix86 %package data Summary: This is the Data Pack to strategy game UFO2 :Alien Invasion Group: Games/Strategy BuildArch: noarch ExclusiveArch: %ix86 %description data This is the Data Pack to UFO:AI %description data -l ru_RU.UTF-8 п■п╟п╫п╫я▀п╣ п╢п╩я▐ п╦пЁя─я▀ UFO:AI %description maps This is the Map-Pack to UFO:AI. It is mandatory to play. %description maps -l ru_RU.UTF-8 Maps-я└п╟п╧п╩я▀ п╢п╩я▐ UFO:AI. %description music This is the Music Pack to UFO:AI %description music -l ru_RU.UTF-8 п°я┐п╥я▀п╨п╟ п╢п╩я▐ п╦пЁя─я▀ UFO:AI %prep %setup -n %name #patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build %configure --with-alsa --localedir=%_datadir/locale --libdir=%_libdir/%name \ --datadir=%_gamesdatadir/%name --bindir=%_gamesbindir/ #configure LDFLAFS=--no-as-need %make_build %make_build lang #make_build maps pushd src/docs/tex make pushd pushd base ./archives.sh popd %install #make_build install ROOTDIR=%buildroot DATADIR=%_gamesdatadir/%name BINDIR=%_gamesbindir/ install -d -m 755 %buildroot%_gamesdatadir/%name/base install -d -m 755 %buildroot%_gamesbindir install -d -m 755 %buildroot%_bindir install -d -m 755 %buildroot%_localedir pushd base/i18n for dir in *; do install -D -m 644 $dir/LC_MESSAGES/ufoai.mo %buildroot%_localedir/$dir/LC_MESSAGES/ufoai.mo; done popd install -D -m 0755 ufo %buildroot%_gamesbindir/ufo install -D -m 0755 ufo %buildroot%_gamesbindir/ufo2map install -D -m 0755 ufo %buildroot%_gamesbindir/ufoded install -D -m 0755 ufo %buildroot%_gamesbindir/ufomaster install -D -m 0755 ufo %buildroot%_gamesbindir/qdata install -D -m 0644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png install -D -m 0644 base/game.so %buildroot%_libdir/%name/game.so install -D -m 0644 base/* %buildroot%_gamesdatadir/%name/base # .desktop install -d -m 755 %buildroot%_desktopdir/ cat > %buildroot%_desktopdir/%name.desktop << EOF [Desktop Entry] Encoding=UTF-8 Type=Application Exec=ufo +set s_libdir %_libdir/ufoai +set fs_basedir %_libdir/ufoai +set vid_ref sdl Patch=%_libdir/%name Icon=%name Terminal=false Name=UFO: Alien Invasion Comment=п÷п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐ Categories=StrategyGame;Game EOF cat > %buildroot%_bindir/%name << EOF #!/bin/sh cd /usr/share/games/ufoai /usr/games/ufo +set s_libdir /usr/share/games/ufoai +set fs_basedir /usr/share/games/ufoai +set vid_ref sdl +set fs_i18ndir /usr/share/locale EOF %find_lang %name %post %update_menus %postun %clean_menus %files -f %name.lang %doc README CONTRIBUTORS src/docs/tex/ufo-manual_EN.pdf %_gamesbindir/ufo %_gamesbindir/ufomaster %_gamesbindir/ufo2map %_gamesbindir/ufoded %_gamesbindir/qdata %_libdir/%name/game.so %attr(755,root,root) %_bindir/%name %_datadir/pixmaps/%name.png %_datadir/applications/%name.desktop %files data %dir %_gamesdatadir/%name %_gamesdatadir/%name/base/0base.pk3 %_gamesdatadir/%name/base/0models.pk3 %_gamesdatadir/%name/base/0pics.pk3 %_gamesdatadir/%name/base/0ufos.pk3 %_gamesdatadir/%name/base/0media.pk3 %files maps %_gamesdatadir/%name/base/0maps.pk3 %files music %_gamesdatadir/%name/base/0music.pk3 %_gamesdatadir/%name/base/0snd.pk3 %changelog * Tue Oct 02 2007 Hihin Ruslan <ruslandh@altlinux.ru> 2.2-alt1.svn20070730 - SVN version * Thu Sep 20 2007 Alexey Shentzev <ashen@altlinux.ru> 2.1.1-alt1.4 - add support non english language, add for start from commandline * Tue Sep 11 2007 Alexey Shentzev <ashen@altlinux.ru> 2.1.1-alt1 - first build for Alt Linux [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-10-03 6:08 UTC|newest] Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-24 14:55 Led 2007-09-24 14:50 ` Andrii Dobrovol`s`kii 2007-09-24 15:11 ` Led 2007-09-24 15:08 ` Andrii Dobrovol`s`kii 2007-09-24 15:48 ` Michael Shigorin 2007-09-24 16:14 ` Alexey I. Froloff 2007-09-24 19:49 ` Michael Shigorin 2007-09-25 12:48 ` Алексей Шенцев 2007-09-25 12:53 ` Alexey I. Froloff 2007-09-25 13:09 ` Алексей Шенцев 2007-09-25 13:29 ` Slava Semushin 2007-09-25 13:38 ` Led 2007-09-27 5:05 ` Хихин Руслан 2007-09-25 13:00 ` Led 2007-09-25 13:07 ` Led 2007-09-25 14:15 ` Michael Shigorin 2007-10-02 17:19 ` Хихин Руслан 2007-10-02 17:26 ` Motsyo Gennadi aka Drool 2007-10-02 17:35 ` Andrey Rahmatullin 2007-10-02 17:36 ` Alexey I. Froloff 2007-10-02 17:38 ` Led 2007-10-02 18:50 ` Хихин Руслан 2007-10-02 19:31 ` Led 2007-10-03 5:03 ` Алексей Шенцев 2007-10-03 5:43 ` Alexey I. Froloff 2007-10-04 4:18 ` Хихин Руслан 2007-10-03 6:08 ` Хихин Руслан [this message] 2007-10-03 7:43 ` Slava Semushin 2007-10-03 8:13 ` Michael Shigorin 2007-10-03 15:58 ` [devel] RPM-диверсия (было: Re: ufoai-диверсия) Victor Forsyuk 2007-10-03 16:22 ` [devel] RPM-диверсия ( было: Re: ufoai-диверсия ) Peter V. Saveliev 2007-10-03 16:31 ` Led 2007-10-03 18:13 ` Alexey I. Froloff 2007-10-03 19:33 ` Victor Forsyuk 2007-10-03 18:06 ` [devel] RPM-диверсия (было: Re: ufoai-диверсия) Alexey I. Froloff 2007-10-03 18:28 ` [devel] gear и несколько src пакетов Anton Farygin 2007-10-03 18:36 ` Damir Shayhutdinov 2007-10-04 7:56 ` Slava Semushin 2007-10-04 8:19 ` Damir Shayhutdinov 2007-10-08 5:05 ` Хихин Руслан 2007-10-08 5:08 ` Хихин Руслан 2007-10-08 5:59 ` Хихин Руслан 2007-10-08 6:11 ` Ildar Mulyukov 2007-10-08 9:03 ` Хихин Руслан 2007-10-03 18:39 ` Alexey I. Froloff 2007-10-03 18:59 ` Anton Farygin 2007-10-03 19:10 ` Damir Shayhutdinov 2007-10-03 19:15 ` Anton Farygin 2007-10-03 19:19 ` Alexey Gladkov 2007-10-03 19:23 ` Anton Farygin 2007-10-03 19:52 ` Alexey Gladkov 2007-10-03 19:54 ` Anton Farygin 2007-10-03 21:05 ` Хихин Руслан 2007-10-04 5:47 ` Алексей Шенцев 2007-10-04 18:14 ` Хихин Руслан 2007-10-05 6:29 ` Алексей Шенцев 2007-10-04 12:50 ` [devel] RPM-диверсия (было: Re: ufoai-диверсия) Victor Forsyuk 2007-10-04 14:12 ` Kirill A. Shutemov 2007-10-05 17:00 ` Victor Forsyuk 2007-09-25 11:43 ` [devel] ufoai-диверсия Алексей Шенцев 2007-09-25 11:45 ` [devel] [JT] reviewers (was: ufoai-диверсия) Michael Shigorin 2007-09-25 12:05 ` [devel] [JT] reviewers (was: ufoai-диверсия ) Алексей Шенцев 2007-09-25 14:14 ` Michael Shigorin 2007-09-24 15:02 ` [devel] ufoai-диверсия Alex Gorbachenko 2007-09-24 15:09 ` Alexey I. Froloff 2007-09-24 15:49 ` Michael Shigorin 2007-09-24 16:01 ` Alexey I. Froloff 2007-09-24 16:11 ` Евгений Терешков 2007-09-24 19:46 ` Michael Shigorin 2007-09-24 23:32 ` Евгений Терешков 2007-09-25 5:06 ` Алексей Шенцев 2007-09-25 6:56 ` Alexey I. Froloff 2007-09-25 8:35 ` Алексей Шенцев 2007-09-25 9:02 ` Alexander Bokovoy 2007-09-25 9:20 ` Alexander Bokovoy 2007-09-25 9:51 ` Алексей Шенцев 2007-09-25 10:08 ` Алексей Шенцев 2007-09-25 9:49 ` Alexey I. Froloff 2007-09-25 10:06 ` Алексей Шенцев 2007-09-25 13:06 ` Damir Shayhutdinov 2007-09-25 13:23 ` Alexey I. Froloff 2007-09-25 13:42 ` Damir Shayhutdinov 2007-09-25 14:14 ` Alexey I. Froloff 2007-09-25 18:56 ` Хихин Руслан 2007-09-25 19:45 ` Alexey I. Froloff 2007-09-25 7:25 ` Alexey I. Froloff 2007-09-25 9:25 ` Алексей Шенцев 2007-09-25 9:52 ` Alexey I. Froloff 2007-09-25 7:26 ` Алексей Шенцев 2007-09-25 10:21 ` Michael Shigorin 2007-09-25 14:40 ` [devel] ufoai.spec Алексей Шенцев 2007-09-25 15:10 ` Led 2007-09-26 8:23 ` Алексей Шенцев 2007-09-26 8:59 ` Led 2007-09-26 9:02 ` Алексей Шенцев 2007-09-26 11:29 ` Michael Shigorin 2007-09-26 11:46 ` Led 2007-09-26 16:03 ` Andrey Rahmatullin 2007-09-26 16:32 ` Led 2007-09-26 16:39 ` Andrey Rahmatullin 2007-09-26 16:47 ` Led 2007-09-26 16:57 ` Andrey Rahmatullin 2007-09-25 15:14 ` Michael Shigorin 2007-09-26 10:59 ` Алексей Шенцев 2007-09-26 11:14 ` Damir Shayhutdinov 2007-09-25 15:31 ` Led 2007-09-26 8:03 ` Алексей Шенцев 2007-09-26 8:36 ` Michael Shigorin 2007-09-26 8:55 ` Алексей Шенцев 2007-09-26 9:01 ` Led 2007-09-26 11:33 ` Michael Shigorin 2007-09-26 11:49 ` Алексей Шенцев 2007-09-26 12:24 ` Igor Vlasenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200710031008.08682@ruslandh \ --to=hihin@yandex.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git