File brlemu.spec of Package brlemu
#
# spec file for package brlemu (Version 0.1)
#
# 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
BuildRequires: ncurses-devel
Name: brlemu
License: GPL v2 only
Group: Development/Tools/Other
AutoReqProv: on
Summary: Emulates a braille display
Version: 0.1
Release: 5
Url: http://sourceforge.net/
Source: brlemu-0.1.tgz
Patch: brlemu-fakeport.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Brlemu emulates a braille display. It is intended for testing braille
support without needing to acquire expensive hardware devices.
Authors:
--------
Marco Skambraks <marco@suse.de>
%prep
%setup -n brlemu-0.1
%patch -p1
%build
#export CFLAGS="$RPM_OPT_FLAGS"
make CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/brlemu
%doc README
%doc COPYING
%changelog
* Wed Apr 23 2008 seife@suse.de
- add the "--fake" option to allow usage with Qemu, update README
* Fri Apr 04 2008 marco@suse.de
- added version number 0.1
- added author and GPL note to brlemu.c/brlemu.h/Makefile
- added COPYINg file (GPL2)
- added install section to Makefile
- modified spec-file
* Wed Feb 06 2008 seife@suse.de
- initial package submission