Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1421460
 поиск   регистрация   авторизация 
Группа :: Сети/IRC
Пакет: irssi

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

# This spec for backport to M24 is autogenerated. Do not edit it.
%def_disable debmenu

Name: irssi
Version: 0.8.10
Release: alt0.M24.2

Summary: Irssi is an IRC client
License: GPL
Group: Networking/IRC

Packager: Pavlov Konstantin <thresh at altlinux.ru>

Url: http://irssi.org/
Source: http://irssi.org/irssi/files/irssi-%version.tar.bz2
Source1: irssi-icons.tar.bz2
Source2: irssi.desktop
Patch1: %name-0.8.10-perl_scripts.fix.alt.patch
#Patch2: %name-%version-autogen.sh.patch
Patch3: irssi-0.8.10-dcc-free.patch

# Automatically added by buildreq on Sun Jan 08 2006 (-bi)

BuildRequires: gcc-c++ glib2-devel glibc-devel-static libssl-devel libstdc++-devel libtinfo-devel perl-devel pkgconfig python-base python-modules-compiler python-modules-encodings bzip2

BuildRequires: rpm-build-compat >= 0.4

Irssi is a textUI IRC client with IPv6 support written by
Timo Sirainen <a at sicom.fi>.

More information can be found at http://irssi.org

%package devel
Group: Development/C
Summary: Header files and static libs for the development of irssi applications
Requires: %name = %version-%release

%description devel
Header files and static libs for the development of irssi applications.

%package perl
Group: Networking/IRC
Summary: Perl scripts for irssi

%description perl
Perl scripts for irssi.

%setup -q
%setup -T -D -a1 -q
%patch1 -p1
%patch3 -p1


## ugly hack =/

mkdir ac
cp *.m4 ac/

cat << EOF >> Makefile.am


%__sed -i 's at $PERL_LDFLAGS -L/usr/lib at $PERL_LDFLAGS -L/usr/%_lib at g' configure

%configure \
--with-modules \
--with-plugins \
--enable-ipv6 \
--without-socks \
--with-terminfo \
--without-ncurses \
--with-perl=module \
--with-glib2 \
--with-perl-lib=vendor \
--with-proxy \
--with-bot \
--with-imlib \
# --disable-static


%make_install DESTDIR="%buildroot" install

# Menu entries

mkdir -p %buildroot%_iconsdir

%if_enabled debmenu
mkdir -p %buildroot%_menudir

cat << EOF >%buildroot%_menudir/%name
?package(%name): \
needs="text" \
section="Networking/Chat" \
title="Irssi" \
icon="irssi.png" \
longtitle="A Text-UI based Irc Client" \
section="Networking/IRC" \
# freedesktop menu
mkdir -p %buildroot%_datadir/applications
%__install -m 644 %SOURCE2 %buildroot%_datadir/applications/irssi.desktop

# mdk icons

install -D -m 644 %{name}48.png %buildroot%_liconsdir/%name.png
install -D -m 644 %{name}32.png %buildroot%_iconsdir/%name.png
install -D -m 644 %{name}16.png %buildroot%_miconsdir/%name.png

mv %buildroot%_docdir/%name %buildroot%_docdir/%name-%version
bzip2 ChangeLog

%add_findreq_skiplist %_datadir/irssi/scripts/*

%attr(755,root,root) %_bindir/*
%config(noreplace) %_sysconfdir/irssi.conf
%if_enabled debmenu
%dir %_libdir/irssi
%dir %_libdir/irssi/modules

%files perl

%files devel

#%files -n perl-Irssi




Полный changelog можно просмотреть здесь

design & coding: Vladimir Lettiev aka crux © 2004-2005