SPECS: galeon.spec - use better way to fix locale name - use --wit...

megabajt megabajt at pld-linux.org
Sat Nov 10 15:16:49 CET 2007


Author: megabajt                     Date: Sat Nov 10 14:16:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use better way to fix locale name
- use --with-omf

---- Files affected:
SPECS:
   galeon.spec (1.271 -> 1.272) 

---- Diffs:

================================================================
Index: SPECS/galeon.spec
diff -u SPECS/galeon.spec:1.271 SPECS/galeon.spec:1.272
--- SPECS/galeon.spec:1.271	Sun Nov  4 23:52:25 2007
+++ SPECS/galeon.spec	Sat Nov 10 15:16:44 2007
@@ -48,6 +48,8 @@
 BuildRequires:	xulrunner-devel >= 1.8.0.4
 %{?with_nautilus:BuildRequires:	nautilus-devel >= 2.4.0}
 BuildRequires:	pkgconfig
+# support for --with-omf in find_lang.sh
+BuildRequires:	rpm-build >= 4.4.9-10
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	scrollkeeper >= 0.1.4
 Requires(post,postun):	desktop-file-utils
@@ -90,6 +92,9 @@
 %patch3 -p1
 %patch4 -p1
 
+sed -i -e s#sr\@Latn#sr\@latin# configure.in
+mv po/sr\@{Latn,latin}.po
+
 # regenerate - didn't compile with ORBit2 2.7.2
 cd idl
 orbit-idl-2 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0 Galeon*.idl
@@ -126,10 +131,8 @@
 # No components installed now.
 #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/*.la
 
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
-	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 # galeon-2.0.mo, but gnome/help/galeon
-%find_lang galeon-2.0 --with-gnome --all-name
+%find_lang galeon-2.0 --with-gnome --with-omf --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -154,10 +157,9 @@
 %{_datadir}/galeon
 %{_desktopdir}/*.desktop
 %{_datadir}/gnome-2.0/ui/*.xml
-%{_omf_dest_dir}/%{name}
 %{_datadir}/sounds/galeon
 %{_pixmapsdir}/*
-%{_sysconfdir}/gconf/schemas/*
+%{_sysconfdir}/gconf/schemas/galeon.schemas
 %{_sysconfdir}/sound/events/*
 %{_mandir}/man1/*
 
@@ -167,6 +169,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.272  2007/11/10 14:16:44  megabajt
+- use better way to fix locale name
+- use --with-omf
+
 Revision 1.271  2007/11/04 22:52:25  ankry
 - sr at Latn -> sr at latin, rel. 6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/galeon.spec?r1=1.271&r2=1.272&f=u



More information about the pld-cvs-commit mailing list