public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: - enable external qtscriptgenerator/qtscriptbindings
Date: Mon, 06 Jul 2026 18:30:45 GMT [thread overview]
Message-ID: <178336264561.1.5691747119388217330.rpms-amarok-0d54ad4e3adb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/amarok
Branch : epel10.2
Commit : 0d54ad4e3adb145fbc6bc58fe90b933da0f3e480
Author : Rex Dieter <rdieter@fedoraproject.org>
Date : 2009-04-07T19:07:34+00:00
Stats : +18/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/amarok/c/0d54ad4e3adb145fbc6bc58fe90b933da0f3e480?branch=epel10.2
Log:
- enable external qtscriptgenerator/qtscriptbindings
- optimize scriptlets
---
diff --git a/amarok.spec b/amarok.spec
index daf658a..a30076b 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -2,7 +2,7 @@
Name: amarok
Summary: Media player
Version: 2.0.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Applications/Multimedia
License: GPLv2+
@@ -16,7 +16,7 @@ Patch0: amarok-libgpod-0.7.0.patch
Patch1: amarok-2.0.1.1-gcc44.patch
# qtscriptgenerator review, http://bugzilla.redhat.com/489550
-#define no_qtscriptgenerator 1
+%define no_qtscriptgenerator 1
Patch2: amarok-2.0.2-no_qtscriptgenerator.patch
Patch100: amarok-2.0.1.1-qt45.patch
@@ -48,9 +48,6 @@ BuildRequires: taglib-devel
Requires: qtscriptgenerator
%endif
-Requires(post): xdg-utils
-Requires(postun): xdg-utils
-
Obsoletes: amarok-devel < 1.4.9
Obsoletes: amarok-konqueror < 1.5
Obsoletes: amarok-visualisation < 1.5
@@ -72,9 +69,9 @@ Amarok is a multimedia player with:
%patch1 -p1 -b .gcc4
-%if 0%{?no_qscriptgenerator}
+%if 0%{?no_qtscriptgenerator}
%patch2 -p1 -b .no_qtscriptgenerator
-#rm -rf src/scriptengine/generator
+rm -rf src/scriptengine/generator
%else
%{?_qt45:%patch100 -p0 -b .qt45}
%endif
@@ -117,13 +114,19 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
-xdg-desktop-menu forceupdate 2> /dev/null || :
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
%postun
/sbin/ldconfig
-xdg-desktop-menu forceupdate 2> /dev/null || :
-xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
+fi
%files -f amarok.lang
@@ -151,6 +154,10 @@ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
%changelog
+* Tue Apr 07 2009 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-5
+- enable external qtscriptgenerator/qtscriptbindings
+- optimize scriptlets
+
* Tue Mar 10 2009 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-4
- Req: qtscriptgenerator (f11+) (not enabled, pending review)
- use desktop-file-validate
reply other threads:[~2026-07-06 18:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178336264561.1.5691747119388217330.rpms-amarok-0d54ad4e3adb@fedoraproject.org \
--to=rdieter@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox