Группа :: Игры/Аркады
Пакет: tubularix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: tubularix
Summary: Tubularix is a game similar to Tetrix but seen from a tubular perspective
Version: 0.5.1.7
Release: alt1
License: GPL
Group: Games/Arcade
Url: http://tubularix.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/%name/%name-src-%version.tar.gz
Source1: licon.png
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Wed Apr 08 2009
BuildRequires: gcc-c++ libqt4-devel
%description
Tubularix is a game similar to Tetrix but seen from a tubular
perspective. Game's rules and behavior are very similar to
the Tetrix ones. It's written in c++ with the Qt 4 libraries.
%prep
%setup -n %name
cp %SOURCE1 icon.png
%build
# move icon out of pixmaps
sed -i 's at /share/pixmaps/ at /../%_iconsdir/hicolor/128x128/apps/ at ' %name.pro
qmake-qt4
%make_build
sed -i '/Path=/d' icons/%name.desktop
%install
qmake-qt4
%makeinstall INSTALL_ROOT=%buildroot
# legacy icon
install -D icon.png %buildroot%_liconsdir/%name.png
# menu
#suse_update_desktop_file -i %name Game BlocksGame
%files
%doc README LICENSE CHANGELOG COPYING
%exclude %_datadir/doc/packages/*
%_bindir/*
%_datadir/icons/hicolor/*/apps/%name.png
%_datadir/applications/%name.desktop
#defattr(664,root,games,775)
%dir %_datadir/games/%name
%_datadir/games/%name/*.qm
%changelog
…
Полный changelog можно просмотреть здесь
Summary: Tubularix is a game similar to Tetrix but seen from a tubular perspective
Version: 0.5.1.7
Release: alt1
License: GPL
Group: Games/Arcade
Url: http://tubularix.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/%name/%name-src-%version.tar.gz
Source1: licon.png
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Wed Apr 08 2009
BuildRequires: gcc-c++ libqt4-devel
%description
Tubularix is a game similar to Tetrix but seen from a tubular
perspective. Game's rules and behavior are very similar to
the Tetrix ones. It's written in c++ with the Qt 4 libraries.
%prep
%setup -n %name
cp %SOURCE1 icon.png
%build
# move icon out of pixmaps
sed -i 's at /share/pixmaps/ at /../%_iconsdir/hicolor/128x128/apps/ at ' %name.pro
qmake-qt4
%make_build
sed -i '/Path=/d' icons/%name.desktop
%install
qmake-qt4
%makeinstall INSTALL_ROOT=%buildroot
# legacy icon
install -D icon.png %buildroot%_liconsdir/%name.png
# menu
#suse_update_desktop_file -i %name Game BlocksGame
%files
%doc README LICENSE CHANGELOG COPYING
%exclude %_datadir/doc/packages/*
%_bindir/*
%_datadir/icons/hicolor/*/apps/%name.png
%_datadir/applications/%name.desktop
#defattr(664,root,games,775)
%dir %_datadir/games/%name
%_datadir/games/%name/*.qm
%changelog
…
Полный changelog можно просмотреть здесь