SPECS: qt4.spec - Updated to 4.1.3
pascalek
pascalek at pld-linux.org
Wed May 24 21:12:55 CEST 2006
Author: pascalek Date: Wed May 24 19:12:55 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Updated to 4.1.3
---- Files affected:
SPECS:
qt4.spec (1.85 -> 1.86)
---- Diffs:
================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.85 SPECS/qt4.spec:1.86
--- SPECS/qt4.spec:1.85 Tue Apr 18 07:45:19 2006
+++ SPECS/qt4.spec Wed May 24 21:12:50 2006
@@ -37,12 +37,12 @@
Summary(pl): Biblioteka Qt do tworzenia GUI
Summary(pt_BR): Estrutura para rodar aplicaçőes GUI Qt
Name: qt4
-Version: 4.1.2
+Version: 4.1.3
Release: 0.1
License: GPL/QPL
Group: X11/Libraries
Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
-# Source0-md5: 18bca010d09b98e94210710047baca0a
+# Source0-md5: c6fc6934bfca458dde6e6370a2ed0101
Source2: %{name}-qtconfig.desktop
Source3: %{name}-designer.desktop
Source4: %{name}-assistant.desktop
@@ -1053,14 +1053,18 @@
install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
%endif
-install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
-install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
-install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
-install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
-install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
-install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
-install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
-install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
+#
+# Locale
+#
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
+for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
+do
+ [ ! -f $file ] && continue
+ LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
+ MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
+ mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
+ cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/$MOD.qm
+done
%if %{with dont_enable}
install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
@@ -1165,7 +1169,6 @@
echo "%defattr(644,root,root,755)" > demos.files
ifecho demos "%{_examplesdir}/qt4-demos"
ifecho demos "%{_qtdir}/bin/qtdemo"
-ifecho demos "%{_qtdir}/plugins/arthurplugin/libarthurplugin.so"
for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
do
ifecho demos %{_examplesdir}/qt4-demos/$f
@@ -1228,7 +1231,7 @@
%dir %{_qtdir}/bin
%dir %{_qtdir}/plugins
%dir %{_qtdir}/plugins/accessible
-%dir %{_qtdir}/plugins/codecs
+#%dir %{_qtdir}/plugins/codecs
%dir %{_qtdir}/plugins/crypto
%dir %{_qtdir}/plugins/imageformats
%dir %{_qtdir}/plugins/inputmethods
@@ -1239,14 +1242,16 @@
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
+%lang(iw) %{_datadir}/locale/iw/LC_MESSAGES/qt.qm
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
+%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt.qm
%files -n QtGui
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libQtGui.so.*.*
%{_qtdir}/plugins/accessible/*.so
-%{_qtdir}/plugins/codecs/*.so
+#%{_qtdir}/plugins/codecs/*.so
%{_qtdir}/plugins/imageformats/*.so
%{_qtdir}/plugins/inputmethods/*.so
@@ -1461,6 +1466,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2006/05/24 19:12:50 pascalek
+- Updated to 4.1.3
+
Revision 1.85 2006/04/18 05:45:19 qboosh
- updated to 4.1.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list