File miau.spec of Package miau

# norootforbuild

Name: miau
Version: 0.6.6
Release: 0
#
License: GPL
Group: Productivity/Networking/IRC
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
#
URL: http://miau.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
#
Summary: A full featured IRC-bouncer/proxy
%description
miau is a smart IRC-bouncing tool that remains on IRC all the time. You can take
control over your nick by connecting to miau with an IRC client that is able to
supply a password for the server connection.


Authors:
--------
    Tommi Saviranta <wnd@iki.fi>
    Tobias Rill <buster@unrule.org>
    Henning Rust <jey@unrule.org>
    muh:
    Sebastian Kienzl <zap@riot.org>
    Lee H <lee@leeh.co.uk>

%prep
%setup

%build
%if 0%{?suse_version} > 1000
export CFLAGS="%{optflags} -fstack-protector-all"
%endif
%configure \
    --enable-ipv6 \
    --enable-dccbounce \
    --enable-automode \
    --enable-releasenick \
    --enable-mkpasswd \
    --enable-uptime \
    --enable-chanlog \
    --enable-privlog \
    --enable-onconnect \
    --enable-empty-awaymsg \
    --enable-pingstat \
    --enable-dumpstatus \
    --enable-enduserdebug \
    --enable-debug \
    --enable-pingstat
%{__make}

%install
%makeinstall datadir=%{_docdir}/%{name}
%{__install} -m 0644 AUTHORS BUGS ChangeLog COPYING NEWS README TODO \
    %{buildroot}%{_docdir}/%{name}/

%clean
%{__rm} -rf %{buildroot}

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%files
%defattr(-,root,root,-)
%{_bindir}/miau
%{_bindir}/miau-check
%{_infodir}/miau.info*
%{_mandir}/man1/miau.1*
%doc %{_docdir}/%{name}/

%changelog
* Thu Nov 23 2006 - mrueckert@suse.de
- initial package of version 0.6.2
openSUSE Build Service is sponsored by