File ytalk.spec of Package ytalk

#
# spec file for package ytalk (Version 3.3.0)
#
# Copyright (c) 2007 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:           ytalk
BuildRequires:  ncurses-devel xorg-x11 xorg-x11-devel
License:        X11/MIT
Group:          Productivity/Networking/Talk/Clients
Autoreqprov:    on
Version:        3.3.0
Release:        56
Summary:        Multi-User replacement for Unix talk client
URL:            http://www.impul.se/ytalk/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
YTalk is, in essence, a multiuser chat program. It works almost exactly
like the UNIX talk program and even communicates with the same talk
daemons, but YTalk allows for multiple connections.



Authors:
--------
    Britt Yenne <yenne@austin.eds.com>
    Roger Espel Llima <roger.espel.llima@pobox.com>
    Jessica Peterson <angel@metawire.org>

%prep
%setup

%build
%{suse_update_config}
autoconf
CFLAGS="$RPM_OPT_FLAGS" ./configure \
                        --prefix=/usr \
                        --sysconfdir=/etc \
			--x-libraries=/usr/X11R6/%{_lib} \
			--with-x \
                        --mandir=%{_mandir}
make

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog README*  
%config /etc/ytalkrc
/usr/bin/ytalk
%doc %{_mandir}/man1/*

%changelog
* Thu Mar 29 2007 - rguenther@suse.de
- add ncurses-devel BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Mar 14 2005 - postadal@suse.cz
- updated to version 3.3.0 [#71806]
- removed obsoleted patches
* Thu Aug 19 2004 - postadal@suse.cz
- updated to version 3.1.2
  * -x command line switch now enables X11 mode instead of disabling it
  * scrolling is enabled by default
* Wed May 05 2004 - postadal@suse.cz
- fixed gcc warnings
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Jan 15 2002 - cihlar@suse.cz
- use %%{_lib}
* Tue Feb 27 2001 - cihlar@suse.cz
- added suse_update_config
- improved installation to build root
- fixed %%files
- fixed Copyright
* Wed Jun 07 2000 - nadvornik@suse.cz
- sorted
* Tue Apr 25 2000 - smid@suse.de
- added url and buildroot
* Sun Jan 30 2000 - kukuk@suse.de
- Move /usr/man -> /usr/share/man
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jun 17 1999 - kukuk@suse.de
- Split from nkita, update to 3.1.1
openSUSE Build Service is sponsored by