X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=irssi.spec;h=d9099b666d400f12b5ba3947086462e5cdd3c5ed;hb=2910aaf85a63e32daeeecb83349e4b3fa64517a1;hp=cc7f5827175eaabf0377054e9be92feae3247b9c;hpb=12689c1eb4d42309f7a28ab0222d2bc37c3336ea;p=packages%2Firssi.git diff --git a/irssi.spec b/irssi.spec index cc7f582..d9099b6 100644 --- a/irssi.spec +++ b/irssi.spec @@ -1,30 +1,34 @@ # # Conditional build: -%bcond_without perl # without perl support -%bcond_without ipv6 # without IPv6 support +%bcond_without perl # without perl support +%bcond_without ipv6 # without IPv6 support %bcond_without ssl # without SSL support # +%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(fr): Irssi est un client IRC Summary(pl): Irssi - wygodny w u¿yciu klient IRC Name: irssi -Version: 0.8.9 -Release: 3 +Version: 0.8.10 +Release: 0.%{_snap}.1 License: GPL Group: Applications/Communications -Source0: http://real.irssi.org/files/%{name}-%{version}.tar.bz2 -# Source0-md5: 6610ee0e27922f447e40828cf7dee507 +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 -#Patch0: %{name}-dcc-send-limit.patch -Patch1: %{name}-channel_auto_who.patch -Patch2: %{name}-tinfo.patch -Patch3: %{name}-home_etc.patch -Patch4: %{name}.conf.patch +# Source0-size: 1192158 +Patch0: %{name}-dcc-send-limit.patch +Patch1: %{name}-tinfo.patch +Patch2: %{name}-home_etc.patch +Patch3: %{name}.conf.patch +Patch4: %{name}-idea-listlen.patch URL: http://www.irssi.org/ BuildRequires: autoconf BuildRequires: automake @@ -33,12 +37,13 @@ BuildRequires: glib-devel BuildRequires: glib2-devel >= 2.1.0 BuildRequires: libtool BuildRequires: ncurses-devel >= 5.0 -%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7c} -%{?with_perl:BuildRequires: perl-devel >= 1:5.8.0} +%{?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. @@ -50,9 +55,9 @@ Irssi est client IRC. Irssi jest tekstowym klientem IRC ze wsparciem dla IPv6. %package plugin-idea -Summary: Irssi plugin IDEA crypt -Summary(pl): Wtyczka do irssi do szyfrowania IDEA -Group: Applications/Communications +Summary: Irssi plugin IDEA crypt +Summary(pl): Wtyczka do irssi do szyfrowania IDEA +Group: Applications/Communications Requires: %{name} = %{version} %description plugin-idea @@ -62,8 +67,8 @@ This package contains IDEA Crypt plugin for Irssi. Ten pakiet zawiera wtyczkê do Irssi z szyfrowaniem IDEA. %prep -%setup -q -a3 -#%patch0 -p1 +%setup -q -n %{name}-%{version}-%{_rc} -a3 +%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -121,7 +126,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS ChangeLog README TODO NEWS docs/*.txt +%doc AUTHORS ChangeLog README TODO NEWS docs/*.{txt,html} %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/irssi %dir %{_libdir}/irssi/modules