2010-11-09 00:33:01 +01:00
|
|
|
#
|
2012-06-04 09:31:40 +02:00
|
|
|
# spec file for package weechat
|
2010-11-09 00:33:01 +01:00
|
|
|
#
|
2017-05-15 13:28:02 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-11-09 00:33:01 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2013-05-21 10:16:54 +02:00
|
|
|
|
2010-11-09 00:33:01 +01:00
|
|
|
Name: weechat
|
2017-12-21 18:23:12 +01:00
|
|
|
Version: 2.0.1
|
2011-01-16 16:23:34 +01:00
|
|
|
Release: 0
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Portable, Fast, Light and Extensible Chat Client
|
2012-06-04 09:31:40 +02:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/IRC
|
2017-12-21 18:23:12 +01:00
|
|
|
URL: http://weechat.org
|
Accepting request 450441 from home:mimi_vx:branches:server:irc
- Update to version 1.7
* New features
+ core: add option weechat.look.align_multiline_words
+ core: add optional command prefix in completion templates "commands",
"plugins_commands" and "weechat_commands"
+ core: add optional arguments in completion template, sent to the callback
+ core: add option "time" in command /debug
+ api: add info "uptime" (WeeChat uptime)
+ api: add info "pid" (WeeChat PID)
+ fifo: add file fifo.conf and option fifo.file.path to customize
FIFO pipe path/filename
+ irc: add server option "usermode"
+ irc: add tag "self_msg" on self messages
* Improvements
+ core, xfer: display more information on fork errors
+ core: add a slash before commands completed in arguments of /command,
/debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
+ core: add a warning in header of configuration files to not edit by hand
+ alias: add a slash before commands completed in arguments of /alias
+ exec: add option "-oc" in command /exec to execute commands in process
output, don’t execute commands by default with "-o"
+ irc: evaluate content of server option "ssl_fingerprint"
+ irc: change default value of option irc.network.lag_reconnect from 0 to 300
+ trigger: do not hide email in command "/msg nickserv register password email"
* Bug fixes
+ core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM
is received
+ core: fix display of empty lines in search mode
+ api: fix crash in function string_expand_home() when the HOME environment
variable is not set
OBS-URL: https://build.opensuse.org/request/show/450441
OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=75
2017-01-16 10:50:19 +01:00
|
|
|
Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz
|
2010-11-09 00:33:01 +01:00
|
|
|
Source1: weechat.desktop
|
2016-01-11 08:23:55 +01:00
|
|
|
Source2: %{name}.keyring
|
Accepting request 450441 from home:mimi_vx:branches:server:irc
- Update to version 1.7
* New features
+ core: add option weechat.look.align_multiline_words
+ core: add optional command prefix in completion templates "commands",
"plugins_commands" and "weechat_commands"
+ core: add optional arguments in completion template, sent to the callback
+ core: add option "time" in command /debug
+ api: add info "uptime" (WeeChat uptime)
+ api: add info "pid" (WeeChat PID)
+ fifo: add file fifo.conf and option fifo.file.path to customize
FIFO pipe path/filename
+ irc: add server option "usermode"
+ irc: add tag "self_msg" on self messages
* Improvements
+ core, xfer: display more information on fork errors
+ core: add a slash before commands completed in arguments of /command,
/debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
+ core: add a warning in header of configuration files to not edit by hand
+ alias: add a slash before commands completed in arguments of /alias
+ exec: add option "-oc" in command /exec to execute commands in process
output, don’t execute commands by default with "-o"
+ irc: evaluate content of server option "ssl_fingerprint"
+ irc: change default value of option irc.network.lag_reconnect from 0 to 300
+ trigger: do not hide email in command "/msg nickserv register password email"
* Bug fixes
+ core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM
is received
+ core: fix display of empty lines in search mode
+ api: fix crash in function string_expand_home() when the HOME environment
variable is not set
OBS-URL: https://build.opensuse.org/request/show/450441
OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=75
2017-01-16 10:50:19 +01:00
|
|
|
Source3: http://weechat.org/files/src/%{name}-%{version}.tar.xz.asc
|
2016-03-21 10:04:26 +01:00
|
|
|
Source4: %{name}.changes
|
2015-08-04 15:33:12 +02:00
|
|
|
BuildRequires: ca-certificates
|
2012-01-08 16:47:19 +01:00
|
|
|
BuildRequires: cmake
|
2012-02-26 16:20:25 +01:00
|
|
|
BuildRequires: curl-devel
|
2012-06-04 09:31:40 +02:00
|
|
|
BuildRequires: gcc-c++
|
2013-05-21 10:16:54 +02:00
|
|
|
BuildRequires: grep
|
2014-06-23 11:25:45 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
2012-06-04 09:31:40 +02:00
|
|
|
BuildRequires: libtool
|
2014-06-23 11:25:45 +02:00
|
|
|
BuildRequires: lzo-devel
|
2012-01-08 16:47:19 +01:00
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: perl
|
2016-10-02 19:47:51 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-01-08 16:47:19 +01:00
|
|
|
BuildRequires: ruby-devel
|
2014-06-23 11:25:45 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2016-10-02 19:47:51 +02:00
|
|
|
BuildRequires: pkgconfig(enchant)
|
|
|
|
BuildRequires: pkgconfig(gnutls)
|
|
|
|
BuildRequires: pkgconfig(guile-2.0)
|
|
|
|
BuildRequires: pkgconfig(lua)
|
|
|
|
BuildRequires: pkgconfig(python)
|
|
|
|
BuildRequires: pkgconfig(python2)
|
|
|
|
BuildRequires: pkgconfig(tcl)
|
2015-08-04 15:33:12 +02:00
|
|
|
Requires: ca-certificates
|
2014-06-23 11:25:45 +02:00
|
|
|
Requires: hicolor-icon-theme
|
2015-01-28 13:28:08 +01:00
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
# without scripts it is bit annoying
|
|
|
|
Recommends: %{name}-perl = %{version}
|
|
|
|
Recommends: %{name}-python = %{version}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description
|
2010-11-09 00:33:01 +01:00
|
|
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform
|
|
|
|
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.
|
|
|
|
|
2010-12-20 16:53:49 +01:00
|
|
|
%lang_package
|
2011-01-16 16:23:34 +01:00
|
|
|
|
2009-09-14 16:00:40 +02:00
|
|
|
%package devel
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Development Environment for %{name} Plugins
|
|
|
|
Group: Development/Libraries/C and C++
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2009-09-14 16:00:40 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development environment for authoring %{name} plugins.
|
|
|
|
|
2012-06-04 10:57:36 +02:00
|
|
|
%package guile
|
|
|
|
Summary: Guile Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2012-06-04 10:57:36 +02:00
|
|
|
|
|
|
|
%description guile
|
|
|
|
Support for %{name} scripts written in the Guile language.
|
|
|
|
|
2007-06-09 00:40:41 +02:00
|
|
|
%package lua
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Lua Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description lua
|
2009-11-07 01:32:08 +01:00
|
|
|
Support for %{name} scripts written in the Lua language.
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%package perl
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Perl Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2013-09-05 18:53:16 +02:00
|
|
|
%{?libperl_requires}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description perl
|
2009-11-07 01:32:08 +01:00
|
|
|
Support for %{name} scripts written in the Perl language.
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%package python
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Python Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description python
|
2009-11-07 01:32:08 +01:00
|
|
|
Support for %{name} scripts written in the Python language.
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2009-09-14 16:00:40 +02:00
|
|
|
%package tcl
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Tcl Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2009-09-14 16:00:40 +02:00
|
|
|
|
|
|
|
%description tcl
|
2009-11-07 01:32:08 +01:00
|
|
|
Support for %{name} scripts written in the Tcl language.
|
2009-09-14 16:00:40 +02:00
|
|
|
|
2007-06-09 00:40:41 +02:00
|
|
|
%package ruby
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Ruby Scripting Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description ruby
|
2009-11-07 01:32:08 +01:00
|
|
|
Support for %{name} scripts written in the Ruby language.
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%package aspell
|
2010-11-09 00:33:01 +01:00
|
|
|
Summary: Aspell Spell-Checking Support for %{name}
|
|
|
|
Group: Productivity/Networking/IRC
|
2014-11-20 18:10:06 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%description aspell
|
2009-11-07 01:32:08 +01:00
|
|
|
Spell-checking support for %{name}, using the aspell library.
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-03-21 10:04:26 +01:00
|
|
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")"
|
2011-10-23 10:32:56 +02:00
|
|
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
|
|
|
TIME="\"$(date -d "${modified}" "+%%R")\""
|
2015-08-16 14:06:27 +02:00
|
|
|
find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2009-09-14 16:00:40 +02:00
|
|
|
%build
|
2010-11-09 00:33:01 +01:00
|
|
|
export CFLAGS="%{optflags}"
|
2014-11-20 18:10:06 +01:00
|
|
|
# Tests require cpputest package
|
|
|
|
# no-undefined for perl seem not to work as desired
|
|
|
|
%cmake \
|
|
|
|
-DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed \
|
2010-11-09 00:33:01 +01:00
|
|
|
-DLIBDIR="%{_libdir}" \
|
2012-06-04 10:57:36 +02:00
|
|
|
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" \
|
2013-10-07 11:58:57 +02:00
|
|
|
-DENABLE_ENCHANT=ON \
|
2015-08-04 15:33:12 +02:00
|
|
|
-DCA_FILE=%{_sysconfdir}/ssl/ca-bundle.pem
|
2017-12-21 18:23:12 +01:00
|
|
|
%make_jobs
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%install
|
2014-11-20 18:10:06 +01:00
|
|
|
%cmake_install
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2013-05-21 10:16:54 +02:00
|
|
|
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
2007-06-09 00:40:41 +02:00
|
|
|
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
|
|
|
|
2013-10-07 11:58:57 +02:00
|
|
|
%find_lang "%{name}" --with-man
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2011-03-24 00:55:34 +01:00
|
|
|
|
2014-11-20 18:10:06 +01:00
|
|
|
|
2010-11-09 00:33:01 +01:00
|
|
|
%files
|
2016-10-02 19:47:51 +02:00
|
|
|
%doc AUTHORS.adoc ChangeLog.adoc Contributing.adoc COPYING
|
|
|
|
%doc README.adoc ReleaseNotes.adoc
|
2007-06-09 00:40:41 +02:00
|
|
|
%{_bindir}/weechat-curses
|
2013-10-07 11:58:57 +02:00
|
|
|
%{_bindir}/weechat
|
2007-06-09 00:40:41 +02:00
|
|
|
%dir %{_libdir}/weechat
|
|
|
|
%dir %{_libdir}/weechat/plugins
|
2009-09-14 16:00:40 +02:00
|
|
|
%{_libdir}/weechat/plugins/alias.so
|
2017-05-15 13:28:02 +02:00
|
|
|
%{_libdir}/weechat/plugins/buflist.so
|
2009-09-14 16:00:40 +02:00
|
|
|
%{_libdir}/weechat/plugins/charset.so
|
2014-08-16 15:17:39 +02:00
|
|
|
%{_libdir}/weechat/plugins/exec.so
|
2009-09-14 16:00:40 +02:00
|
|
|
%{_libdir}/weechat/plugins/fifo.so
|
|
|
|
%{_libdir}/weechat/plugins/irc.so
|
|
|
|
%{_libdir}/weechat/plugins/logger.so
|
2011-01-16 16:23:34 +01:00
|
|
|
%{_libdir}/weechat/plugins/relay.so
|
2012-09-30 10:03:33 +02:00
|
|
|
%{_libdir}/weechat/plugins/script.so
|
2014-08-16 15:17:39 +02:00
|
|
|
%{_libdir}/weechat/plugins/trigger.so
|
2009-09-14 16:00:40 +02:00
|
|
|
%{_libdir}/weechat/plugins/xfer.so
|
2017-12-21 18:23:12 +01:00
|
|
|
%{_libdir}/weechat/plugins/fset.so
|
2013-10-07 11:58:57 +02:00
|
|
|
%{_datadir}/applications/weechat.desktop
|
2013-05-21 10:16:54 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/weechat.png
|
2007-06-09 00:40:41 +02:00
|
|
|
|
2010-11-09 00:33:01 +01:00
|
|
|
%files -f "%{name}.lang" lang
|
|
|
|
|
2009-09-14 16:00:40 +02:00
|
|
|
%files devel
|
|
|
|
%{_includedir}/weechat
|
|
|
|
%{_libdir}/pkgconfig/weechat.pc
|
|
|
|
|
2012-06-04 10:57:36 +02:00
|
|
|
%files guile
|
|
|
|
%{_libdir}/weechat/plugins/guile.so
|
|
|
|
|
2007-06-09 00:40:41 +02:00
|
|
|
%files lua
|
|
|
|
%{_libdir}/weechat/plugins/lua.so
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%{_libdir}/weechat/plugins/perl.so
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%{_libdir}/weechat/plugins/python.so
|
2009-09-14 16:00:40 +02:00
|
|
|
|
|
|
|
%files tcl
|
|
|
|
%{_libdir}/weechat/plugins/tcl.so
|
2007-06-09 00:40:41 +02:00
|
|
|
|
|
|
|
%files ruby
|
|
|
|
%{_libdir}/weechat/plugins/ruby.so
|
|
|
|
|
|
|
|
%files aspell
|
|
|
|
%{_libdir}/weechat/plugins/aspell.so
|
|
|
|
|
|
|
|
%changelog
|