From 0b6bf0c67441766a00534f00255d33cfd768cab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 5 Oct 2016 20:13:10 +0200 Subject: [PATCH] RPM packaging: update klibido package --- redhat/extras/klibido/klibido-14.0.0.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/redhat/extras/klibido/klibido-14.0.0.spec b/redhat/extras/klibido/klibido-14.0.0.spec index d3a5b379f..be9338c85 100644 --- a/redhat/extras/klibido/klibido-14.0.0.spec +++ b/redhat/extras/klibido/klibido-14.0.0.spec @@ -55,7 +55,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{tde_pkg}-%{tde_version}.tar.gz BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 +BuildRequires: trinity-arts-devel >= 2:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils @@ -76,7 +76,7 @@ newsreader for TDE, try KNode. %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO %{tde_bindir}/klibido -%{tde_datadir}/applnk/Utilities/klibido.desktop +%{tde_tdeappdir}/klibido.desktop %{tde_datadir}/apps/klibido/ %{tde_datadir}/doc/tde/HTML/en/klibido/ %{tde_datadir}/icons/hicolor/*/apps/klibido.png @@ -84,7 +84,7 @@ newsreader for TDE, try KNode. ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif @@ -130,6 +130,11 @@ fi %__rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file klibido News +%endif + %clean rm -rf $RPM_BUILD_ROOT