Author: megabajt                     Date: Fri Nov 16 16:02:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use better way to fix locale name
- use --with-omf
- release 3

---- Files affected:
SPECS:
   gok.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: SPECS/gok.spec
diff -u SPECS/gok.spec:1.66 SPECS/gok.spec:1.67
--- SPECS/gok.spec:1.66 Mon Nov  5 00:10:25 2007
+++ SPECS/gok.spec      Fri Nov 16 17:02:33 2007
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):     Klawiatura na ekranie dla GNOME
 Name:          gok
 Version:       1.3.6
-Release:       2
+Release:       3
 License:       LGPL v2+
 Group:         X11/Applications
 Source0:       
http://ftp.gnome.org/pub/GNOME/sources/gok/1.3/%{name}-%{version}.tar.bz2
@@ -34,7 +34,9 @@
 BuildRequires: libwnck-devel >= 2.20.0
 BuildRequires: libxml2-devel >= 1:2.6.30
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.197
+# support for --with-omf in find-lang.sh
+BuildRequires: rpm-build >= 4.4.9-10
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.14
 BuildRequires: xorg-lib-libXevie-devel
 BuildRequires: xorg-lib-libXi-devel
@@ -85,6 +87,9 @@
 %setup -q
 %patch0 -p1
 
+sed -i -e [EMAIL PROTECTED]@latin# po/LINGUAS
+mv -f po/[EMAIL PROTECTED],latin}.po
+
 %build
 cp /usr/share/gnome-common/data/omf.make .
 %{__glib_gettextize}
@@ -108,9 +113,7 @@
 
 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
 
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/[EMAIL PROTECTED] ] || \
-       mv -f $RPM_BUILD_ROOT%{_datadir}/locale/[EMAIL PROTECTED],latin}
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -132,7 +135,6 @@
 %{_libdir}/bonobo/servers/*.server
 %{_datadir}/%{name}
 %{_pkgconfigdir}/*.pc
-%{_omf_dest_dir}/%{name}
 %{_sysconfdir}/gconf/schemas/gok.schemas
 %{_iconsdir}/hicolor/*/apps/gok.png
 %{_pixmapsdir}/*
@@ -150,6 +152,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2007-11-16 16:02:33  megabajt
+- use better way to fix locale name
+- use --with-omf
+- release 3
+
 Revision 1.66  2007-11-04 23:10:25  ankry
 - [EMAIL PROTECTED] -> [EMAIL PROTECTED], rel. 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gok.spec?r1=1.66&r2=1.67&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to