File bitchx.spec of Package bitchx

#
# spec file for package bitchx
#
# Copyright (c) 2012 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 http://bugs.opensuse.org/
#


Summary:        Old-skool IRC client
License:        BSD-3-Clause
Group:          Productivity/Networking/IRC
Name:           bitchx
Version:        1.2.1
Release:        1

Source:         bitchx-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ncurses-devel xz openssl-devel
#BuildRequires:  tcl-devel
%if 0%{?suse_version}
BuildRequires:	fdupes
%endif

%description
The updated version of the original BitchX IRC client.
          
%prep
%setup -q

%build
%configure 
#--with-tcl

make %{?_smp_mflags}

%install
make install DESTDIR="%buildroot";
%if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix
%endif

%files
%defattr(-,root,root)
%_bindir/BitchX*
%_bindir/scr-bx
%_libdir/bx
%_mandir/man1/BitchX.1*

%changelog