public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: - add minimal qt4,kdelibs4 deps
@ 2026-07-06 18:30 Rex Dieter
  0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-06 18:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10.2
Commit : 02e970d0755501941a108ef717542f1651d061d3
Author : Rex Dieter <rdieter@fedoraproject.org>
Date   : 2009-03-06T16:13:53+00:00
Stats  : +19/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/02e970d0755501941a108ef717542f1651d061d3?branch=epel10.2

Log:
- add minimal qt4,kdelibs4 deps

---
diff --git a/amarok.spec b/amarok.spec
index 7b8df79..b41ded7 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -2,7 +2,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 Group: 	 Applications/Multimedia
 License: GPLv2+
@@ -35,6 +35,11 @@ BuildRequires: mysql-embedded-devel
 BuildRequires: soprano-devel
 BuildRequires: taglib-devel
 
+# 
+%global kdelibs4_version %((kde4-config --version 2>/dev/null || echo KDE 4.2.0) | grep '^KDE' | cut -d' ' -f2 | cut -d'-' -f1)
+%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
+%{?_kdelibs4_version:Requires: kdelibs4 >= %{_kdelibs4_version}}
+
 Requires(post): xdg-utils
 Requires(postun): xdg-utils
 
@@ -55,17 +60,24 @@ Amarok is a multimedia player with:
 
 %if 0%{?fedora} > 10
 %patch0 -p0 -b .libgpod-0.7.0
+%patch100 -p0 -b .qt45
 %endif
 %patch1 -p1 -b .gcc4
 
-%patch100 -p0 -b .qt45
-
 
 %build
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake_kde4} ..
 popd
+
+%if 0
+# hack around qt45 patch-induced(?) smp borkage
+pushd src/scriptengine/generator/generator
+./generate.sh
+popd
+%endif
+
 make %{?_smp_mflags} -C %{_target_platform}
 
 
@@ -117,13 +129,16 @@ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 %{_kde4_iconsdir}/hicolor/*/*/*
 %{_kde4_libdir}/kde4/*.so
 %{_kde4_libdir}/kde4/plugins/script/*.so
-%{_kde4_libdir}/lib*.so.*
+%{_kde4_libdir}/libamarok*.so.*
 %{_kde4_libdir}/libamarok_service_liblastfm.so
 %{_kde4_libdir}/strigi/*
 %{_datadir}/dbus-1/interfaces/*.xml
 
 
 %changelog
+* Fri Mar 06 2009 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-2
+- add minimal qt4,kdelibs4 deps
+
 * Wed Mar 04 2009 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-1
 - amarok-2.0.2
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:30 [rpms/amarok] epel10.2: - add minimal qt4,kdelibs4 deps Rex Dieter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox