Dominique Leuenberger
b0fc2890db
OBS-URL: https://build.opensuse.org/package/show/games/ltris?expand=0&rev=5
79 lines
2.1 KiB
RPMSpec
79 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package ltris (Version 1.0.12)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: ltris
|
|
BuildRequires: SDL_mixer-devel update-desktop-files
|
|
License: GPL v2 or later
|
|
Group: Amusements/Games/Logic
|
|
Summary: Tetris Clone with Multiplayer and CPU Opponents
|
|
Version: 1.0.13
|
|
Release: 1
|
|
Url: http://lgames.sourceforge.net/index.php?project=LTris
|
|
# http://prdownloads.sourceforge.net/lgames/ltris-%{version}.tar.gz
|
|
Source: ltris-%{version}.tar.bz2
|
|
Source1: %{name}.desktop
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
LTris is a very polished Tetris clone. It is highly configurable due to
|
|
its menu. It offers the well-known game type Classic, a funny game type
|
|
Figures (a new figure each level, suddenly appearing tiles and lines),
|
|
and multiplayer with up to three players either human or CPU
|
|
controlled.
|
|
|
|
Authors:
|
|
--------
|
|
Michael Speck <kulanie@gmx.net>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--datadir=%{_datadir}/games \
|
|
--bindir=%{_prefix}/games \
|
|
--localstatedir=%{_localstatedir}/games
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
|
install -m 0644 icons/ltris48.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/ltris.xpm
|
|
mv $RPM_BUILD_ROOT%{_datadir}/games/locale $RPM_BUILD_ROOT%{_datadir}/locale
|
|
%suse_update_desktop_file -i %{name} Game ArcadeGame
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
%post
|
|
%run_permissions
|
|
|
|
%verifyscript
|
|
%verify_permissions
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(644,root,root,755)
|
|
%doc AUTHORS COPYING ChangeLog README TODO
|
|
%attr(2755,games,games) %{_prefix}/games/ltris
|
|
%dir %{_datadir}/games/ltris
|
|
%{_datadir}/games/ltris/*
|
|
%attr(664,games,games) /var/games/ltris.hscr
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/ltris.xpm
|
|
|
|
%changelog
|