mirror of
https://abf.rosa.ru/djam/0ad.git
synced 2025-02-23 15:02:47 +00:00
Automatic import for version r11339
This commit is contained in:
parent
348a579b17
commit
ce81b4d016
2 changed files with 21 additions and 5 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
"0ad-r10803-alpha-unix-build.tar.xz": 9c9ee04bf1327bfd9161f51b18180ec8d3c6547b
|
||||
"0ad-r11339-alpha-unix-build.tar.xz": e44f8484ca7082b1a9f2761a48aa8f54c8e833d1
|
||||
|
|
24
0ad.spec
24
0ad.spec
|
@ -17,8 +17,12 @@
|
|||
|
||||
Name: 0ad
|
||||
Epoch: 1
|
||||
Version: r10803
|
||||
Version: r11339
|
||||
%if %mdkversion >= 201100
|
||||
Release: 0.2
|
||||
%else
|
||||
Release: %mkrel 0.2
|
||||
%endif
|
||||
License: GPLv2+
|
||||
Group: Games/Strategy
|
||||
Summary: Cross-Platform RTS Game of Ancient Warfare
|
||||
|
@ -50,7 +54,6 @@ BuildRequires: SDL-devel
|
|||
BuildRequires: subversion
|
||||
#BuildRequires: wxGTK-devel
|
||||
BuildRequires: wxgtku-devel
|
||||
BuildRequires: X11-devel
|
||||
|
||||
# FAMMonitorDirectory fails if passing a relative directory
|
||||
# Use FAMNoExists (gamin specific to speed up a little bit initialization
|
||||
|
@ -105,6 +108,8 @@ done
|
|||
|
||||
install -d -m 755 %{buildroot}%{_gamesdatadir}/applications
|
||||
install -m 644 build/resources/0ad.desktop %{buildroot}%{_gamesdatadir}/applications/%{name}.desktop
|
||||
perl -pi -e 's|%{_bindir}/0ad|%{_gamesbindir}/0ad|;' \
|
||||
%{buildroot}%{_gamesdatadir}/applications/%{name}.desktop
|
||||
|
||||
install -d -m 755 %{buildroot}%{_gamesdatadir}/pixmaps
|
||||
install -m 644 build/resources/0ad.png %{buildroot}%{_gamesdatadir}/pixmaps/%{name}.png
|
||||
|
@ -112,6 +117,9 @@ install -m 644 build/resources/0ad.png %{buildroot}%{_gamesdatadir}/pixmaps/%{na
|
|||
install -d -m 755 %{buildroot}%{_gamesdatadir}/%{name}
|
||||
cp -a binaries/data/* %{buildroot}%{_gamesdatadir}/%{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}
|
||||
mv -f %{buildroot}%{_gamesdatadir}/{pixmaps,applications} %{buildroot}%{_datadir}
|
||||
|
||||
cat > %{buildroot}%{_gamesbindir}/0ad <<EOF
|
||||
#!/bin/sh
|
||||
|
||||
|
@ -131,12 +139,20 @@ export EXCLUDE_FROM_FULL_STRIP="libAtlasUI_dbg.so libCollada_dbg.so pyrogenesis_
|
|||
%{_gamesbindir}/0ad
|
||||
%{_gamesbindir}/pyrogenesis%{dbg}
|
||||
%{_libdir}/%{name}
|
||||
%{_gamesdatadir}/pixmaps/%{name}.png
|
||||
%{_gamesdatadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_gamesdatadir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 17 2012 Bernhard Rosenkraenzer <bero@bero.eu> 1:r11339-0.2
|
||||
+ Revision: 785456
|
||||
- Update to alpha9
|
||||
|
||||
+ Paulo Andrade <pcpa@mandriva.com.br>
|
||||
- Correct 0ad.desktop binary path.
|
||||
- Install desktop files in proper directory.
|
||||
|
||||
* Sat Jan 14 2012 Paulo Andrade <pcpa@mandriva.com.br> 1:r10803-0.2
|
||||
+ Revision: 760793
|
||||
- Assume latest 0ad-data is installed in _gamesdatadir.
|
||||
|
|
Loading…
Add table
Reference in a new issue