%bcond_without ipv6 # without IPv6 support
%bcond_without ssl # without SSL support
#
-%define _rel rc5
+%define _snap 20050220
+%define _rc rc5
%define _idea_ver 0.1.46
%{?with_perl:%include /usr/lib/rpm/macros.perl}
Summary: Irssi is a IRC client
Summary(pl): Irssi - wygodny w u¿yciu klient IRC
Name: irssi
Version: 0.8.10
-Release: 0.%{_rel}.1
+Release: 0.%{_snap}.1
License: GPL
Group: Applications/Communications
-Source0: http://real.irssi.org/files/%{name}-%{version}-%{_rel}.tar.gz
-# Source0-md5: 7c0b6c1533c85e918f41ded1238e4ca1
+Source0: http://real.irssi.org/files/snapshots/%{name}-%{_snap}.tar.gz
+# Source0-md5: 2f2062f4f5da0a43f9f2b5bced17d460
+# Source0-size: 1192158
Source1: %{name}.desktop
Source2: %{name}.png
-Source3: http://www.irssi.org/files/plugins/idea/%{name}-idea-%{_idea_ver}.tar.gz
+Source3: http://real.irssi.org/files/plugins/idea/%{name}-idea-%{_idea_ver}.tar.gz
# Source3-md5: c326efe317b8f67593a3cd46d5557280
+# Source0-size: 1192158
Patch0: %{name}-dcc-send-limit.patch
Patch1: %{name}-tinfo.patch
Patch2: %{name}-home_etc.patch
%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
%{?with_perl:BuildRequires: perl-devel >= 1:5.8.4}
BuildRequires: pkgconfig
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
Obsoletes: %{name}-speech
Obsoletes: %{name}-sql
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Irssi is a textUI IRC client with IPv6 support.
Ten pakiet zawiera wtyczkê do Irssi z szyfrowaniem IDEA.
%prep
-%setup -q -n %{name}-%{version}-%{_rel} -a3
+%setup -q -n %{name}-%{version}-%{_rc} -a3
%patch0 -p1
%patch1 -p1
%patch2 -p1