Репозитории ALT
S: | 0.7.0-alt3 |
5.1: | 0.6.2-alt2 |
4.1: | 0.6.2-alt0.1 |
4.0: | 0.6.2-alt0.1 |
3.0: | 0.4.0-alt1 |
Группа :: Игры/Приключения
Пакет: uqm-bin
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define rname uqm
%define what bin
Name: %rname-%what
Version: 0.7.0
Release: alt2
Group: Games/Adventure
Summary: The Ur-Quan Masters (port of the classic space game StarControl 2).
Url: http://sc2.sourceforge.net
License: GPLv2+
Requires: %rname-content = %version
Requires: %rname-common = %version
Obsoletes: %rname-game
Source0: %rname-%version.tar
Source10: %rname.16.png
Source11: %rname.32.png
Source12: %rname.48.png
BuildRequires: libGL-devel libmikmod-devel libopenal-devel libSDL-devel
BuildRequires: libSDL_image-devel libvorbis-devel zlib-devel
%description
The project started in August 2002, when Toys For Bob <http://toysforbob.com/>
released the partially ported sources of Star Control 2 <http://star-control.com>
3DO version to the fan community. Our goal is to port this wonderful game
to current personal computers and operating systems. It is and will remain
100%% free of charge, and anyone can contribute to the project and thus
help make it even better.
This package contains binary executable program for this game.
%prep
%setup -n %rname-%version
%build
export CFLAGS="%optflags" LDFLAGS="%optflags -lm"
./build.sh %rname <<__EOF__
1
1
2
2
3
2
4
2
5
1
11
1
/usr
4
\$prefix/share/games
__EOF__
%install
mkdir -p %buildroot/{%_gamesbindir,%_desktopdir}
mkdir -p %buildroot/%_gamesdatadir/%rname/content/packages/addons
install -m 755 %rname %buildroot/%_gamesbindir
install -m 644 content/version %buildroot/%_gamesdatadir/%rname/content/version
cat > %buildroot%_desktopdir/%rname.desktop <<__EOF__
[Desktop Entry]
Version=1.0
Type=Application
Name=The Ur-Quan Masters
Exec=%_gamesbindir/%rname
Icon=%rname
Categories=Game;AdventureGame;
Comment=Port of the classic space game StarControl 2.
__EOF__
cat > %buildroot%_desktopdir/%rname-hires.desktop <<__EOF__
[Desktop Entry]
Version=1.0
Type=Application
Name=The Ur-Quan Masters - High Resolution
Exec=%_gamesbindir/%rname -q high -f -o -c hq -r 1024x768
Icon=%rname
Categories=Game;AdventureGame;
Comment=Port of the classic space game StarControl 2 (high resolution mode).
__EOF__
mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps/
install -m 644 %SOURCE10 %buildroot/%_iconsdir/hicolor/16x16/apps/%rname.png
install -m 644 %SOURCE11 %buildroot/%_iconsdir/hicolor/32x32/apps/%rname.png
install -m 644 %SOURCE12 %buildroot/%_iconsdir/hicolor/48x48/apps/%rname.png
%files
%doc {AUTHORS,BUGS,COPYING,ChangeLog,README,WhatsNew,uqm.lsm}
%doc doc/users/manual* doc/devel
%_gamesbindir/%rname
%_gamesdatadir/%rname
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/%rname.png
%changelog
…
Полный changelog можно просмотреть здесь
%define rname uqm
%define what bin
Name: %rname-%what
Version: 0.7.0
Release: alt2
Group: Games/Adventure
Summary: The Ur-Quan Masters (port of the classic space game StarControl 2).
Url: http://sc2.sourceforge.net
License: GPLv2+
Requires: %rname-content = %version
Requires: %rname-common = %version
Obsoletes: %rname-game
Source0: %rname-%version.tar
Source10: %rname.16.png
Source11: %rname.32.png
Source12: %rname.48.png
BuildRequires: libGL-devel libmikmod-devel libopenal-devel libSDL-devel
BuildRequires: libSDL_image-devel libvorbis-devel zlib-devel
%description
The project started in August 2002, when Toys For Bob <http://toysforbob.com/>
released the partially ported sources of Star Control 2 <http://star-control.com>
3DO version to the fan community. Our goal is to port this wonderful game
to current personal computers and operating systems. It is and will remain
100%% free of charge, and anyone can contribute to the project and thus
help make it even better.
This package contains binary executable program for this game.
%prep
%setup -n %rname-%version
%build
export CFLAGS="%optflags" LDFLAGS="%optflags -lm"
./build.sh %rname <<__EOF__
1
1
2
2
3
2
4
2
5
1
11
1
/usr
4
\$prefix/share/games
__EOF__
%install
mkdir -p %buildroot/{%_gamesbindir,%_desktopdir}
mkdir -p %buildroot/%_gamesdatadir/%rname/content/packages/addons
install -m 755 %rname %buildroot/%_gamesbindir
install -m 644 content/version %buildroot/%_gamesdatadir/%rname/content/version
cat > %buildroot%_desktopdir/%rname.desktop <<__EOF__
[Desktop Entry]
Version=1.0
Type=Application
Name=The Ur-Quan Masters
Exec=%_gamesbindir/%rname
Icon=%rname
Categories=Game;AdventureGame;
Comment=Port of the classic space game StarControl 2.
__EOF__
cat > %buildroot%_desktopdir/%rname-hires.desktop <<__EOF__
[Desktop Entry]
Version=1.0
Type=Application
Name=The Ur-Quan Masters - High Resolution
Exec=%_gamesbindir/%rname -q high -f -o -c hq -r 1024x768
Icon=%rname
Categories=Game;AdventureGame;
Comment=Port of the classic space game StarControl 2 (high resolution mode).
__EOF__
mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps/
install -m 644 %SOURCE10 %buildroot/%_iconsdir/hicolor/16x16/apps/%rname.png
install -m 644 %SOURCE11 %buildroot/%_iconsdir/hicolor/32x32/apps/%rname.png
install -m 644 %SOURCE12 %buildroot/%_iconsdir/hicolor/48x48/apps/%rname.png
%files
%doc {AUTHORS,BUGS,COPYING,ChangeLog,README,WhatsNew,uqm.lsm}
%doc doc/users/manual* doc/devel
%_gamesbindir/%rname
%_gamesdatadir/%rname
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/%rname.png
%changelog
…
Полный changelog можно просмотреть здесь