irssi/irssi.spec
Ailin Nemui 7f24c98fac Accepting request 565895 from home:avindra
- update to 1.1.0
  * Changes
    + Colour is now re-set when reaching a comma, matching mIRC
      behaviour
    + Irssi now shows the initial nick and name on first start
    + lynx is no longer required to run autogen.sh
    + The command history no longer permits wrapping around
    + /foreach now correctly sends arguments as commands, stopping
      you from embarassing AMSGs
    + /server does not connect to servers anymore, use /server
      connect to change servers
    + The net_ip_compare API function is now deprecated, and the
      previously deprecated net_connect has been removed
  * Additions
    + Add an option to ignore all channels or ignore all queries
      using /set activity_hide_targets
    + Add a startup warning if the TERM var is wrong inside tmux /
      screen
    + Add option to hide certain levels from the textbuffer using /
      window hidelevel
    + Irssi now has its first unit test (for mode parsing)
    + Added access to global command history when using window
      history, and a binding to erase entries from the command
      history (erase_history_entry)
    + -alternate_nick is now available as a network specific
      property
    + On FreeBSD, Irssi now supports Capsicum sandbox (/capsicum
      enter)
    + Filenames (directories) ending with a / now tab-complete
    + UTF-8 should now work in regular expressions when using
      GRegex (the default)
    + Nicks are now properly escaped on completion
    + /server add -port now works
    + Add a setting key_timeout to make key sequences
      automatically re-set when not finished
    + Warn users about expired client certificates, as servers
      may refuse them
    + Add a new net_start_ssl function for StartTLS. This is
      available from ABI 8 and can be used by protocol modules
    + The %# code is now stored in the textbuffer, so for example
      web scripts can make use of it
    + Add new setting break_wide which can be used to enable
      breaking of wide characters (for east-asian users)
    + Add fuzzing code
  * Fixes
    + Netsplits show properly again
    + Do not error on blank lines when using /exec -o
    + Detect used nickname as reported by server
    + Prevent use after free error during the execution of some
      commands
    + Fix MODE parameter parsing when colon was used at a place
      Irssi didn't expect
    + Fixed code to compile with -Werror=declaration-after-statement
    + Clang-format is now supported for git-clang-format
    + Fix use after free when changing the network of hilights
    + Fix positioning error when tab-completing non-ascii strings
    + In-development issues
    + Clarify Alis in /help list
    + Improve /lastlog performance from O(N^2) to O(N)
    + Fix a segfault on "script destroyed" signal
    + Fix early ISON error
    + Documentation improvements
    + Minor cleanups
    + Fix space issue in glib-2.0.m4
- cleanup with spec-cleaner
- drop regex-patch-653.patch
  * fixed upstream in 79bbca4644cad7f2dee89c7ac6b8f9acc2c8b427

OBS-URL: https://build.opensuse.org/request/show/565895
OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=100
2018-01-16 06:48:02 +00:00

143 lines
4.2 KiB
RPMSpec

#
# spec file for package irssi
#
# Copyright (c) 2018 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 http://bugs.opensuse.org/
#
%bcond_with socks
Name: irssi
Version: 1.1.0
Release: 0
#
Summary: Modular, Secure, and Well Designed IRC Client
#
License: GPL-2.0+
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: 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 for UNIX that currently only has a text
mode user interface. However, 80-90% of the code is not text mode
specific, so other UIs could be created easily. Also, Irssi is not
really even IRC specific anymore. There are already working SILC and
ICB modules available. Support for other protocols, like ICQ and
Jabber, could be added some day, too.
It is the code that separates Irssi from ircII, BitchX, epic, and the
rest of the text clients. It 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 \
--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/libirc_proxy.{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