- Recommend lang package and perl/python scripting support as

bare iron weechat is bit boring

OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=62
This commit is contained in:
Tomáš Chvátal 2015-01-28 12:28:08 +00:00 committed by Git OBS Bridge
parent d63703208c
commit 2b2a46609d
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 28 12:27:48 UTC 2015 - tchvatal@suse.com
- Recommend lang package and perl/python scripting support as
bare iron weechat is bit boring
-------------------------------------------------------------------
Wed Jan 28 10:42:34 UTC 2015 - tchvatal@suse.com

View File

@ -51,6 +51,10 @@ BuildRequires: ruby-devel
BuildRequires: tcl-devel
BuildRequires: update-desktop-files
Requires: hicolor-icon-theme
Recommends: %{name}-lang = %{version}
# without scripts it is bit annoying
Recommends: %{name}-perl = %{version}
Recommends: %{name}-python = %{version}
Suggests: %{name}-doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Not on SLE12
@ -66,7 +70,7 @@ several scripting languages.
%lang_package
# Not on SLE12
# Not on SLE12
%if 0%{?suse_version} != 1315
%package doc
Summary: Documentation for %{name}
@ -174,8 +178,8 @@ ln -sf %{_bindir}/weechat %{buildroot}%{_bindir}/weechat-curses
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Network IRCClient
# Not on SLE12
%if 0%{?suse_version} != 1315
# Not on SLE12
%if 0%{?suse_version} != 1315
mv "%{buildroot}%{_datadir}/doc/weechat" html
%endif
@ -189,7 +193,7 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html
%desktop_database_postun
%icon_theme_cache_postun
# Not on SLE12
# Not on SLE12
%if 0%{?suse_version} != 1315
%files doc
%defattr(-,root,root)