irssi/irssi.spec
Ailin Nemui 5657cf697e Accepting request 673496 from home:ailin_nemui:branches:server:irc
- update to 1.2.0
  * Improved the /STATUSBAR commands (#858)
  * /SET no longer shows `=' between setting and value (#886)
  * /CUBES removed from default config (available as script)
    (#956)
  * /1 /2 /3 ... removed from default config (available as new
    setting window_number_commands) (#958)
  * Always redraw the screen on resize. By David Phillips (#896)
  * Private notices intended for channels are now displayed on
    the channel (new setting notice_channel_context) (#959)
  + Imported the "Off-the-record" module into Irssi tree (#854,
    #589, #196)
  + Initial support for sideways split windows (#697, #431,
    #224, #807, FS#310, #947, #955, #989)
  + Change the implementation of `wcwidth'. This is used to
    calculate the width of emojis on your terminal screen (#917,
    #720)
  + Make the wcwidth functions available from Perl (#973):
        string_width(str)
        string_chars_for_width(str, width)
        wcwidth(char)
  + Added completion_keep_word setting (#979)
  + Allow activity_hide_targets to hide activity in itemless
    windows (#967, #997, #1001, #1003)
  + Added activity_hide_visible setting (#990)
  + Allow hiding of lines through the /IGNORE system (#901,
    #900, #892, #890, #884, #937)
  + Add window_default_hidelevel setting. By Doug Freed (#941)
  + Add activity_hide_window_hidelevel setting, defaulting to ON
    (#938)
  + Add autolog_only_saved_channels setting, to autolog only
    channels that are in the config (#968)
  + Add format support for the input line. By Ben Paxton,
    originally by Jonas Hurrelmann (#764, FS#621, #1004)
        use Irssi::TextUI;
        gui_input_set_extent(pos, text)
        gui_input_set_extents(pos, len, left, right)
        gui_input_clear_extents(pos, len)
        gui_input_get_extent(pos)
        gui_input_get_text_and_extents()
        gui_input_set_text_and_extents(...)
  + Parsing of IRCv3 CAP 3.2 (#775, #869)
  + Show CAP-related events in the user interface (#918, #916,
    #870, #704)
  + Continue using separators when addressing multiple nicks
    with tab completion. By Manish Goregaokar (#822)
  + Bind Shift-tab by default. By Niklas Luokkala (#830, #829)
  + Fuzzing more things (#913, #780, #813)
  - Disconnect SASL properly in case the SASL module got
    unloaded from server (#931, #629, #618, #616)
  - Fix backward completion jumping to the first instead of last
    word (#979)
  - Improve empty topic handling (#961, #905, #911, #897, #888)
  - Prevent config truncation when no space left. By dequis and
    Lukas Waymann (#922, #925, #910, #909, #906, #871, #817)
  - Also time-out servers in lookup phase (#866, #130)
  - Fix build with LibreSSL 2.7. By Dorian Harmans (#865)
  - Fix a crash when appending to a textbuffer without
    line. Reported by Jari Matilainen (#862)
  - Fix segfault on sending large messages (#803, #796, #802)
  - Fix segfault on invalid statusbar config (#993, #994)
  - Fix random memory writes on restoring queries of foreign
    protocols (#999, #1000)
  - Make default keybinds deletable (#859, #507)
  - Fix freeze when resizing Irssi very small (#946)
  - Compare channels case-insensitively, avoiding confusions
    with the config file (#857, #856)
  - Fix DCC GET on Android. By Martin Staron (#844)
  - Improve rawlog performance (#957)
  - Fix nick escaping erroneously escaping quotes (#978, #974,
    #709)
  - Protect against theme recursion, improve padding
    performance, limit alignment padding. Credit to Oss-Fuzz
    (#835, #851, #850, #846, #848)
  - Fix recursive loop in replaces (#833, GL#23)
  - Fix headers for compilation of C modules (#939)
  - Documentation. By Zero King (#814). (#852)
  - Sync NEWS, docs, scripts (#849, #855)
  - Build system (#868, #867, #985, #988)
  - Fix build on IBM i and AIX. By Calvin Buckley (#975)
  - Misc fixes (#840, #839, #843, #953, #962). Tests (#806,
    #875, #905, #964, #1011). Fuzzing (#929).

OBS-URL: https://build.opensuse.org/request/show/673496
OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=109
2019-02-11 22:51:43 +00:00

145 lines
4.1 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package irssi
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with socks
Name: irssi
Version: 1.2.0
Release: 0
Summary: Modular IRC Client
License: GPL-2.0-or-later
Group: Productivity/Networking/IRC
URL: http://www.irssi.org
Source: https://github.com/irssi/irssi/releases/download/%{version}/irssi-%{version}.tar.xz
Source1: irssi.desktop
Source2: irssi.png
Source3: https://github.com/irssi/irssi/releases/download/%{version}/irssi-%{version}.tar.xz.asc
# https://sks-keyservers.net/pks/lookup?op=get&search=0x00CCB587DDBEF0E1
Source4: %{name}.keyring
Source99: irssi-rpmlintrc
# PATCH-FIX-OPENSUSE irssi-0.8.16_missing_prototype_warnings.patch
Patch1: irssi-0.8.16_missing_prototype_warnings.patch
BuildRequires: glib2-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: libotr-devel
%if 0%{?suse_version} > 1330 && 0%{?sle_version} == 0
BuildRequires: utf8proc-devel
%endif
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: pkgconfig
BuildRequires: xz
Conflicts: %{name}-snapshot
%{perl_requires}
%{?libperl_requires}
%if %{with socks}
BuildRequires: dante-devel
%endif
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%description
Irssi is a modular IRC client that currently only has a text mode
user interface. However, 8090%% of the code is not text mode
specific, so other UIs could be created. Irssi is not IRC specific;
there are SILC and ICB modules available.
Irssi is not using the ircII code.
%package devel
#
Summary: Development package for irssi
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
Requires: dante-devel
%description devel
This package contains the development files for irssi. It allows to
compile plugins for the irssi package.
%prep
%setup -q
%patch1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="-pie"
%configure \
--disable-silent-rules \
--enable-ipv6 \
--with-bot \
--with-proxy \
%if %{with socks}
--with-socks \
%endif
--enable-dane \
--enable-ssl \
--with-ncurses \
--with-terminfo \
--enable-true-color \
--with-perl=yes \
%if 0%{?suse_version} > 1330
--with-otr=module \
%endif
--with-perl-lib=vendor
make %{?_smp_mflags} all V=1
%install
%make_install docdir=%{_docdir}/%{name} V=1
%perl_process_packlist
rm %{buildroot}%{_libdir}/irssi/modules/lib*.{a,la}
install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
install -D -m0644 "%{SOURCE2}" "%{buildroot}%{_datadir}/pixmaps/irssi.png"
%if 0%{?suse_version}
%suse_update_desktop_file -r "%{name}" Network IRCClient
%endif
%files
%config(noreplace) %{_sysconfdir}/irssi.conf
%{_bindir}/botti
%{_bindir}/irssi
# modules
%dir %{_libdir}/irssi
%dir %{_libdir}/irssi/modules
%{_libdir}/irssi/modules/*.so*
# scripts & themes
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
#perl
%dir %{perl_vendorarch}/Irssi
%{perl_vendorarch}/Irssi.pm
%{perl_vendorarch}/Irssi/*
%{perl_vendorarch}/auto/Irssi
# docs
%dir %{_defaultdocdir}/irssi
%docdir %{_defaultdocdir}/irssi/
%doc %{_defaultdocdir}/irssi/*
%{_mandir}/man1/*.1%{?ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/irssi.png
%files devel
%{_includedir}/irssi/
%changelog