- 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:
parent
d63703208c
commit
2b2a46609d
@ -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
|
Wed Jan 28 10:42:34 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
12
weechat.spec
12
weechat.spec
@ -51,6 +51,10 @@ BuildRequires: ruby-devel
|
|||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
Requires: hicolor-icon-theme
|
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
|
Suggests: %{name}-doc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Not on SLE12
|
# Not on SLE12
|
||||||
@ -66,7 +70,7 @@ several scripting languages.
|
|||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
# Not on SLE12
|
# Not on SLE12
|
||||||
%if 0%{?suse_version} != 1315
|
%if 0%{?suse_version} != 1315
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
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"
|
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
||||||
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
%suse_update_desktop_file -r "%{name}" Network IRCClient
|
||||||
|
|
||||||
# Not on SLE12
|
# Not on SLE12
|
||||||
%if 0%{?suse_version} != 1315
|
%if 0%{?suse_version} != 1315
|
||||||
mv "%{buildroot}%{_datadir}/doc/weechat" html
|
mv "%{buildroot}%{_datadir}/doc/weechat" html
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -189,7 +193,7 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html
|
|||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
# Not on SLE12
|
# Not on SLE12
|
||||||
%if 0%{?suse_version} != 1315
|
%if 0%{?suse_version} != 1315
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user