LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File eggdrop.spec of Package eggdrop (Project home:netmax)

%define distversion %( perl -e '$_=\<\>;/(\\d+)\\.(\\d)\\.?(\\d)?/; print "$1$2".($3||0)' /etc/*-release)
%define smptag %(uname -a|awk '{print $5}')

Summary:   eggdrop - IRC Bot
Name:      eggdrop
Version:   1.6.18
Release:   1
License:   GPL
Vendor:    Eggheads Development Team
Url:       http://www.eggheads.org/
Packager:  Carsten Schoene <cs@linux-administrator.com>
Group:     TCL
Source:    %{name}%{version}.tar.gz
BuildRoot: /tmp/%{name}-%{version}/

BuildRequires: openssl-devel zlib-devel tcl-devel glibc-devel libgcc gcc gcc-c++
Requires: tcl tclx zlib openssl

Eggdrop is the world's most popular Open Source IRC bot, 
designed for flexibility and ease of use, 
and is freely distributable under the GNU General Public License (GPL). 

%setup -q -n %{name}%{version}

%{__make} config

if [ %{smptag} = SMP ]; then
        %{__make} -j2

install -d -m 755 $RPM_BUILD_ROOT/usr/eggdrop
%{__make} DEST=$RPM_BUILD_ROOT/usr/eggdrop install

find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}

rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf ../file.list.%{name}

%files -f ../file.list.%{name}

* Thu Dec 21 2006 Carsten Schoene <cs@linux-administrator.com>
- initial build of version 1.6.18