diff --git a/weechat.changes b/weechat.changes index 3ad04aa..da7178b 100644 --- a/weechat.changes +++ b/weechat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 28 10:42:34 UTC 2015 - tchvatal@suse.com + +- Make this build on SLE12 + ------------------------------------------------------------------- Mon Jan 12 07:38:34 UTC 2015 - tchvatal@suse.com diff --git a/weechat.spec b/weechat.spec index b99a755..8c0d123 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ # # spec file for package weechat # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ Patch0: weechat-capath.patch BuildRequires: asciidoc BuildRequires: cmake BuildRequires: curl-devel -BuildRequires: docbook5-xsl-stylesheets +BuildRequires: docbook-xsl-stylesheets BuildRequires: enchant-devel BuildRequires: gcc-c++ BuildRequires: grep @@ -48,12 +48,15 @@ BuildRequires: perl BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: ruby-devel -BuildRequires: source-highlight BuildRequires: tcl-devel BuildRequires: update-desktop-files Requires: hicolor-icon-theme Suggests: %{name}-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Not on SLE12 +%if 0%{?suse_version} != 1315 +BuildRequires: source-highlight +%endif %description WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform @@ -63,6 +66,8 @@ several scripting languages. %lang_package +# Not on SLE12 +%if 0%{?suse_version} != 1315 %package doc Summary: Documentation for %{name} Group: Documentation/HTML @@ -70,6 +75,7 @@ Requires: %{name} = %{version} %description doc Various documentation files for %{name}. +%endif %package devel Summary: Development Environment for %{name} Plugins @@ -168,7 +174,10 @@ 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 mv "%{buildroot}%{_datadir}/doc/weechat" html +%endif %find_lang "%{name}" --with-man @@ -180,9 +189,12 @@ mv "%{buildroot}%{_datadir}/doc/weechat" html %desktop_database_postun %icon_theme_cache_postun +# Not on SLE12 +%if 0%{?suse_version} != 1315 %files doc %defattr(-,root,root) %doc html/ +%endif %files %defattr(-,root,root)