SPECS: eog.spec - updated to 2.20.3 - use better way to fix locale...

megabajt megabajt at pld-linux.org
Tue Nov 27 18:13:45 CET 2007


Author: megabajt                     Date: Tue Nov 27 17:13:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.20.3
- use better way to fix locale name
- use --with-omf

---- Files affected:
SPECS:
   eog.spec (1.106 -> 1.107) 

---- Diffs:

================================================================
Index: SPECS/eog.spec
diff -u SPECS/eog.spec:1.106 SPECS/eog.spec:1.107
--- SPECS/eog.spec:1.106	Sun Nov  4 18:06:10 2007
+++ SPECS/eog.spec	Tue Nov 27 18:13:40 2007
@@ -3,12 +3,12 @@
 Summary(pl.UTF-8):	Oko GNOME - przeglądarka obrazków
 Summary(pt_BR.UTF-8):	Visualizador de imagem Eye of GNOME
 Name:		eog
-Version:	2.20.2
-Release:	2
+Version:	2.20.3
+Release:	1
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/eog/2.20/%{name}-%{version}.tar.bz2
-# Source0-md5:	8b704805411199a57822e653f457502f
+# Source0-md5:	980b54c00fa3860e37d10c679c80ed71
 Patch0:		%{name}-codegen.patch
 Patch1:		%{name}-desktop.patch
 URL:		http://www.gnome.org/projects/eog/
@@ -33,6 +33,8 @@
 BuildRequires:	libjpeg-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 0.9.0
+# support for --with-omf in find-lang.sh
+BuildRequires:	rpm-build >= 4.4.9-10
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	scrollkeeper
 BuildRequires:	shared-mime-info >= 0.20
@@ -78,6 +80,9 @@
 %patch0 -p1
 %patch1 -p1
 
+sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__libtoolize}
 %{__intltoolize}
@@ -98,9 +103,7 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-[ -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
@@ -125,7 +128,6 @@
 %attr(755,root,root) %{_bindir}/eog
 %{_sysconfdir}/gconf/schemas/eog.schemas
 %{_datadir}/%{name}
-%{_omf_dest_dir}/%{name}
 %{_desktopdir}/eog.desktop
 %{_iconsdir}/hicolor/*/*/*
 
@@ -140,6 +142,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.107  2007-11-27 17:13:40  megabajt
+- updated to 2.20.3
+- use better way to fix locale name
+- use --with-omf
+
 Revision 1.106  2007-11-04 17:06:10  ankry
 - sr at Latn -> sr at latin, rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/eog.spec?r1=1.106&r2=1.107&f=u



More information about the pld-cvs-commit mailing list