Dominique Leuenberger 2016-07-05 07:52:12 +00:00 committed by Git OBS Bridge
commit ff2edc9fe5
5 changed files with 151 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11926032c7257218fb561871c272891440b86523c195e0cd6d3b102eda250419
size 501620552

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b080bb098a26adb552d6fd48905bcb6b1e873ef1567457d7268d7d3aaa48282
size 501606188

90
supertuxkart.6 Normal file
View File

@ -0,0 +1,90 @@
.TH "supertuxkart" "6" "0.9.2" "Dmitriy A. Perlow aka DAP-DarkneSS" ""
.SH "NAME"
SuperTuxKart
.br
.SH "SYNTAX"
supertuxkart [OPTIONS]
.br
.SH "DESCRIPTION"
Run SuperTuxKart, a racing game with go-kart that features the Tux and friends.
.br
.SH "OPTIONS"
-N, --no-start-screen Immediately start race without showing a menu.
.br
-R, --race-now Same as -N but also skip the ready-set-go phase and the music.
.br
-t, --track=NAME Start at track NAME.
.br
--gp=NAME Start the specified Grand Prix.
.br
--add-gp-dir=DIR Load Grand Prix in DIR. Setting will be saved inconfig.xml under additional_gp_directory. Use --add-gp-dir="" to unset.
.br
--stk-config=FILE use ./data/FILE instead of ./data/stk_config.xml
.br
-k, --numkarts=NUM Number of karts on the racetrack.
.br
--kart=NAME Use kart number NAME.
.br
--ai=a,b,... Use the karts a, b, ... for the AI.
.br
--laps=N Define number of laps to N.
.br
--mode=N N=1 novice, N=2 driver, N=3 racer.
.br
--type=N N=0 Normal, N=1 Time trial, N=2 FTL
.br
--reverse Play track in reverse (if allowed)
.br
-f, --fullscreen Select fullscreen display.
.br
-w, --windowed Windowed display (default).
.br
-s, --screensize=WxH Set the screen size (e.g. 320x200).
.br
-v, --version Show version of SuperTuxKart.
.br
--trackdir=DIR A directory from which additional tracks are loaded.
.br
--profile-laps=n Enable automatic driven profile mode for n laps.
.br
--profile-time=n Enable automatic driven profile mode for n seconds.
.br
--no-graphics Do not display the actual race.
.br
--demo-mode=t Enables demo mode after t seconds idle time in main menu.
.br
--demo-tracks=t1,t2 List of tracks to be used in demo mode. No spaces are allowed in the track names.
.br
--demo-laps=n Number of laps in a demo.
.br
--demo-karts=n Number of karts to use in a demo.
.br
--server=name Start a server (not a playing client).
.br
--lan-server=name Start a LAN server (not a playing client).
.br
--server-password= Sets a password for a server (both client&server).
.br
--login=s Automatically log in (set the login).
.br
--password=s Automatically log in (set the password).
.br
--port=n Port number to use.
.br
--max-players=n Maximum number of clients (server only).
.br
--no-console Does not write messages in the console but to stdout.log.
.br
--console Write messages in the console and files
.br
-h, --help Show this help.
.br
--log=N Set the verbosity to a value between 0 (Debug) and 5 (Only Fatal messages)
.br
--root=DIR Path to add to the list of STK root directories. You can specify more than one by separating them with colons (:).
.br
--cutscene=NAME Launch the specified track as a cutscene. This is for internal debugging use only.
.br
.SH "SEE ALSO"
You can visit SuperTuxKart's homepage at \fIhttp://supertuxkart.sourceforge.net\fR
.br

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Jul 2 12:25:29 UTC 2016 - dap.darkness@gmail.com
- Update to version 0.9.2 release (no changes since rc2).
- Updated BuildRequires to use pkgconfig().
- Cmake clean-up.
- Enabled verbose make output.
- Don't modify system's C*FLAGS.
- Set Release With Debug Info cmake build type.
- Resolved warnings:
* version-control-internal-file: .gitignore;
* hidden-file-or-dir: .gitattributes;
* non-executable-script: run_me.sh update_po_authors.py
pull_from_transifex.sh optimize_data.sh.
- Added desktop_database_post(un).
- Added man page.
-------------------------------------------------------------------
Thu Jun 16 13:42:10 UTC 2016 - dimstar@opensuse.org

View File

@ -17,38 +17,41 @@
Name: supertuxkart
Version: 0.9.2~rc1
Version: 0.9.2
Release: 0
Summary: A 3D kart racing game
License: GPL-2.0+ and GPL-3.0+ and CC-BY-SA-3.0
Group: Amusements/Games/3D/Race
Url: http://supertuxkart.sourceforge.net/
Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.2/%{name}-0.9.2-rc1-src.tar.xz
Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/%{version}/%{name}-%{version}-src.tar.xz
# Geeko kart add-on (CC-BY 3.0)
Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip
BuildRequires: bluez-devel
BuildRequires: cmake
BuildRequires: curl-devel
Source9: supertuxkart.6
BuildRequires: cmake >= 3
BuildRequires: fdupes
BuildRequires: fribidi-devel
BuildRequires: gcc-c++
BuildRequires: glu-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libXrandr-devel
BuildRequires: libjpeg-devel
BuildRequires: libogg-devel
BuildRequires: libpng-devel
%if 0%{?suse_version} <= 1220
BuildRequires: libopenal1
%endif
BuildRequires: libvorbis-devel
BuildRequires: openal-soft-devel
BuildRequires: pkgconfig
BuildRequires: unzip
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(bluez)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(xrandr)
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun): hicolor-icon-theme
Requires(postun): update-desktop-files
Requires: %{name}-data = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64
%description
@ -74,36 +77,50 @@ BuildArch: noarch
Data files for SuperTuxKart a Free 3d kart racing game.
%prep
%setup -q -n %{name}-0.9.2-rc1
%setup -q
find -name '*~' -delete -print
find -name '.git*' -delete -print
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
mkdir cmake_build
cd cmake_build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
make %{?_smp_mflags}
mkdir build && cd build
# NOTE that %%cmake macro breaks linking.
cmake .. \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_C_FLAGS="%{optflags} -fno-strict-aliasing" \
-DCMAKE_CXX_FLAGS="%{optflags} -fno-strict-aliasing" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make V=1 %{?_smp_mflags}
%install
cd cmake_build
make DESTDIR=%{buildroot} install
%cmake_install
mkdir -p %{buildroot}%{_datadir}/supertuxkart/data/karts/geeko/
cd %{buildroot}%{_datadir}/supertuxkart/data/karts/geeko/
unzip %{SOURCE1}
# WARNING non-executable-script:
rm %{buildroot}%{_datadir}/supertuxkart/data/run_me.sh
rm %{buildroot}%{_datadir}/supertuxkart/data/po/update_po_authors.py
rm %{buildroot}%{_datadir}/supertuxkart/data/po/pull_from_transifex.sh
rm %{buildroot}%{_datadir}/supertuxkart/data/optimize_data.sh
%fdupes %{buildroot}%{_datadir}
%suse_update_desktop_file supertuxkart
# Man page:
mkdir -p %{buildroot}%{_mandir}/man6
cp %{SOURCE9} %{buildroot}%{_mandir}/man6
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README.md TODO.md CHANGELOG.md
%{_bindir}/supertuxkart
%{_mandir}/man?/%{name}.?.*
%dir %{_datadir}/appdata
%{_datadir}/appdata/supertuxkart.appdata.xml
%{_datadir}/applications/%{name}.desktop