Репозитории ALT
Группа :: Игры/Головоломки
Пакет: qnetwalk
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: qnetwalk
Version: 1.6
Release: alt1
%K5init no_altplace
Group: Games/Puzzles
Summary: Qt-version of the popular NetWalk game
License: GPL
#URL: http://qt.osdn.org.ua/qnetwalk.html
URL: https://github.com/AMDmi3/qnetwalk
Source0: %name-%version.tar
BuildRequires: cmake qt5-base-devel qt5-tools qt5-tools-devel
BuildRequires: ImageMagick-tools
BuildRequires: libSDL-devel libSDL_mixer-devel
BuildRequires(pre): rpm-build-kf5
%description
Qt-version of the popular NetWalk game.
%prep
%setup -q
%build
%K5build
%install
%K5install
#make install INSTALL_ROOT=%buildroot
mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps/
install -m 0644 pics/%name.png %buildroot/%_iconsdir/hicolor/16x16/apps/%name.png
install -m 0644 pics/computer2.png %buildroot/%_iconsdir/hicolor/32x32/apps/%name.png
convert -resize 48x48 pics/computer2.png %buildroot/%_iconsdir/hicolor/48x48/apps/%name.png
%files
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_iconsdir/*/*/*/%name.*
%doc ChangeLog* README*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.6
Release: alt1
%K5init no_altplace
Group: Games/Puzzles
Summary: Qt-version of the popular NetWalk game
License: GPL
#URL: http://qt.osdn.org.ua/qnetwalk.html
URL: https://github.com/AMDmi3/qnetwalk
Source0: %name-%version.tar
BuildRequires: cmake qt5-base-devel qt5-tools qt5-tools-devel
BuildRequires: ImageMagick-tools
BuildRequires: libSDL-devel libSDL_mixer-devel
BuildRequires(pre): rpm-build-kf5
%description
Qt-version of the popular NetWalk game.
%prep
%setup -q
%build
%K5build
%install
%K5install
#make install INSTALL_ROOT=%buildroot
mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps/
install -m 0644 pics/%name.png %buildroot/%_iconsdir/hicolor/16x16/apps/%name.png
install -m 0644 pics/computer2.png %buildroot/%_iconsdir/hicolor/32x32/apps/%name.png
convert -resize 48x48 pics/computer2.png %buildroot/%_iconsdir/hicolor/48x48/apps/%name.png
%files
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_iconsdir/*/*/*/%name.*
%doc ChangeLog* README*
%changelog
…
Полный changelog можно просмотреть здесь