File ii.spec of Package ii
#
# spec file for package ii
#
# Copyright (c) 2013 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/
#
Name:           ii
Version:	1.7
Release:	0
License:	MIT
Summary:	Minimalist filesystem-based IRC client
Url:		http://dl.suckless.org/tools/ii-1.7.tar.gz
Group:		TBD
Source:		%{name}-%{version}.tar.gz
Patch0:		config.mk.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%description
ii is a minimalist FIFO and filesystem-based IRC client. It creates an irc
directory tree with server, channel and nick name directories. In every
directory a FIFO in file and a normal out file is created.
The in file is used to communicate with the servers and the out files contain
the server messages. For every channel and every nick name there are related
in and out files created. This allows IRC communication from command line and
adheres to the Unix philosophy. example
Join a channel as follows:
 $ echo "/j #wmii" > in
and ii creates a new #wmii
(channel) directory with in and out files.
%prep
%setup -q
%patch0 -p1
%build
%config_suckless
make %{?_smp_mflags}
%install
%make_install
rm -rf "%{buildroot}/%{_datadir}/doc/%{name}"
%files
%defattr(-,root,root)
%doc README LICENSE FAQ CHANGES query.sh
%{_bindir}/*
%{_mandir}/*/*
%changelog