SPECS: gtkhtml.spec - updated to 3.16.2 - use better way to fix lo...

megabajt megabajt at pld-linux.org
Mon Nov 26 16:20:20 CET 2007


Author: megabajt                     Date: Mon Nov 26 15:20:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 3.16.2
- use better way to fix locale name

---- Files affected:
SPECS:
   gtkhtml.spec (1.163 -> 1.164) 

---- Diffs:

================================================================
Index: SPECS/gtkhtml.spec
diff -u SPECS/gtkhtml.spec:1.163 SPECS/gtkhtml.spec:1.164
--- SPECS/gtkhtml.spec:1.163	Mon Nov  5 00:04:20 2007
+++ SPECS/gtkhtml.spec	Mon Nov 26 16:20:15 2007
@@ -6,12 +6,12 @@
 Summary(uk.UTF-8):	GtkHTML - це бібліотека рендерингу/редагування HTML
 Summary(zh_CN.UTF-8):	gtkhtml 库
 Name:		gtkhtml
-Version:	3.16.1
-Release:	2
+Version:	3.16.2
+Release:	1
 License:	LGPL
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.16/%{name}-%{version}.tar.bz2
-# Source0-md5:	71d2d115e3629a634e115b8c0b0fd5b5
+# Source0-md5:	d81045ef5a391eb078c2890f6229bc96
 Patch0:		%{name}-pixmap.patch
 Patch1:		%{name}-link.patch
 Patch2:		%{name}-crash.patch
@@ -30,6 +30,7 @@
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRequires:	sed >= 4.0
 Requires:	gnome-icon-theme >= 2.20.0
 Requires:	gtk+2 >= 2:2.12.0
 Requires:	libgnomeui >= 2.20.0
@@ -128,6 +129,9 @@
 %patch1 -p1
 %patch2 -p1
 
+sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__glib_gettextize}
 %{__intltoolize}
@@ -154,8 +158,6 @@
 # no static modules - shut up check-files
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
 
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
-	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang %{name} --all-name
 
 %clean
@@ -192,6 +194,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.164  2007-11-26 15:20:15  megabajt
+- updated to 3.16.2
+- use better way to fix locale name
+
 Revision 1.163  2007-11-04 23:04:20  ankry
 - sr at Latn -> sr at latin
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtkhtml.spec?r1=1.163&r2=1.164&f=u



More information about the pld-cvs-commit mailing list