public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfburn] rawhide: spec cleanup and modernization
@ 2026-08-02 18:53 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-02 18:53 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xfburn
            Branch : rawhide
            Commit : a74c983be5d73513ddde2268170d2d1f166000e2
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-07-31T02:20:21-03:00
            Stats  : +26/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xfburn/c/a74c983be5d73513ddde2268170d2d1f166000e2?branch=rawhide

            Log:
            spec cleanup and modernization

enable tests

fix Armenian translation directory name (hye->hy)

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/xfburn.spec b/xfburn.spec
index 9c83aec..cb5afa7 100644
--- a/xfburn.spec
+++ b/xfburn.spec
@@ -12,23 +12,25 @@ URL:            https://docs.xfce.org/apps/xfburn/start
 #VCS: git:https://gitlab.xfce.org/apps/xfburn.git
 Source0:        https://archive.xfce.org/src/apps/%{name}/%{majorversion}/%{name}-%{version}.tar.bz2
 
-BuildRequires:  meson
-BuildRequires:  gcc
-BuildRequires:  libxfce4ui-devel >= 4.18.0
+BuildRequires:  desktop-file-utils
+BuildRequires:  docbook-style-xsl
 BuildRequires:  exo-devel >= 4.18.0
-BuildRequires:  libburn-devel
-BuildRequires:  libisofs-devel
+BuildRequires:  gcc
+BuildRequires:  gettext
+BuildRequires:  glib2-devel >= 2.66.0
 BuildRequires:  gstreamer1-devel
 BuildRequires:  gstreamer1-plugins-base-devel
 BuildRequires:  gtk3-devel
-BuildRequires:  desktop-file-utils
-BuildRequires:  gettext
-BuildRequires:  intltool
-BuildRequires:  libgudev1-devel
 BuildRequires:  libappstream-glib
-BuildRequires:  docbook-style-xsl
+BuildRequires:  libburn-devel
+BuildRequires:  libgudev-devel
+BuildRequires:  libisofs-devel
+BuildRequires:  libxfce4ui-devel >= 4.18.0
+BuildRequires:  libxfce4util-devel
+BuildRequires:  meson
 Requires:       hicolor-icon-theme
 
+
 %description
 Xfburn is a simple CD/DVD burning tool based on libburnia libraries. It can 
 blank CD-RWs, burn and create iso images, as well as burn personal 
@@ -46,9 +48,23 @@ compositions of data to either CD or DVD.
 %meson_build
 
 
+%check
+%meson_test
+
+
 %install
 %meson_install
 
+# Rename invalid locale directory hye to hy
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+    if [ -d %{buildroot}%{_datadir}/locale/hy ]; then
+        mv %{buildroot}%{_datadir}/locale/hye/LC_MESSAGES/*.mo %{buildroot}%{_datadir}/locale/hy/LC_MESSAGES/
+        rm -rf %{buildroot}%{_datadir}/locale/hye
+    else
+        mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+    fi
+fi
+
 %find_lang %{name}
 desktop-file-install --vendor ""                            \
     --dir %{buildroot}%{_datadir}/applications              \

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

only message in thread, other threads:[~2026-08-02 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 18:53 [rpms/xfburn] rawhide: spec cleanup and modernization Filipe Rosset

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