public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Aurelien Bompard <abompard@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: - fix bug 172132 (unowned dirs and %%lang for HTML doc)
Date: Mon, 06 Jul 2026 18:29:43 GMT	[thread overview]
Message-ID: <178336258322.1.14093140063780293439.rpms-amarok-731eba94d709@fedoraproject.org> (raw)

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.*

                 reply	other threads:[~2026-07-06 18:29 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=178336258322.1.14093140063780293439.rpms-amarok-731eba94d709@fedoraproject.org \
    --to=abompard@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