File muh.spec of Package muh
# norootforbuild
Name: muh
Version: 2.2a
Release: 0
#
License: GPL
Group: Productivity/Networking/IRC
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
#
URL: http://muh.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
#
Summary: A smart IRC-bouncing tool
%description
muh is a smart IRC-bouncing tool that remains on IRC all the time. You can take
control over your nick by connecting to muh with an IRC client that is able to
supply a password for the server connection.
Authors:
--------
Sebastian Kienzl <zap@riot.org>
Lee H <lee@leeh.co.uk>
Tobias Rill <buster@unrule.org>
Henning Rust <jey@unrule.org>
Sebastian Erlhofer <sebastian@mquant.de>
%prep
%setup
%build
%if 0%{?suse_version} > 1000
export CFLAGS="%{optflags} -fstack-protector-all"
%endif
%configure --enable-ipv6
%{__make}
%install
%makeinstall
%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}/muh
%{_bindir}/muh-check
%{_bindir}/muh-rotatelog
%{_infodir}/muh.info.gz
%{_datadir}/muhrc
%doc AUTHORS ChangeLog COPYING TODO
%changelog