File brlemu.spec of Package brlemu

# spec file for package brlemu
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

BuildRequires:  ncurses-devel

Name:           brlemu
License:        GPL-2.0
Group:          Development/Tools/Other
Summary:        Emulates a braille display
Version:        0.1
Release:        37
Source:         brlemu-0.1.tgz
Patch:          brlemu-fakeport.diff
Patch1:         brlemu-0.1-gcc7.diff
Patch2:         brlemu-0.1-nostrip.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Brlemu emulates a braille display. It is intended for testing braille
support without needing to acquire expensive hardware devices.

%setup -n brlemu-0.1
%patch -p1
%patch1 -p1
%patch2 -p1

make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} CC="%{__cc}"

mkdir -p $RPM_BUILD_ROOT/usr/bin