diff --git a/.cvsignore b/.cvsignore index c33e136..528fa79 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -irssi-0.8.9.tar.bz2 +irssi-0.8.10-rc7.tar.gz diff --git a/irssi-0.8.9-gcc4.patch b/irssi-0.8.9-gcc4.patch deleted file mode 100644 index 0c7027a..0000000 --- a/irssi-0.8.9-gcc4.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur irssi-0.8.9-orig/src/perl/ui/Formats.xs irssi-0.8.9/src/perl/ui/Formats.xs ---- irssi-0.8.9-orig/src/perl/ui/Formats.xs 2003-01-25 04:30:02.000000000 +0100 -+++ irssi-0.8.9/src/perl/ui/Formats.xs 2005-04-11 23:18:40.000000000 +0200 -@@ -3,7 +3,7 @@ - static int magic_free_text_dest(pTHX_ SV *sv, MAGIC *mg) - { - TEXT_DEST_REC *dest = (TEXT_DEST_REC *) mg->mg_ptr; -- g_free((char *) dest->target); -+ g_free(dest->target); - g_free(dest); - mg->mg_ptr = NULL; - sv_setiv(sv, 0); diff --git a/irssi-0.8.9-include-config.h.patch b/irssi-0.8.9-include-config.h.patch deleted file mode 100644 index fd7ac91..0000000 --- a/irssi-0.8.9-include-config.h.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur irssi-0.8.9-orig/src/common.h irssi-0.8.9/src/common.h ---- irssi-0.8.9-orig/src/common.h 2002-12-10 18:45:02.000000000 +0100 -+++ irssi-0.8.9/src/common.h 2005-04-11 23:15:59.000000000 +0200 -@@ -14,7 +14,7 @@ - #define DEFAULT_SERVER_ADD_PORT 6667 - - #ifdef HAVE_CONFIG_H --#include "config.h" -+#include "../config.h" - #endif - - #include diff --git a/irssi.spec b/irssi.spec index 2c77726..36a8c9f 100644 --- a/irssi.spec +++ b/irssi.spec @@ -1,45 +1,51 @@ %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) +%define release_candidate rc7 + Summary: Modular text mode IRC client with Perl scripting Name: irssi -Version: 0.8.9 -Release: 8 +Version: 0.8.10 +Release: 0.1.%{release_candidate}%{?dist} License: GPL Group: Applications/Communications URL: http://irssi.org/ -Source0: http://irssi.org/files/%{name}-%{version}.tar.bz2 +Source0: http://irssi.org/files/irssi-%{version}-%{release_candidate}.tar.gz Source1: http://wouter.coekaerts.be/irssi/scripts/replace.pl Source2: http://wouter.coekaerts.be/irssi/scripts/trigger.pl Source3: http://wouter.coekaerts.be/irssi/scripts/convert-replace-trigger.pl Patch1: convert-replace-trigger.pl-fixpath-patch -Patch2: irssi-0.8.9-include-config.h.patch -Patch3: irssi-0.8.9-gcc4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: ncurses-devel openssl-devel zlib-devel pkgconfig gc-devel -%{?_with_glib1:BuildRequires: glib-devel} -%{!?_with_glib1:BuildRequires: glib2-devel} +BuildRequires: ncurses-devel openssl-devel zlib-devel +BuildRequires: pkgconfig gc-devel glib2-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%package devel +Summary: Development package for irssi +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} %description Irssi is a modular IRC client with Perl scripting. Only text-mode frontend is currently supported. The GTK/GNOME frontend is no longer being maintained. +%description devel +This package contains headers needed to develop irssi plugins. + +Irssi is a modular IRC client with Perl scripting. Only text-mode +frontend is currently supported. The GTK/GNOME frontend is no longer +being maintained. + %prep -%setup -q +%setup -q -n %{name}-%{version}-%{release_candidate} install -m 0644 %{SOURCE3} . %patch1 -p0 -%patch2 -p1 -b .include-config.h -%patch3 -p1 -b .gcc4 - %build %configure --enable-ipv6 --with-textui \ -%{?_with_glib1: --with-glib1} \ --with-proxy \ --with-bot \ --with-perl=module \ @@ -82,7 +88,15 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/auto/Irssi +%files devel +%defattr(-,root,root,-) +%{_includedir}/irssi + %changelog +* Tue Nov 15 2005 Dams - 0.8.10-0.1.rc7 +- Dropped patch 2 (seems applied upstream) and 3 (no longer needed) +- Removed conditionnal build against glib1 parts + * Sun Nov 13 2005 Luke Macken 0.8.9-8 - Rebuild against new openssl diff --git a/sources b/sources index c180b86..209eb5a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6610ee0e27922f447e40828cf7dee507 irssi-0.8.9.tar.bz2 +1931fc16009b593d98dc8c8f3503b701 irssi-0.8.10-rc7.tar.gz