From 406dccf981e165011183861295a6a9218551e2d6a52b0314a611c1282a47af78 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 10 May 2015 08:46:09 +0000 Subject: [PATCH] Accepting request 305729 from KDE:Extra 1 OBS-URL: https://build.opensuse.org/request/show/305729 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yakuake?expand=0&rev=37 --- yakuake.changes | 8 ++++++++ yakuake.spec | 25 +++++++++++++++---------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/yakuake.changes b/yakuake.changes index 8734edf..dec6c14 100644 --- a/yakuake.changes +++ b/yakuake.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Apr 19 09:18:45 UTC 2015 - mpluskal@suse.com + +- Update project url +- Use url for source +- Use post/postun scriplets to update desktop database +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Mon Jun 24 00:03:42 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/yakuake.spec b/yakuake.spec index 98fe42f..7a1a540 100644 --- a/yakuake.spec +++ b/yakuake.spec @@ -1,7 +1,7 @@ # # spec file for package yakuake # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,24 +22,27 @@ Release: 0 Summary: Terminal for KDE License: GPL-2.0+ Group: System/GUI/KDE -Url: http://kde-apps.org/content/show.php?content=29153 -Source: %{name}-%{version}.tar.xz +Url: https://yakuake.kde.org +Source: http://download.kde.org/stable/yakuake/%{version}/src/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM yakuake-2.9.9_no-close.patch kde#308850 peter@rmk2.org -- patch comes from upstream Patch0: yakuake-2.9.9_no-close.patch BuildRequires: fdupes BuildRequires: libkde4-devel BuildRequires: xz Requires: konsole +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils +Recommends: %{name}-lang = %{version} Provides: kde4-yakuake = %{version} Obsoletes: kde4-yakuake < %{version} -Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%kde4_runtime_requires +%{kde4_runtime_requires} %description Yakuake is a retractable KDE Terminal Emulator. %lang_package + %prep %setup -q %patch0 -p1 @@ -56,12 +59,13 @@ Yakuake is a retractable KDE Terminal Emulator. %find_lang %{name} %fdupes -s %{buildroot} -%post -p /sbin/ldconfig +%post +/sbin/ldconfig +%desktop_database_post -%postun -p /sbin/ldconfig - -%clean -rm -rf %{buildroot} +%postun +/sbin/ldconfig +%desktop_database_postun %files %defattr(-,root,root) @@ -74,5 +78,6 @@ rm -rf %{buildroot} %{_kde4_configdir}/yakuake.knsrc %files lang -f %{name}.lang +%defattr(-,root,root) %changelog