SPECS: dia.spec - %{__intltoolize} - use better way to fix locale ...

megabajt megabajt at pld-linux.org
Fri Nov 16 18:43:01 CET 2007


Author: megabajt                     Date: Fri Nov 16 17:43:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %{__intltoolize}
- use better way to fix locale name
- release 3

---- Files affected:
SPECS:
   dia.spec (1.138 -> 1.139) 

---- Diffs:

================================================================
Index: SPECS/dia.spec
diff -u SPECS/dia.spec:1.138 SPECS/dia.spec:1.139
--- SPECS/dia.spec:1.138	Sun Nov  4 00:28:40 2007
+++ SPECS/dia.spec	Fri Nov 16 18:42:55 2007
@@ -8,7 +8,7 @@
 Summary(zh_CN.UTF-8):	基于GTK+的流程图程序
 Name:		dia
 Version:	0.96.1
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL v2+
 Group:		X11/Applications/Graphics
@@ -98,7 +98,11 @@
 %patch0 -p1
 %patch1 -p0
 
+%{__sed} -i -e s#sr\@Latn#sr\@latin# configure.in
+mv -f po/sr\@{Latn,latin}.po
+
 %build
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -123,8 +127,6 @@
 
 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
 
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
-	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang %{name} --with-gnome
 
 %clean
@@ -161,6 +163,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.139  2007-11-16 17:42:55  megabajt
+- %{__intltoolize}
+- use better way to fix locale name
+- release 3
+
 Revision 1.138  2007-11-03 23:28:40  ankry
 - sr at Latn -> sr at latin, rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dia.spec?r1=1.138&r2=1.139&f=u



More information about the pld-cvs-commit mailing list