LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ctris.spec of Package ctris (Project home:cwh)

#
# spec file for package ctris
#
# Copyright (c) 2006-2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Initally packaged by cwh@suse.de as maybe the first package in OBS.

# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           ctris
Version:        0.42
Release:        0
License:        GPL-2.0
Summary:        Console based Tetris clone
Url:            http://www.hackl.dhs.org/ctris/
Group:          Amusements/Games/Action/Arcade
Source:         ctris-%{version}.tar.bz2
Patch:          fsf-address.patch 
BuildRequires:  ncurses-devel
Requires:       ncurses
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
An ASCII version of the well known game Tetris

%prep
%setup -q
%patch -p0

%build
make %{?_smp_mflags}

%install
%make_install BINDIR="%{?buildroot}"/usr/bin
%debug_package

%clean
[ %{buildroot} != "" ] && [ -d %{buildroot} ] && rm -rf %{buildroot};

%files
%defattr (-,root,root)
%doc AUTHORS COPYING README TODO
%doc %{_mandir}/man6/ctris.6.gz
%{_prefix}/bin/ctris