# xconvers.spec
#
# Copyright (c) 2003 Joop Stakenborg pg4i@amsat.org
#
%define name xconvers
%define version @VERSION@
%define release 1

# required items
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: Application
Prefix: /usr
BuildRoot: /var/tmp/%{name}-%{version}
Summary:  Hamradio convers client for X/GTK
Vendor: Joop Stakenborg <pg4i@amsat.org>
URL: http://www.qsl.net/pg4i/linux/xconvers.html
Packager: Joop Stakenborg <pg4i@amsat.org>
Source: %{name}-%{version}.tar.gz

%description
Xconvers is a client to connect to a convers server (port 3600).
In a split-screen session you can type text into the bottom screen. The
reply from the server can be seen in the top screen.
The current version features: color support, optional saving of the session
to a logfile, history for the connect dialog and the send widget and autologin.

%prep
%setup -q

%build
export RPM_OPT_FLAGS="-O2 -march=i386"
export CFLAGS="-O2"
%configure --datadir=/usr/share
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog
/usr/share/locale/nl/LC_MESSAGES/xconvers.mo
/usr/share/locale/fr/LC_MESSAGES/xconvers.mo
/usr/share/xconvers/pixmaps/cancel.xpm
/usr/share/xconvers/pixmaps/mini-xconvers.xpm
/usr/share/xconvers/pixmaps/ok.xpm
/usr/share/xconvers/pixmaps/xconvers.png
/usr/share/xconvers/pixmaps/xconvers.xpm
/usr/share/man/man1/xconvers.1.gz
/usr/bin/xconvers

%changelog
* Sat Feb 01 2003 Joop Stakenborg
- Initial spec file
