weechat/weechat.spec

206 lines
6.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package weechat
#
Accepting request 769245 from home:oxy:branches:server:irc - update to 2.7 - New features * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add file weechat.desktop * core: add reverse of string for screen in evaluation of expressions with "revscr:" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add optional default path (evaluated) in completion "filename" * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" * api: add modifier "color_encode_ansi" (issue #528) * api: add modifier "eval_path_home" * irc: add filters on raw buffer (issue #1000) * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892) * irc: add server option "ssl_password" (issue #115, issue #1416) * irc: add "user" in output of irc_message_parse (issue #136) * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684) * logger: add option logger.file.color_lines (issue #528, issue #621) * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237) - Bug fixes * core: set buffer name, short name and title only if the value has changed * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978) * core: optimize load of configuration files * core: fix window separators not respecting window splits (issue #630) * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619) * core: add support of reverse video in ANSI color codes * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) * irc: do not automatically open a channel with name "0" (issue #1429) * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832) * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60) * logger: fix write in log file if it has been deleted or renamed (issue #123) * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389) * relay: send message "_buffer_title_changed" to clients only when the title is changed * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded - Tests * unit: add tests on GUI color functions - Build * core: fix build on Haiku (issue #1420) * core: fix build on Alpine * core: remove file FindTCL.cmake * core: display an error on missing dependency in CMake (issue #916, issue #956) * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan * debian: build with Guile 2.2 * guile: add support of Guile 2.2, disable /guile eval (issue #1098) * python: add detection of Python 3.8 OBS-URL: https://build.opensuse.org/request/show/769245 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=93
2020-02-02 15:12:00 +01:00
# Copyright (c) 2020 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/
#
Name: weechat
Accepting request 821853 from home:oxy:branches:server:irc - new .desktop file from weechat sources - update to 2.9 - New features * core: add bar option "color_bg_inactive": color for window bars in inactive window (issue #732) * core: add Alacritty title escape sequence support (issue #1517) * core: display notify level for current buffer with command /buffer notify (issue #1505) * core: count only visible nicks in bar item "buffer_nicklist_count", add bar items "buffer_nicklist_count_groups" and "buffer_nicklist_count_all" (issue #1506) * core: set default size for input bar to 0 (automatic) (issue #1498) * core: add default key Alt+Enter to insert a newline (issue #1498) * core: add flag "input_multiline" in buffer (issue #984, issue #1063) * core: add a scalable WeeChat logo (SVG) (issue #1454, issue #1456) * core: add base 16/32/64 encoding/decoding in evaluation of expressions with "base_encode:base,xxx" and "base_decode:base,xxx" * core: add case sensitive wildcard matching comparison operator (==* and !!*) and case sensitive/insensitive include comparison operators (==-, !!-, =-, !-) in evaluation of expressions * core: add default key Alt+Shift+N to toggle nicklist bar * core: add command line option "--stdout" in weechat-headless binary to log to stdout rather than ~/.weechat/weechat.log (issue #1475, issue #1477) * core: reload configuration files on SIGHUP (issue #1476) * api: add pointer "_bar_window" in hashtable sent to hook focus callback (issue #1450) * api: add info_hashtable "focus_info" (issue #1245, issue #1257) * api: rename function hook_completion_get_string to completion_get_string and hook_completion_list_add to completion_list_add * api: add functions completion_new, completion_search and completion_free * api: add hdata "completion_word" * buflist: add default key Alt+Shift+B to toggle buflist * buflist: add options enable/disable/toggle in command /buflist * buflist: evaluate option buflist.look.sort so that sort can be customized for each of the three buflist bar items (issue #1465) * irc: add support of UTF8MAPPING (issue #1528) * irc: display account messages in buffers (issue #1250) * python: add WeeChat sharedir python directory to PYTHONPATH (issue #1537) * relay: increase default limits for IRC backlog options * relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks, add options relay.network.password_hash_algo, relay.network.password_hash_iterations, relay.network.nonce_size (issue #1474) * relay: add command "completion" in weechat relay protocol to perform a completion on a string at a given position (issue #1484) * relay: add option relay.network.auth_timeout * relay: update default colors for client status * relay: add status "waiting_auth" in irc and weechat protocols (issue #1358) * trigger: evaluate arguments of command when the trigger is created (issue #1472) - Bug fixes * core: fix command /window scroll_beyond_end when buffer has fewer lines than chat height (issue #1509) * core: force buffer property "time_for_each_line" to 0 for buffers with free content (issue #1485) * core: don’t collapse consecutive newlines in lines displayed before the first buffer is created * core: don’t remove consecutive newlines when pasting text (issue #1500) * core: don’t collapse consecutive newlines in bar content (issue #1500) * core: fix WEECHAT_SHAREDIR with CMake build (issue #1461) * core: fix memory leak in calculation of expression on FreeBSD (issue #1469) * core: fix resize of a bar when its size is 0 (automatic) (issue #1470) * api: fix use of pointer after free in function key_unbind * api: replace plugin and buffer name by buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (issue #42) * buflist: add "window" pointer in bar item evaluation only if it’s not NULL (if bar type is "window") * exec: fix use of same task id for different tasks (issue #1491) * fifo: fix errors when writing in the FIFO pipe (issue #713) * guile: enable again /guile eval (issue #1514) * irc: use new default chantypes "#&" when the server does not send it * irc: add support of optional server in info "irc_is_nick", fix check of nick using UTF8MAPPING isupport value (issue #1528) * irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores (issue #1518) * irc: do not remove spaces at the end of users messages received (issue #1513) * irc: fix realname delimiter color in WHO/WHOX response (issue #1497) * irc: reuse a buffer with wrong type "channel" when a private message is received (issue #869) * python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (issue #1463) * relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529) * relay: fix slow send of data to clients when SSL is enabled * trigger: only return trigger’s return code when condition evaluates to true (issue #592) * trigger: fix truncated trigger command with commands /trigger input|output|recreate * trigger: do not hide values of options with /set command in cmd_pass trigger - Documentation * add includes directory * merge 53 auto-generated files into 11 files * fix broken literal blocks in Japanese docs with Firefox (issue #1466) - Tests * core: add CI with GitHub Actions, move codecov.io upload to GitHub Actions * core: switch to Ubuntu Bionic on Travis CI, use pylint3 to lint Python scripts * core: run tests on plugins only if the plugins are enabled and compiled * irc: add tests on IRC color and channel functions - Build * javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360) * core: make GnuTLS a required dependency * core: fix build with CMake 3.17.0 * core: fix build with cygport on Cygwin OBS-URL: https://build.opensuse.org/request/show/821853 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=98
2020-07-21 01:07:56 +02:00
Version: 2.9
Release: 0
Summary: Multi-protocol extensible Chat Client
License: GPL-3.0-or-later
Group: Productivity/Networking/IRC
URL: https://weechat.org
Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz
Source1: weechat.desktop
Source2: %{name}.keyring
Source3: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc
Source4: %{name}.changes
BuildRequires: ca-certificates
BuildRequires: cmake
BuildRequires: curl-devel
BuildRequires: gcc-c++
BuildRequires: grep
BuildRequires: hicolor-icon-theme
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libtool
BuildRequires: lzo-devel
BuildRequires: ncurses-devel
BuildRequires: perl
Accepting request 432607 from home:mimi_vx:branches:server:irc - update to version 1.6 - removed weechat-doc subpackage, ( BuildRequires dep missing ) * New features: + core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear + core: add option "cycle" in command /buffer + api: add "extra" argument to evaluate extra variables in function string_eval_expression() + relay: add option relay.network.allow_empty_password + trigger: add support for one-time triggers Improvements + core, irc, xfer: display more information in memory allocation errors + api: remove functions printf_date() and printf_tags() + irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them + relay: allow escape of comma in command "init" (weechat protocol) Bug fixes + core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) + api: fix return of function string_match() when there are multiple masks in the string + api: fix crash in function network_connect_to() if address is NULL + api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux + api: fix crash in function string_split_command() when the separator is not a semicolon + irc: fix socket leak in connection to server + irc: fix display of service notice mask (message 008) + irc: fix NULL pointer dereference in 734 command callback + relay: return an empty hdata when the requested hdata or pointer is not found OBS-URL: https://build.opensuse.org/request/show/432607 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=74
2016-10-02 19:47:51 +02:00
BuildRequires: pkgconfig
BuildRequires: ruby-devel
BuildRequires: update-desktop-files
Accepting request 432607 from home:mimi_vx:branches:server:irc - update to version 1.6 - removed weechat-doc subpackage, ( BuildRequires dep missing ) * New features: + core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear + core: add option "cycle" in command /buffer + api: add "extra" argument to evaluate extra variables in function string_eval_expression() + relay: add option relay.network.allow_empty_password + trigger: add support for one-time triggers Improvements + core, irc, xfer: display more information in memory allocation errors + api: remove functions printf_date() and printf_tags() + irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them + relay: allow escape of comma in command "init" (weechat protocol) Bug fixes + core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) + api: fix return of function string_match() when there are multiple masks in the string + api: fix crash in function network_connect_to() if address is NULL + api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux + api: fix crash in function string_split_command() when the separator is not a semicolon + irc: fix socket leak in connection to server + irc: fix display of service notice mask (message 008) + irc: fix NULL pointer dereference in 734 command callback + relay: return an empty hdata when the requested hdata or pointer is not found OBS-URL: https://build.opensuse.org/request/show/432607 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=74
2016-10-02 19:47:51 +02:00
BuildRequires: pkgconfig(enchant)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(lua)
Accepting request 588489 from home:mimi_vx:branches:server:irc - update to 2.1 - build python plugin against python3 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") * core: add options "-newbuffer", "-free" and "-switch" in command /print * core: add option "-y" in command /print, add support of buffers with free content * core: add option "add" in command /buffer * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates * api: add hashtable with variables in plugin structure * irc: add server option "split_msg_max_length" * logger: add option logger.file.fsync * logger: add option logger.look.backlog_conditions) * scripts: add configuration file for each script plugin * scripts: add "eval" option in script commands and info "xxx_eval" * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins * scripts: add option "version" in script commands * api: add time in info "date" (WeeChat compilation date/time) * irc: allow ${irc_server.xxx} and ${server} in server evaluated options * script: change default value of option script.look.sort from "p,n" to "i,p,n" * scripts: display the script name in stdout/stderr output from scripts * core: fix regression on execution of hook_print callbacks OBS-URL: https://build.opensuse.org/request/show/588489 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=84
2018-03-19 11:26:44 +01:00
BuildRequires: pkgconfig(python3)
Accepting request 432607 from home:mimi_vx:branches:server:irc - update to version 1.6 - removed weechat-doc subpackage, ( BuildRequires dep missing ) * New features: + core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear + core: add option "cycle" in command /buffer + api: add "extra" argument to evaluate extra variables in function string_eval_expression() + relay: add option relay.network.allow_empty_password + trigger: add support for one-time triggers Improvements + core, irc, xfer: display more information in memory allocation errors + api: remove functions printf_date() and printf_tags() + irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them + relay: allow escape of comma in command "init" (weechat protocol) Bug fixes + core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) + api: fix return of function string_match() when there are multiple masks in the string + api: fix crash in function network_connect_to() if address is NULL + api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux + api: fix crash in function string_split_command() when the separator is not a semicolon + irc: fix socket leak in connection to server + irc: fix display of service notice mask (message 008) + irc: fix NULL pointer dereference in 734 command callback + relay: return an empty hdata when the requested hdata or pointer is not found OBS-URL: https://build.opensuse.org/request/show/432607 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=74
2016-10-02 19:47:51 +02:00
BuildRequires: pkgconfig(tcl)
Requires: ca-certificates
Requires: hicolor-icon-theme
Recommends: %{name}-lang = %{version}
Accepting request 769245 from home:oxy:branches:server:irc - update to 2.7 - New features * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add file weechat.desktop * core: add reverse of string for screen in evaluation of expressions with "revscr:" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add optional default path (evaluated) in completion "filename" * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" * api: add modifier "color_encode_ansi" (issue #528) * api: add modifier "eval_path_home" * irc: add filters on raw buffer (issue #1000) * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892) * irc: add server option "ssl_password" (issue #115, issue #1416) * irc: add "user" in output of irc_message_parse (issue #136) * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684) * logger: add option logger.file.color_lines (issue #528, issue #621) * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237) - Bug fixes * core: set buffer name, short name and title only if the value has changed * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978) * core: optimize load of configuration files * core: fix window separators not respecting window splits (issue #630) * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619) * core: add support of reverse video in ANSI color codes * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) * irc: do not automatically open a channel with name "0" (issue #1429) * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832) * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60) * logger: fix write in log file if it has been deleted or renamed (issue #123) * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389) * relay: send message "_buffer_title_changed" to clients only when the title is changed * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded - Tests * unit: add tests on GUI color functions - Build * core: fix build on Haiku (issue #1420) * core: fix build on Alpine * core: remove file FindTCL.cmake * core: display an error on missing dependency in CMake (issue #916, issue #956) * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan * debian: build with Guile 2.2 * guile: add support of Guile 2.2, disable /guile eval (issue #1098) * python: add detection of Python 3.8 OBS-URL: https://build.opensuse.org/request/show/769245 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=93
2020-02-02 15:12:00 +01:00
# without scripts it is a bit annoying
Recommends: %{name}-perl = %{version}
Recommends: %{name}-python = %{version}
Obsoletes: %{name}-guile
%description
WeeChat (Wee Enhanced Environment for Chat) is a
chat environment. It can be entirely controlled with the keyboard, has a
plugin-based architecture and is customizable and extensible with scripts in
several scripting languages.
%lang_package
%package devel
Summary: Development Environment for %{name} Plugins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
Development environment for authoring %{name} plugins.
%package lua
Summary: Lua Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
%description lua
Support for %{name} scripts written in the Lua language.
%package perl
Summary: Perl Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
%{?libperl_requires}
%description perl
Support for %{name} scripts written in the Perl language.
%package python
Summary: Python Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
%description python
Support for %{name} scripts written in the Python language.
%package tcl
Summary: Tcl Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
%description tcl
Support for %{name} scripts written in the Tcl language.
%package ruby
Summary: Ruby Scripting Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
%description ruby
Support for %{name} scripts written in the Ruby language.
%package spell
Summary: Aspell and Enchant Spell-Checking Support for %{name}
Group: Productivity/Networking/IRC
Requires: %{name} = %{version}
Supplements: (%{name} and enchant-2-backend-hunspell)
Accepting request 769245 from home:oxy:branches:server:irc - update to 2.7 - New features * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add file weechat.desktop * core: add reverse of string for screen in evaluation of expressions with "revscr:" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add optional default path (evaluated) in completion "filename" * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" * api: add modifier "color_encode_ansi" (issue #528) * api: add modifier "eval_path_home" * irc: add filters on raw buffer (issue #1000) * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892) * irc: add server option "ssl_password" (issue #115, issue #1416) * irc: add "user" in output of irc_message_parse (issue #136) * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684) * logger: add option logger.file.color_lines (issue #528, issue #621) * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237) - Bug fixes * core: set buffer name, short name and title only if the value has changed * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978) * core: optimize load of configuration files * core: fix window separators not respecting window splits (issue #630) * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619) * core: add support of reverse video in ANSI color codes * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) * irc: do not automatically open a channel with name "0" (issue #1429) * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832) * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60) * logger: fix write in log file if it has been deleted or renamed (issue #123) * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389) * relay: send message "_buffer_title_changed" to clients only when the title is changed * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded - Tests * unit: add tests on GUI color functions - Build * core: fix build on Haiku (issue #1420) * core: fix build on Alpine * core: remove file FindTCL.cmake * core: display an error on missing dependency in CMake (issue #916, issue #956) * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan * debian: build with Guile 2.2 * guile: add support of Guile 2.2, disable /guile eval (issue #1098) * python: add detection of Python 3.8 OBS-URL: https://build.opensuse.org/request/show/769245 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=93
2020-02-02 15:12:00 +01:00
Obsoletes: %{name}-aspell < %{version}
Provides: %{name}-aspell = %{version}
%description spell
Spell-checking support for %{name}, using the aspell and enchant libraries.
%prep
%setup -q
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -name '*.[ch]' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" "{}" "+"
%build
export CFLAGS="%{optflags}"
# Tests require cpputest package
# no-undefined for perl seem not to work as desired
%cmake \
-DLIBDIR="%{_libdir}" \
Accepting request 769245 from home:oxy:branches:server:irc - update to 2.7 - New features * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add file weechat.desktop * core: add reverse of string for screen in evaluation of expressions with "revscr:" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add optional default path (evaluated) in completion "filename" * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" * api: add modifier "color_encode_ansi" (issue #528) * api: add modifier "eval_path_home" * irc: add filters on raw buffer (issue #1000) * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892) * irc: add server option "ssl_password" (issue #115, issue #1416) * irc: add "user" in output of irc_message_parse (issue #136) * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684) * logger: add option logger.file.color_lines (issue #528, issue #621) * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237) - Bug fixes * core: set buffer name, short name and title only if the value has changed * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978) * core: optimize load of configuration files * core: fix window separators not respecting window splits (issue #630) * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619) * core: add support of reverse video in ANSI color codes * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) * irc: do not automatically open a channel with name "0" (issue #1429) * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832) * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60) * logger: fix write in log file if it has been deleted or renamed (issue #123) * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389) * relay: send message "_buffer_title_changed" to clients only when the title is changed * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded - Tests * unit: add tests on GUI color functions - Build * core: fix build on Haiku (issue #1420) * core: fix build on Alpine * core: remove file FindTCL.cmake * core: display an error on missing dependency in CMake (issue #916, issue #956) * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan * debian: build with Guile 2.2 * guile: add support of Guile 2.2, disable /guile eval (issue #1098) * python: add detection of Python 3.8 OBS-URL: https://build.opensuse.org/request/show/769245 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=93
2020-02-02 15:12:00 +01:00
-DENABLE_PYTHON=ON \
Accepting request 588489 from home:mimi_vx:branches:server:irc - update to 2.1 - build python plugin against python3 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") * core: add options "-newbuffer", "-free" and "-switch" in command /print * core: add option "-y" in command /print, add support of buffers with free content * core: add option "add" in command /buffer * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates * api: add hashtable with variables in plugin structure * irc: add server option "split_msg_max_length" * logger: add option logger.file.fsync * logger: add option logger.look.backlog_conditions) * scripts: add configuration file for each script plugin * scripts: add "eval" option in script commands and info "xxx_eval" * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins * scripts: add option "version" in script commands * api: add time in info "date" (WeeChat compilation date/time) * irc: allow ${irc_server.xxx} and ${server} in server evaluated options * script: change default value of option script.look.sort from "p,n" to "i,p,n" * scripts: display the script name in stdout/stderr output from scripts * core: fix regression on execution of hook_print callbacks OBS-URL: https://build.opensuse.org/request/show/588489 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=84
2018-03-19 11:26:44 +01:00
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py3_ver}m.so" \
-DENABLE_ENCHANT=ON \
Accepting request 769245 from home:oxy:branches:server:irc - update to 2.7 - New features * core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635) * core: add different icons sizes (16x16 to 512x512) (issue #1347) * core: add file weechat.desktop * core: add reverse of string for screen in evaluation of expressions with "revscr:" * core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx" * core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997) * core: add optional default path (evaluated) in completion "filename" * core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" * api: add modifier "color_encode_ansi" (issue #528) * api: add modifier "eval_path_home" * irc: add filters on raw buffer (issue #1000) * irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892) * irc: add server option "ssl_password" (issue #115, issue #1416) * irc: add "user" in output of irc_message_parse (issue #136) * irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684) * logger: add option logger.file.color_lines (issue #528, issue #621) * script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded * xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237) - Bug fixes * core: set buffer name, short name and title only if the value has changed * core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978) * core: optimize load of configuration files * core: fix window separators not respecting window splits (issue #630) * core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619) * core: add support of reverse video in ANSI color codes * core: fixed segfault during excessive evaluation in function string_repeat (issue #1400) * buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403) * irc: do not automatically open a channel with name "0" (issue #1429) * irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832) * irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60) * logger: fix write in log file if it has been deleted or renamed (issue #123) * python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389) * relay: send message "_buffer_title_changed" to clients only when the title is changed * xfer: fix memory leak when a xfer is freed and when the plugin is unloaded - Tests * unit: add tests on GUI color functions - Build * core: fix build on Haiku (issue #1420) * core: fix build on Alpine * core: remove file FindTCL.cmake * core: display an error on missing dependency in CMake (issue #916, issue #956) * debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan * debian: build with Guile 2.2 * guile: add support of Guile 2.2, disable /guile eval (issue #1098) * python: add detection of Python 3.8 OBS-URL: https://build.opensuse.org/request/show/769245 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=93
2020-02-02 15:12:00 +01:00
-DENABLE_GUILE=OFF \
-DENABLE_JAVASCRIPT=OFF \
-DENABLE_PHP=OFF \
-DCA_FILE=%{_sysconfdir}/ssl/ca-bundle.pem
%cmake_build
%install
%cmake_install
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Network IRCClient
%find_lang "%{name}" --with-man
%files
Accepting request 588489 from home:mimi_vx:branches:server:irc - update to 2.1 - build python plugin against python3 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") * core: add options "-newbuffer", "-free" and "-switch" in command /print * core: add option "-y" in command /print, add support of buffers with free content * core: add option "add" in command /buffer * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates * api: add hashtable with variables in plugin structure * irc: add server option "split_msg_max_length" * logger: add option logger.file.fsync * logger: add option logger.look.backlog_conditions) * scripts: add configuration file for each script plugin * scripts: add "eval" option in script commands and info "xxx_eval" * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins * scripts: add option "version" in script commands * api: add time in info "date" (WeeChat compilation date/time) * irc: allow ${irc_server.xxx} and ${server} in server evaluated options * script: change default value of option script.look.sort from "p,n" to "i,p,n" * scripts: display the script name in stdout/stderr output from scripts * core: fix regression on execution of hook_print callbacks OBS-URL: https://build.opensuse.org/request/show/588489 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=84
2018-03-19 11:26:44 +01:00
%doc AUTHORS.adoc ChangeLog.adoc Contributing.adoc
Accepting request 432607 from home:mimi_vx:branches:server:irc - update to version 1.6 - removed weechat-doc subpackage, ( BuildRequires dep missing ) * New features: + core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear + core: add option "cycle" in command /buffer + api: add "extra" argument to evaluate extra variables in function string_eval_expression() + relay: add option relay.network.allow_empty_password + trigger: add support for one-time triggers Improvements + core, irc, xfer: display more information in memory allocation errors + api: remove functions printf_date() and printf_tags() + irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them + relay: allow escape of comma in command "init" (weechat protocol) Bug fixes + core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) + api: fix return of function string_match() when there are multiple masks in the string + api: fix crash in function network_connect_to() if address is NULL + api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux + api: fix crash in function string_split_command() when the separator is not a semicolon + irc: fix socket leak in connection to server + irc: fix display of service notice mask (message 008) + irc: fix NULL pointer dereference in 734 command callback + relay: return an empty hdata when the requested hdata or pointer is not found OBS-URL: https://build.opensuse.org/request/show/432607 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=74
2016-10-02 19:47:51 +02:00
%doc README.adoc ReleaseNotes.adoc
Accepting request 588489 from home:mimi_vx:branches:server:irc - update to 2.1 - build python plugin against python3 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") * core: add options "-newbuffer", "-free" and "-switch" in command /print * core: add option "-y" in command /print, add support of buffers with free content * core: add option "add" in command /buffer * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates * api: add hashtable with variables in plugin structure * irc: add server option "split_msg_max_length" * logger: add option logger.file.fsync * logger: add option logger.look.backlog_conditions) * scripts: add configuration file for each script plugin * scripts: add "eval" option in script commands and info "xxx_eval" * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins * scripts: add option "version" in script commands * api: add time in info "date" (WeeChat compilation date/time) * irc: allow ${irc_server.xxx} and ${server} in server evaluated options * script: change default value of option script.look.sort from "p,n" to "i,p,n" * scripts: display the script name in stdout/stderr output from scripts * core: fix regression on execution of hook_print callbacks OBS-URL: https://build.opensuse.org/request/show/588489 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=84
2018-03-19 11:26:44 +01:00
%license COPYING
%{_bindir}/weechat-curses
Accepting request 588489 from home:mimi_vx:branches:server:irc - update to 2.1 - build python plugin against python3 * core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option "--daemon") * core: add options "-newbuffer", "-free" and "-switch" in command /print * core: add option "-y" in command /print, add support of buffers with free content * core: add option "add" in command /buffer * core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates * api: add hashtable with variables in plugin structure * irc: add server option "split_msg_max_length" * logger: add option logger.file.fsync * logger: add option logger.look.backlog_conditions) * scripts: add configuration file for each script plugin * scripts: add "eval" option in script commands and info "xxx_eval" * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins * scripts: add option "version" in script commands * api: add time in info "date" (WeeChat compilation date/time) * irc: allow ${irc_server.xxx} and ${server} in server evaluated options * script: change default value of option script.look.sort from "p,n" to "i,p,n" * scripts: display the script name in stdout/stderr output from scripts * core: fix regression on execution of hook_print callbacks OBS-URL: https://build.opensuse.org/request/show/588489 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=84
2018-03-19 11:26:44 +01:00
%{_bindir}/weechat-headless
%{_bindir}/weechat
%dir %{_libdir}/weechat
%dir %{_libdir}/weechat/plugins
%{_libdir}/weechat/plugins/alias.so
%{_libdir}/weechat/plugins/buflist.so
%{_libdir}/weechat/plugins/charset.so
%{_libdir}/weechat/plugins/exec.so
%{_libdir}/weechat/plugins/fifo.so
%{_libdir}/weechat/plugins/irc.so
%{_libdir}/weechat/plugins/logger.so
%{_libdir}/weechat/plugins/relay.so
%{_libdir}/weechat/plugins/script.so
%{_libdir}/weechat/plugins/trigger.so
%{_libdir}/weechat/plugins/xfer.so
Accepting request 559147 from home:mimi_vx:branches:server:irc - update to 2.0.1 * python: fix arguments status/gnutls_rc/sock in hook_connect() callback * python: fix argument fd in hook_fd() callback * core: add flag "input_get_empty" in buffer * core: add signals "buffer_filters_enabled" and "buffer_filters_disabled" * core: support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR" * alias: add infolist "alias_default" (list of default aliases) * buflist: add two new bar items ("buflist2" and "buflist3") using the same format configuration options * buflist: add option buflist.look.add_newline * fset: new plugin "fset" (fast set of WeeChat and plugins options) * core: make value optional in command /buffer set * core: allow floating point and hexadecimal numbers in comparison of evaluated values * core: add option weechat.look.save_config_with_fsync * api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys * api: add argument "recurse_subdirs" in function exec_on_files() * script: add local variable "filter" in the script buffer * core: do not change the chat prefix size when a filtered line is added * core: fix display of nicks in nicklist when they are in a group with sub-groups * core, plugins: check return code of strftime function * core: fix cast of time_t (to "long long" instead of "long") * core: call the config hook when options are renamed or removed * api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts) * api: change type of argument fd in hook_fd() callback from string to integer (in scripts) * buflist: remove recursive evaluation of extra variables * guile: return integer (0/1) instead of boolean in API functions * guile: fix return value of static strings in API functions OBS-URL: https://build.opensuse.org/request/show/559147 OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=82
2017-12-21 18:23:12 +01:00
%{_libdir}/weechat/plugins/fset.so
%{_datadir}/applications/weechat.desktop
%{_datadir}/icons/hicolor/*/apps/weechat.png
%files -f "%{name}.lang" lang
%files devel
%{_includedir}/weechat
%{_libdir}/pkgconfig/weechat.pc
%files lua
%{_libdir}/weechat/plugins/lua.so
%files perl
%{_libdir}/weechat/plugins/perl.so
%files python
%{_libdir}/weechat/plugins/python.so
%files tcl
%{_libdir}/weechat/plugins/tcl.so
%files ruby
%{_libdir}/weechat/plugins/ruby.so
%files spell
%{_libdir}/weechat/plugins/spell.so
%changelog