[packages/vlc] - revised locale packaging (added as,ks,or,sm)
qboosh
qboosh at pld-linux.org
Thu Mar 7 19:37:00 CET 2024
commit 19157bf90c4e52f2b54d1e3c42843ee35830c5d4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 7 19:17:53 2024 +0100
- revised locale packaging (added as,ks,or,sm)
vlc.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index 261a747..624b83b 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -542,12 +542,15 @@ ln -sf %{_libdir}/vlc $RPM_BUILD_ROOT%{_prefix}/lib
# rm -f *.{a,la}
find $RPM_BUILD_ROOT%{_libdir} -type f -regex '.*\.l?a$' | xargs %{__rm}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{as_IN,as}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{ks_IN,ks}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{or_IN,or}
%{__mv} $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
-# unsupported:
-# ach (Acoli)
-# cgg (Chiga)
-# co (Corsican)
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,am_ET,as_IN,cgg,co,ks_IN,ie,ku_IQ,or_IN,sm}
+# am_ET: am_ET.po is more complete than am.po
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/am
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{am_ET,am}
+# unsupported by glibc (as of 2.39):
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,cgg,co,ie,ku_IQ}
# .ico is win32 only
%{__rm} $RPM_BUILD_ROOT%{_datadir}/vlc/vlc*.ico
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vlc.git/commitdiff/19157bf90c4e52f2b54d1e3c42843ee35830c5d4
More information about the pld-cvs-commit
mailing list