Репозитории ALT
S: | 0.3.160-alt2 |
5.1: | 0.3.146-alt0.M51.1 |
4.0: | 0.3.146-alt0.M40.1 |
Группа :: Игры/Головоломки
Пакет: numptyphysics
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: numptyphysics
Version: 0.3.146
Release: alt0.M40.1
Summary: A crayon-drawing based physics puzzle game
Group: Games/Puzzles
License: GPLv3+
Url: http://numptyphysics.garage.maemo.org/
# svn co -r81 https://garage.maemo.org/svn/numptyphysics/trunk numptyphysics
# tar czf numptyphysics.tar.gz numptyphysics --exclude .svn
Source0: %name-%version.tar
Source1: numptyphysics.desktop
Source10: %name-levels-%version.tar
Patch0: numptyphysics-0.3-gcc43.patch
Patch1: numptyphysics-nonvoid.patch
Patch2: numptyphysics-setAttribute.patch
Patch3: numptyphysics-nospot.patch
Packager: Fr. Br. George <george at altlinux.ru>
Requires: %name-levels
# Automatically added by buildreq on Thu Feb 11 2010
BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libX11-devel zlib-devel
%description
Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing to
the little yellow thing.
%package levels
Summary: Level set for numptyphysics
License: GPLv3+
Group: Games/Puzzles
BuildArch: noarch
%description levels
Game levels for numptyphysics, including "NP-complete" level set.
%package full
Summary: A crayon-drawing based physics puzzle game
License: GPLv3+
Group: Games/Puzzles
BuildArch: noarch
%description full
Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing to
the little yellow thing.
This meta-package also contains full additional level set.
%prep
%setup -q
%patch0 -p1 -b .gcc43
%patch1 -b .nonvoid
%patch2 -p1 -b .setAttribute
%patch3 -p1 -b .nospot
%build
# Note the ARCH variable doesn't denote real arch. It's just used to hit a
# conditional that we're not compiling with mingw
%autoreconf
%configure
%make
%install
%make DESTDIR=%buildroot install
install -D data/icon48/%name.png %buildroot%_liconsdir/%name.png
rm -rf %buildroot%_iconsdir/hicolor/scalable
mv %buildroot%_iconsdir/hicolor/26x26 %buildroot%_iconsdir/hicolor/24x24
# Additional levels
tar xf %SOURCE10 -C %buildroot%_datadir/numptyphysics
# siminz/L02_bridge\ Gaps\ tut.nph is buggy
rm "%buildroot%_datadir/numptyphysics/levels/siminz/L02_bridge Gaps tut.nph"
# Probably will be usable in next version
rm %buildroot%_datadir/numptyphysics/levels/*/*npz
%files
%_bindir/numptyphysics
%dir %_datadir/numptyphysics
%_datadir/numptyphysics/*
%_desktopdir/numptyphysics.desktop
%_iconsdir/hicolor/24x24/apps/*
%_iconsdir/hicolor/48x48/apps/*
%_iconsdir/hicolor/64x64/apps/*
%dir %_datadir/numptyphysics/levels
%exclude %_datadir/numptyphysics/levels/*
%files levels
%_datadir/numptyphysics/levels/*
%files full
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.3.146
Release: alt0.M40.1
Summary: A crayon-drawing based physics puzzle game
Group: Games/Puzzles
License: GPLv3+
Url: http://numptyphysics.garage.maemo.org/
# svn co -r81 https://garage.maemo.org/svn/numptyphysics/trunk numptyphysics
# tar czf numptyphysics.tar.gz numptyphysics --exclude .svn
Source0: %name-%version.tar
Source1: numptyphysics.desktop
Source10: %name-levels-%version.tar
Patch0: numptyphysics-0.3-gcc43.patch
Patch1: numptyphysics-nonvoid.patch
Patch2: numptyphysics-setAttribute.patch
Patch3: numptyphysics-nospot.patch
Packager: Fr. Br. George <george at altlinux.ru>
Requires: %name-levels
# Automatically added by buildreq on Thu Feb 11 2010
BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libX11-devel zlib-devel
%description
Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing to
the little yellow thing.
%package levels
Summary: Level set for numptyphysics
License: GPLv3+
Group: Games/Puzzles
BuildArch: noarch
%description levels
Game levels for numptyphysics, including "NP-complete" level set.
%package full
Summary: A crayon-drawing based physics puzzle game
License: GPLv3+
Group: Games/Puzzles
BuildArch: noarch
%description full
Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing to
the little yellow thing.
This meta-package also contains full additional level set.
%prep
%setup -q
%patch0 -p1 -b .gcc43
%patch1 -b .nonvoid
%patch2 -p1 -b .setAttribute
%patch3 -p1 -b .nospot
%build
# Note the ARCH variable doesn't denote real arch. It's just used to hit a
# conditional that we're not compiling with mingw
%autoreconf
%configure
%make
%install
%make DESTDIR=%buildroot install
install -D data/icon48/%name.png %buildroot%_liconsdir/%name.png
rm -rf %buildroot%_iconsdir/hicolor/scalable
mv %buildroot%_iconsdir/hicolor/26x26 %buildroot%_iconsdir/hicolor/24x24
# Additional levels
tar xf %SOURCE10 -C %buildroot%_datadir/numptyphysics
# siminz/L02_bridge\ Gaps\ tut.nph is buggy
rm "%buildroot%_datadir/numptyphysics/levels/siminz/L02_bridge Gaps tut.nph"
# Probably will be usable in next version
rm %buildroot%_datadir/numptyphysics/levels/*/*npz
%files
%_bindir/numptyphysics
%dir %_datadir/numptyphysics
%_datadir/numptyphysics/*
%_desktopdir/numptyphysics.desktop
%_iconsdir/hicolor/24x24/apps/*
%_iconsdir/hicolor/48x48/apps/*
%_iconsdir/hicolor/64x64/apps/*
%dir %_datadir/numptyphysics/levels
%exclude %_datadir/numptyphysics/levels/*
%files levels
%_datadir/numptyphysics/levels/*
%files full
%changelog
…
Полный changelog можно просмотреть здесь