mirror of
https://abf.rosa.ru/djam/fheroes2.git
synced 2025-02-23 17:52:50 +00:00
LOG New snapshot r2931 (20120917)
This commit is contained in:
parent
5cf580287b
commit
809c4fb329
2 changed files with 17 additions and 22 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
"fheroes2-src-r2767.tgz": f68b709ef57c0095415278dd43669e0fc5447bbf
|
"fheroes2-src-r2931.tgz": 4c06f702c0ce5cf0823999b8c16e33d555f6c064
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%define rev r2767
|
%define rev r2931
|
||||||
Name: fheroes2
|
Name: fheroes2
|
||||||
Version: 20120301
|
Version: 20120917
|
||||||
Release: %mkrel 1
|
Release: 1
|
||||||
Summary: Free implementation of Heroes of the Might and Magic II engine
|
Summary: Free implementation of Heroes of the Might and Magic II engine
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Games/Strategy
|
Group: Games/Strategy
|
||||||
|
@ -16,8 +16,8 @@ BuildRequires: SDL_image-devel
|
||||||
BuildRequires: SDL_mixer-devel
|
BuildRequires: SDL_mixer-devel
|
||||||
BuildRequires: SDL_net-devel
|
BuildRequires: SDL_net-devel
|
||||||
BuildRequires: SDL_ttf-devel
|
BuildRequires: SDL_ttf-devel
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: pkgconfig(freetype2)
|
||||||
BuildRequires: png-devel
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -32,27 +32,22 @@ into your /usr/share/games/fheroes2/{maps,data} directories respectively
|
||||||
%make WITH_AI=simple CONFIGURE_FHEROES2_DATA="%{_gamesdatadir}/%{name}/"
|
%make WITH_AI=simple CONFIGURE_FHEROES2_DATA="%{_gamesdatadir}/%{name}/"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
# let's create directory structure...
|
# let's create directory structure...
|
||||||
%__mkdir_p %{buildroot}%{_gamesbindir}
|
mkdir -p %{buildroot}%{_gamesbindir}
|
||||||
%__mkdir_p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
%__mkdir_p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
%__mkdir_p %{buildroot}%{_gamesdatadir}/%{name}/{data,maps}
|
mkdir -p %{buildroot}%{_gamesdatadir}/%{name}/{data,maps}
|
||||||
|
|
||||||
# and install what we need where we need it to be...
|
# and install what we need where we need it to be...
|
||||||
%__install -pm755 %{name} %{buildroot}%{_gamesbindir}/%{name}.bin
|
install -pm755 %{name} %{buildroot}%{_gamesbindir}/%{name}.bin
|
||||||
%__install -pm755 %{SOURCE2} %{buildroot}%{_gamesbindir}/%{name}
|
install -pm755 %{SOURCE2} %{buildroot}%{_gamesbindir}/%{name}
|
||||||
%__install -pm 644 %{name}.cfg %{buildroot}%{_gamesdatadir}/%{name}/
|
install -pm 644 %{name}.cfg %{buildroot}%{_gamesdatadir}/%{name}/
|
||||||
%__install -pm 644 %{name}.key %{buildroot}%{_gamesdatadir}/%{name}/
|
install -pm 644 %{name}.key %{buildroot}%{_gamesdatadir}/%{name}/
|
||||||
%__install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||||
%__install -pm 644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
install -pm 644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
%__install -pm 644 %{SOURCE5} %{buildroot}%{_gamesdatadir}/%{name}/
|
install -pm 644 %{SOURCE5} %{buildroot}%{_gamesdatadir}/%{name}/
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS changelog.txt COPYING LICENSE README
|
%doc AUTHORS changelog.txt COPYING LICENSE README
|
||||||
%{_gamesbindir}/*
|
%{_gamesbindir}/*
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
Loading…
Add table
Reference in a new issue