mirror of
https://abf.rosa.ru/djam/frogatto.git
synced 2025-02-23 09:12:52 +00:00
Automatic import for version 1.2
This commit is contained in:
parent
78792abe66
commit
0ab0f271dc
2 changed files with 57 additions and 40 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
"frogatto-1.1.tar.bz2": 33476cc346d64dbd66b6443df0f2b714ab990367
|
"frogatto-frogatto-1.2-0-g07a33cd.tar.gz": aff19f30f96acca009880ae44d0b61c30fa82769
|
||||||
|
|
|
@ -1,73 +1,90 @@
|
||||||
|
Name: frogatto
|
||||||
|
Version: 1.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Frogatto & Friends classic adventure game
|
||||||
|
License: GPLv3+
|
||||||
|
Group: Games/Arcade
|
||||||
|
URL: http://www.frogatto.com/
|
||||||
|
# 1.2 is available at https://github.com/frogatto/frogatto/tarball/1.2 only
|
||||||
|
Source: http://www.frogatto.com/files/%{name}-%{name}-%{version}-0-g07a33cd.tar.gz
|
||||||
|
Source1: frogatto
|
||||||
|
Source2: frogatto.desktop
|
||||||
|
Source3: frogatto.xpm
|
||||||
|
Source4: frogatto.6
|
||||||
|
Patch1: frogatto-1.0-asneeded.patch
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: SDL_image-devel
|
||||||
|
BuildRequires: SDL_mixer-devel
|
||||||
|
BuildRequires: SDL_ttf-devel
|
||||||
|
BuildRequires: glew-devel
|
||||||
|
BuildRequires: png-devel
|
||||||
|
BuildRequires: ccache
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
|
||||||
Name: frogatto
|
Requires: %{name}-gamedata = %{version}
|
||||||
Version: 1.1
|
|
||||||
Release: 3
|
|
||||||
Summary: Frogatto & Friends classic adventure game
|
|
||||||
License: GPLv3+
|
|
||||||
Group: Games/Arcade
|
|
||||||
URL: http://www.frogatto.com/
|
|
||||||
Source: http://www.frogatto.com/files/frogatto-%version.tar.bz2
|
|
||||||
Source1: frogatto
|
|
||||||
Source2: frogatto.desktop
|
|
||||||
Source3: frogatto.xpm
|
|
||||||
Source4: frogatto.6
|
|
||||||
Patch1: frogatto-1.0-asneeded.patch
|
|
||||||
|
|
||||||
|
|
||||||
# Automatically added by buildreq on Thu Aug 26 2010
|
|
||||||
BuildRequires: boost-devel gcc-c++ libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libglew-devel libpng-devel ccache glibc-devel
|
|
||||||
|
|
||||||
|
|
||||||
Requires: %name-gamedata = %version
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Frogatto & Friends is a old-school 2d platformer game, starring a certain
|
Frogatto & Friends is a old-school 2d platformer game, starring a certain
|
||||||
quixotic frog.
|
quixotic frog.
|
||||||
|
|
||||||
%package gamedata
|
%package gamedata
|
||||||
Summary: Game data for frogatto
|
Summary: Game data for frogatto
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: Games/Arcade
|
Group: Games/Arcade
|
||||||
# We split game data to separate package to make it noarch and thus save
|
# We split game data to separate package to make it noarch and thus save
|
||||||
# bandwidth and space on distribution media.
|
# bandwidth and space on distribution media.
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description gamedata
|
%description gamedata
|
||||||
Game data for frogatto.
|
Game data for frogatto.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{name}-64c84bf
|
||||||
sed -i -e 's#BINARY_FILE=.*#BINARY_FILE=%{_libdir}/frogatto/game#g' %{SOURCE1}
|
sed -i -e 's#BINARY_FILE=.*#BINARY_FILE=%{_libdir}/frogatto/game#g' %{SOURCE1}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %buildroot%_datadir/frogatto
|
%__rm -rf %{buildroot}
|
||||||
install -pDm 755 game %buildroot%_libdir/frogatto/game
|
%__install -d %{buildroot}%{_datadir}/frogatto
|
||||||
cp -a images data music sounds %buildroot%_datadir/frogatto
|
%__install -pDm 755 game %{buildroot}%{_libdir}/frogatto/game
|
||||||
|
%__cp -a images data music sounds %{buildroot}%{_datadir}/frogatto
|
||||||
|
|
||||||
install -pDm 755 %_sourcedir/frogatto %buildroot%_gamesbindir/frogatto
|
%__install -pDm 755 %{_sourcedir}/frogatto %{buildroot}%{_gamesbindir}/frogatto
|
||||||
install -pDm 644 %_sourcedir/frogatto.desktop %buildroot%{_datadir}/applications/frogatto.desktop
|
%__install -pDm 644 %{_sourcedir}/frogatto.desktop %{buildroot}%{_datadir}/applications/frogatto.desktop
|
||||||
install -pDm 644 %_sourcedir/frogatto.xpm %buildroot%{_pixmaps}/frogatto.xpm
|
%__install -pDm 644 %{_sourcedir}/frogatto.xpm %{buildroot}%{_datadir}/pixmaps/frogatto.xpm
|
||||||
install -pDm 644 %_sourcedir/frogatto.6 %buildroot%{_mandir}/man6/frogatto.6
|
%__install -pDm 644 %{_sourcedir}/frogatto.6 %{buildroot}%{_mandir}/man6/frogatto.6
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%_gamesbindir/*
|
%{_gamesbindir}/*
|
||||||
%_libdir/frogatto/
|
%{_libdir}/%{name}/
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
#%{_pixmaps}/*
|
%{_datadir}/pixmaps/*
|
||||||
%{_mandir}/man6/*
|
%{_mandir}/man6/*
|
||||||
|
|
||||||
%files gamedata
|
%files gamedata
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%_datadir/frogatto
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 23 2012 Andrey Bondrov <abondrov@mandriva.org> 1.2-1
|
||||||
|
+ Revision: 766817
|
||||||
|
- New version 1.2 (from GitHub)
|
||||||
|
|
||||||
|
* Tue Sep 27 2011 Andrey Bondrov <abondrov@mandriva.org> 1.1.1-2
|
||||||
|
+ Revision: 701530
|
||||||
|
- Add patch 2 to fix issues with new libpng
|
||||||
|
- New version: 1.1.1
|
||||||
|
|
||||||
* Mon Aug 22 2011 Funda Wang <fwang@mandriva.org> 1.1-3
|
* Mon Aug 22 2011 Funda Wang <fwang@mandriva.org> 1.1-3
|
||||||
+ Revision: 696056
|
+ Revision: 696055
|
||||||
- fix startup script
|
- fix startup script
|
||||||
|
|
||||||
* Fri May 20 2011 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.1-2
|
* Fri May 20 2011 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.1-2
|
||||||
|
|
Loading…
Add table
Reference in a new issue