SPECS: gok.spec - use better way to fix locale name - use --with-o...
megabajt
megabajt at pld-linux.org
Fri Nov 16 17:02:39 CET 2007
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 s#sr\@Latn#sr\@latin# po/LINGUAS
+mv -f po/sr\@{Latn,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/sr at latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,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
- sr at Latn -> sr at latin, rel. 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gok.spec?r1=1.66&r2=1.67&f=u
More information about the pld-cvs-commit
mailing list