[Comm] Вопрос по спеку
Slava Dubrovskiy
slava на elan.com.ua
Пт Май 13 14:22:28 MSD 2005
php-coder пишет:
> Правильно! Пакет должен быть один, а все локали должны быть завернуты
> при помощи %find_lang :))
>
> Если надо, то могу помочь, сам с этим помнится долго разбирался...
>
Прочитал. С %find_lang разобрался.
А вот с меню нет. Не появляется после установки. Пробовал и тот файл
меню, что с пакетом идет, и вручную и с помощью freedesktop2menu.pl -
без результата. :-( Вот спек и .desktop из которого генерится меню. В
чем ошибка?
PS. Может это локальная проблема? т.к. после тех событий
http://wiki.sisyphus.ru/PropazhaMenjuKDE?v=d73 когда вообще все пропало,
востановилось только часть пунктов меню с играми. И таких игр как quake,
ttd, cube3d тоже нет в меню.
--
С уважением,
Дубровский Вячеслав.
----------- следущая часть -----------
Name: gcompris
Version: 6.5.3
Release: alt0
Summary: Educational suite for kids 3-10 years old
License: GPL
Group: Games/Educational
URL: http://ofset.sf.net/gcompris
Source: ftp://gcompris.sourceforge.net/%name-%version.tar.gz
Patch0: %name-%version-alt-skip_version_chess.patch
Patch1: %name-%version-alt-skip_import_pygtk_modules.patch
Packager: Slava Dubrovskiy <dubrsl на altlinux.ru>
BuildPreReq: menu-devel
BuildRequires: glib2-devel xorg-x11-devel fontconfig freetype2
BuildRequires: chess tetex-core texinfo
BuildRequires: esound libSDL_mixer-devel libSDL-devel
BuildRequires: libart_lgpl-devel libatk-devel libgnomecanvas-devel libgtk+2-devel libpango-devel
BuildRequires: libxml2-devel libgnomeui-devel perl-XML-Parser pkgconfig
BuildRequires: libstdc++-devel libpopt-devel gcc-c++ zlib-devel
# (misc) needed for python support
BuildRequires: python-base python-dev python-module-pygnome-canvas python-module-pygtk-devel
BuildRequires: python-modules-encodings python-module-pygnome-devel
Requires: gnome-libs libxml2 gdk-pixbuf gdk-pixbuf-gnomecanvas libgnomecanvas
Requires: chess >= 5.02 libSDL_mixer
# (misc) needed for python support
Requires: python-base python-module-pygnome-canvas python-module-pygtk python-module-pygnome
Provides: python2.4(_gcompris) python2.4(_gcompris_anim) python2.4(_gcompris_bonus)
Provides: python2.4(_gcompris_score) python2.4(_gcompris_skin) python2.4(_gcompris_sound)
Provides: python2.4(_gcompris_timer) python2.4(_gcompris_utils)
%description
GCompris / I Have Understood is an educationnal game for children starting at 2.
More than 50 different activities are proposed:
* Click on the animals => learn the mouse/click usage
* Type the falling letters => learn the keyboard usage
* Falling Dices
* Falling words
* Basic algebra
* Time learning with an analog clock
* Puzzle game with famous paintings
* Drive Plane to catch clouds in increasing number
* Balance the scales
* And much more ...
The Game is included in the Main desktop menu in 'Games'.
You should install it only if you have children using this computer.
##%description -l ru_RU.KOI8-R
#GCompris / Набор образовательных игр и программ для детей от 2-х лет
#Предоставляется более 50 различных обучающих игр:
#* Выбери животное => обучение исрользованию мыши
#* Падающие буквы => обучение использованию клавиатуры
#* Падающие кости
#* Падающие слова
#* Основы счёта
#* Обучение (стрелочным) часам
#* Головоломка с известными картинами
#* На летящем самолёте ловить облака с возрастающими цифрами
#* И многое другое ...
#Устанавливать есть смысл только если есть дети, использующие компьютер
#К играм есть обширное голосовое сопровождение в пакете assetml-voices-ru
%package devel
Summary: Development package for gcompris
Group: Development/Other
%description devel
Development package for gcompris
%package voices-en
Summary: All voices in English for GCompris
Group: Games/Educational
Requires: gcompris
%description voices-en
All voices in English for GCompris
%package voices-ru
Summary: All voices in Russian for GCompris
Group: Games/Educational
Requires: gcompris
%description voices-ru
All voices in Russian for GCompris
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%build
%configure --with-editor=no
%make_build
%install
%make DESTDIR=%buildroot install
%find_lang --with-gnome %name
# menu
freedesktop2menu.pl %name "Amusement/Educational" \
%buildroot%_datadir/applications/%name.desktop \
%buildroot%_menudir/%name
%post
%update_menus
%install_info %name.info
%postun
%clean_menus
%preun
%uninstall_info %name.info
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog NEWS README
# bin
%_bindir/*
# lib
%dir %_libdir/%name/
%_libdir/%name/*.so*
%_libdir/libgcompris-1.so.0.0.0
%_libdir/libgcompris-1.so.0
# menu
%_menudir/*
%_datadir/applications/*
# data
%_datadir/%name
%_datadir/pixmaps/*.png
%_infodir/*
%dir %_datadir/assetml
%_datadir/assetml/gcompris_flags.assetml
# exclude sounds
%exclude %_datadir/gcompris/boards/sounds/*
%files devel
%_includedir/libgcompris-1.0/libgcompris
%_libdir/libgcompris-1.so
%_libdir/pkgconfig/libgcompris-1.0.pc
%files voices-en
%_datadir/gcompris/boards/sounds/en
%_datadir/assetml/gcompris_alphabet_en.assetml
%_datadir/assetml/gcompris_colors_en.assetml
%_datadir/assetml/gcompris_geography_en.assetml
%_datadir/assetml/gcompris_misc_en.assetml
%files voices-ru
%_datadir/gcompris/boards/sounds/ru
%_datadir/assetml/gcompris_alphabet_ru.assetml
%_datadir/assetml/gcompris_colors_ru.assetml
%_datadir/assetml/gcompris_geography_ru.assetml
%_datadir/assetml/gcompris_misc_ru.assetml
%changelog
* Tue May 10 2005 Slava Dubrovskiy <dubrsl на altlinux.ru> 6.5.3-alt0
- Final build for Sisyphus
* Mon May 9 2005 Guest007 <guest007 на gmail.com>
- initial build 4 Sisyphus
- dedicated for Victory Day
----------- следущая часть -----------
Было удалено вложение не в текстовом формате...
Имя : gcompris.desktop
Тип : application/x-desktop
Размер : 3784 байтов
Описание: отсутствует
Url : http://lists.altlinux.ru/pipermail/community/attachments/20050513/d4c64022/gcompris.bin
Подробная информация о списке рассылки Community