public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: - fix bug 172132 (unowned dirs and %%lang for HTML doc)
@ 2026-07-06 18:29 Aurelien Bompard
  0 siblings, 0 replies; only message in thread
From: Aurelien Bompard @ 2026-07-06 18:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10.2
Commit : 731eba94d709fc9fedbfbf1dc40b59c594082f2e
Author : Aurelien Bompard <abompard@fedoraproject.org>
Date   : 2005-11-01T10:18:52+00:00
Stats  : +6/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/731eba94d709fc9fedbfbf1dc40b59c594082f2e?branch=epel10.2

Log:
- fix bug 172132 (unowned dirs and %%lang for HTML doc)

---
diff --git a/amarok.spec b/amarok.spec
index 717e5c0..bcae697 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -134,6 +134,12 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/kde/amarokapp.desktop
 #find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
 %find_lang %{name}
+# HTML
+for lang_dir in $RPM_BUILD_ROOT%{_docdir}/HTML/* ; do
+  lang=$(basename $lang_dir)
+  [ "$lang" == "en" ] && d=en/%{name} || d=$lang
+  echo "%lang($lang) %doc %{_docdir}/HTML/$d" >> %{name}.lang
+done
 
 
 %post
@@ -181,7 +187,6 @@ rm -fr $RPM_BUILD_ROOT
 %{_libdir}/mcop/amarok*
 %{_datadir}/config/amarokrc
 %{_datadir}/config.kcfg/*.kcfg
-%{_datadir}/doc/HTML/*/amarok
 # Arts engine
 %{_libdir}/libamarokarts*
 %{_libdir}/kde3/libamarok_artsengine_plugin.*

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

only message in thread, other threads:[~2026-07-06 18:29 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:29 [rpms/amarok] epel10.2: - fix bug 172132 (unowned dirs and %%lang for HTML doc) Aurelien Bompard

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