Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package desktop-translations for
openSUSE:Factory checked in at 2024-10-01 17:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/desktop-translations (Old)
and /work/SRC/openSUSE:Factory/.desktop-translations.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "desktop-translations"
Tue Oct 1 17:19:49 2024 rev:123 rq:1204890 version:84.87.20240503.9343de5
Changes:
--------
---
/work/SRC/openSUSE:Factory/desktop-translations/desktop-translations.changes
2024-05-03 19:47:18.430866145 +0200
+++
/work/SRC/openSUSE:Factory/.desktop-translations.new.29891/desktop-translations.changes
2024-10-01 17:20:20.091032651 +0200
@@ -1,0 +2,12 @@
+Wed Sep 4 23:04:14 UTC 2024 - Stanislav Brabec <[email protected]>
+
+- Add support for the new tool %suse_translate_desktop.
+ (boo#1158957)
+
+-------------------------------------------------------------------
+Mon Aug 26 18:55:18 UTC 2024 - Stanislav Brabec <[email protected]>
+
+- Generate desktop-translation-devel for purpose of translation
+ check. (boo#1158957)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ desktop-translations.spec ++++++
--- /var/tmp/diff_new_pack.ALxVsa/_old 2024-10-01 17:20:20.955068676 +0200
+++ /var/tmp/diff_new_pack.ALxVsa/_new 2024-10-01 17:20:20.959068843 +0200
@@ -40,6 +40,12 @@
%description
This package provides the translations for installed desktop files.
+%package devel
+Summary: Desktop Files Translations po Files
+
+%description devel
+This package provides the translations for installed desktop files as po files.
+
%prep
%setup -q -c %{name}
@@ -49,6 +55,7 @@
%install
pushd po
+mkdir -p %{buildroot}%{_datadir}/%{name}/desktop_translations
for lang in *; do
if test "$lang" = "nb_no"; then
continue
@@ -61,14 +68,17 @@
msgfmt -o
%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/desktop_translations.mo $f
msgunfmt --no-wrap
%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/desktop_translations.mo | \
grep -v '^"[A-Z][^ ]*: ' | grep '[^\][\]n"' && exit 1
+ cp -a $f %{buildroot}%{_datadir}/%{name}/desktop_translations/${lang}.po
done
fi
done
popd
+mkdir -p %{buildroot}%{_datadir}/%{name}/polkitaction
for lang in *; do
if [ -e "${lang}/polkitaction.po" ]; then
msgfmt -o
"%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/polkit-action-distro-translations.mo"
"${lang}/polkitaction.po"
+ cp -a "${lang}/polkitaction.po"
%{buildroot}%{_datadir}/%{name}/polkitaction/${lang}.po
fi
done
@@ -77,3 +87,7 @@
%files -f %{name}.lang
%defattr(-,root,root)
+%files devel
+%defattr(-,root,root)
+%{_datadir}/%{name}
+