This commit is contained in:
parent
222b76fc97
commit
5039cd0174
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 1 22:04:14 CEST 2009 - dominique.leuenberger@tmf-group.com
|
||||
|
||||
- Fixed spec file to actiually build release 13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 23:32:19 CEST 2008 - claes.backstrom@fsfe.org
|
||||
|
||||
|
@ -44,7 +44,7 @@ scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_d
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
scons datadir=$RPM_BUILD_ROOT%{_datadir}/%{name} bindir=$RPM_BUILD_ROOT%{_bindir} localedir=$RPM_BUILD_ROOT%{_datadir}/%{name} build_id=%{build_id} install
|
||||
scons datadir=$RPM_BUILD_ROOT%{_datadir}/%{name} bindir=$RPM_BUILD_ROOT%{_bindir} localedir=$RPM_BUILD_ROOT%{_datadir}/%{name}/locale build_id=%{build_id} install
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/game_server
|
||||
|
||||
@ -55,7 +55,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
||||
%suse_update_desktop_file -i %{name} Game StrategyGame
|
||||
|
||||
cd $RPM_BUILD_ROOT
|
||||
find usr/share/widelands/locale/ -maxdepth 1 -type d -name \*_\* | sed -n 's#\(usr/share/widelands/locale/\(.*\)_.*\)#%lang(\2) /\1#p' > %{_builddir}/%{name}/%{name}.files
|
||||
find usr/share/widelands/locale/ -maxdepth 1 -type d -name \*_\* | sed -n 's#\(usr/share/widelands/locale/\(.*\)_.*\)#%lang(\2) /\1#p' > %{_builddir}/%{name}-b13/%{name}.files
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -91,6 +91,7 @@ EOF
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/locale
|
||||
%{_datadir}/%{name}/*s*
|
||||
%{_datadir}/%{name}/global
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user