SPECS: kvirc.spec - 3.2.0 working - fixed .mo issues - release 1, ...
prism
prism at pld-linux.org
Sat Jun 18 16:40:49 CEST 2005
Author: prism Date: Sat Jun 18 14:40:49 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 3.2.0 working
- fixed .mo issues
- release 1, STBR.
---- Files affected:
SPECS:
kvirc.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/kvirc.spec
diff -u SPECS/kvirc.spec:1.44 SPECS/kvirc.spec:1.45
--- SPECS/kvirc.spec:1.44 Sat Jun 18 10:37:51 2005
+++ SPECS/kvirc.spec Sat Jun 18 16:40:42 2005
@@ -1,9 +1,8 @@
# $Revision$, $Date$
+#
# TODO:
-# - check if the following still occurs:
-# file /usr/share/services/irc.protocol from install of
-# kvirc-3.0.0-0.20040211.4 conflicts with file from package
-# kdenetwork-kopete-protocol-irc-3.3.2-1
+# - do something about the conflicting file /usr/share/services/irc.protocol
+# - installed but unpackaged: /usr/share/locale/{de,it}/LC_MESSAGES/perlcore.mo
%define _ver 3.2.0
#define _snap 20040211
@@ -15,7 +14,7 @@
Name: kvirc
Version: %{_ver}
#Release: 0.%{_snap}.4.5
-Release: 0.1
+Release: 1
License: GPL
Group: X11/Applications
Vendor: Szymon Stefanek <kvirc at tin.it>
@@ -91,6 +90,9 @@
# mv -f acinclude.m4.tmp acinclude.m4
# sed -i -e s,KVIRC_PROG_LIBTOOL,AC_PROG_LIBTOOL, configure.in
+# fix for (wrong) hardcoded path
+%{__sed} -i 's:/usr/lib/kvirc/3.0.0-beta3:%{_libdir}/kvirc/3.2.0:g' src/kvirc/kernel/kvi_app_fs.cpp
+
%build
%{__libtoolize}
%{__aclocal}
@@ -114,8 +116,9 @@
%install
rm -rf $RPM_BUILD_ROOT
+
install -d $RPM_BUILD_ROOT%{_desktopdir}
-install -d $RPM_BUILD_ROOT%{_datadir}/locale/{de,es,fr,it,nl,pl,pt,pt_BR,sr}/LC_MESSAGES
+install -d $RPM_BUILD_ROOT%{_datadir}/locale/{bg,ca,cs,de,es,fr,it,nl,pl,pt,pt_BR,ru,sr}/LC_MESSAGES
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
@@ -127,29 +130,19 @@
install -d $RPM_BUILD_ROOT%{_mandir}/man1/
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_de.mo $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/dcc_de.mo $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/dcc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/about_de.mo $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/about.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_es.mo $RPM_BUILD_ROOT%{_datadir}/locale/es/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/about_es.mo $RPM_BUILD_ROOT%{_datadir}/locale/es/LC_MESSAGES/about.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_fr.mo $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_it.mo $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/dcc_it.mo $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/dcc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/about_it.mo $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/about.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/logview_it.mo $RPM_BUILD_ROOT%{_datadir}/locale/it/LC_MESSAGES/logview.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_nl.mo $RPM_BUILD_ROOT%{_datadir}/locale/nl/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_pl.mo $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_pt.mo $RPM_BUILD_ROOT%{_datadir}/locale/pt/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_pt_BR.mo $RPM_BUILD_ROOT%{_datadir}/locale/pt_BR/LC_MESSAGES/kvirc.mo
-mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/kvirc_sr.mo $RPM_BUILD_ROOT%{_datadir}/locale/sr/LC_MESSAGES/kvirc.mo
+for lang in bg ca cs de es fr it nl pl pt pt_BR ru sr; do
+ for mofile in about dcc editor filetransferwindow kvirc logview notifier perl perlcore sharedfileswindow; do
+ [ -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/${mofile}_${lang}.mo ] && \
+ mv -f $RPM_BUILD_ROOT%{_datadir}/kvirc/%{_ver}/locale/${mofile}_${lang}.mo \
+ $RPM_BUILD_ROOT%{_datadir}/locale/${lang}/LC_MESSAGES/${mofile}.mo
+ done
+done
%find_lang kvirc --with-kde
-%find_lang about --with-kde
-cat about.lang >> kvirc.lang
-%find_lang logview --with-kde
-cat logview.lang >> kvirc.lang
-%find_lang dcc --with-kde
-cat dcc.lang >> kvirc.lang
+for foo in about dcc editor filetransferwindow logview notifier perl perlcore sharedfileswindow; do
+ %find_lang $foo --with-kde
+ cat $foo.lang >> kvirc.lang
+done
%clean
rm -rf $RPM_BUILD_ROOT
@@ -179,7 +172,6 @@
%{_datadir}/kvirc/%{_ver}/config
%{_datadir}/kvirc/%{_ver}/defscript
%{_datadir}/kvirc/%{_ver}/pics
-%{_datadir}/kvirc/%{_ver}/locale/*.mo
%{_datadir}/kvirc/%{_ver}/msgcolors/*.msgclr
%{_datadir}/kvirc/%{_ver}/themes/*/*.kvc
%{_datadir}/mimelnk/text/*.desktop
@@ -206,6 +198,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2005/06/18 14:40:42 prism
+- 3.2.0 working
+- fixed .mo issues
+- release 1, STBR.
+
Revision 1.44 2005/06/18 08:37:51 qboosh
- simplified setup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kvirc.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list