forked from pool/weechat
- update to version 0.4.2
* rename binary from "weechat-curses" to "weechat" (with symbolic link "weechat-curses" for compatibility) * add secured data (encryption of passwords or private data), new command /secure, new file sec.conf * search of regular expression in buffer with text emphasis, in prefixes, messages or both * add option "scroll_beyond_end" for command /window * add optional buffer context in bar items (for example to display bitlbee nicklist in a root bar) * new options weechat.look.hotlist_{prefix|suffix} * new option weechat.look.key_bind_safe to prevent any key binding error from user * new option weechat.network.proxy_curl to use a proxy when downloading URLs with curl * display day change message dynamically * support of wildcards in IRC commands (de)op/halfop/voice * new option irc.look.notice_welcome_redirect to redirect channel welcome notices to the channel buffer * new option irc.look.nick_color_hash: new hash algorithm to find nick colors (variant of djb2) * add info about things defined by a script in the detailed view of script (/script show) * support of "enchant" library in aspell plugin * many bugs fixed. - rebased weechat-0.4.1-capath.diff and renamed to weechat-capath.patch - build aspell plugin with enchant support OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
1ce4472565
commit
c5bc50fba2
35
weechat.spec
35
weechat.spec
@@ -16,20 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1140
|
||||
%define guile_ver 2.0
|
||||
%endif
|
||||
|
||||
Name: weechat
|
||||
Version: 0.4.1
|
||||
Version: 0.4.2
|
||||
Release: 0
|
||||
Summary: Portable, Fast, Light and Extensible Chat Client
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Networking/IRC
|
||||
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
||||
Source1: weechat.desktop
|
||||
# PATCH-FIX-UPSTREAM https://savannah.nongnu.org/patch/index.php?8153 lnussel@suse.de -- use system's default certificate store
|
||||
Patch0: weechat-0.4.1-capath.diff
|
||||
# PATCH-FIX-UPSTREAM weechat-capath.patch https://savannah.nongnu.org/patch/index.php?8153 lnussel@suse.de -- use system's default certificate store
|
||||
Patch0: weechat-capath.patch
|
||||
Url: http://www.weechat.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
@@ -52,13 +48,18 @@ BuildRequires: libgnutls-devel
|
||||
%else
|
||||
BuildRequires: gnutls-devel
|
||||
%endif
|
||||
BuildRequires: aspell-devel
|
||||
#BuildRequires: aspell-devel
|
||||
BuildRequires: enchant-devel
|
||||
BuildRequires: guile-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: source-highlight
|
||||
BuildRequires: docbook5-xsl-stylesheets
|
||||
BuildRequires: libxslt-tools
|
||||
%if 0%{?suse_version:1}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
@@ -154,11 +155,10 @@ pushd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
||||
-DLIBDIR="%{_libdir}" \
|
||||
%if 0%{?suse_version} > 1140
|
||||
-DGUILE_INCLUDE_DIR="%{_includedir}/guile/2.0" \
|
||||
-DGUILE_LIBRARY="%{_libdir}/libguile-%{guile_ver}.so" \
|
||||
%endif
|
||||
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" \
|
||||
-DENABLE_ENCHANT=ON \
|
||||
-DENABLE_DOC=ON \
|
||||
-DENABLE_MAN=ON \
|
||||
..
|
||||
make %{?_smp_flags} VERBOSE=1
|
||||
popd #build
|
||||
@@ -173,7 +173,9 @@ install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.de
|
||||
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
||||
%endif
|
||||
|
||||
%find_lang "%{name}"
|
||||
mv "%{buildroot}%{_datadir}/doc/weechat" html
|
||||
|
||||
%find_lang "%{name}" --with-man
|
||||
|
||||
%clean
|
||||
%{?buildroot:rm -rf "%{buildroot}"}
|
||||
@@ -191,8 +193,9 @@ install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.de
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README html/
|
||||
%{_bindir}/weechat-curses
|
||||
%{_bindir}/weechat
|
||||
%dir %{_libdir}/weechat
|
||||
%dir %{_libdir}/weechat/plugins
|
||||
%{_libdir}/weechat/plugins/alias.so
|
||||
@@ -204,8 +207,8 @@ install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.de
|
||||
%{_libdir}/weechat/plugins/rmodifier.so
|
||||
%{_libdir}/weechat/plugins/script.so
|
||||
%{_libdir}/weechat/plugins/xfer.so
|
||||
%doc %{_mandir}/man1/weechat-curses.1*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_mandir}/man1/weechat.1*
|
||||
%{_datadir}/applications/weechat.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/weechat.png
|
||||
|
||||
%files -f "%{name}.lang" lang
|
||||
|
Reference in New Issue
Block a user