SPECS: evince.spec - updated to 2.20.2 - use better way to fix loc...

megabajt megabajt at pld-linux.org
Tue Nov 27 19:56:07 CET 2007


Author: megabajt                     Date: Tue Nov 27 18:56:07 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.20.2
- use better way to fix locale name
- use --with-omf

---- Files affected:
SPECS:
   evince.spec (1.76 -> 1.77) 

---- Diffs:

================================================================
Index: SPECS/evince.spec
diff -u SPECS/evince.spec:1.76 SPECS/evince.spec:1.77
--- SPECS/evince.spec:1.76	Sun Nov  4 18:06:10 2007
+++ SPECS/evince.spec	Tue Nov 27 19:56:02 2007
@@ -9,12 +9,12 @@
 Summary:	Document viewer for multiple document formats
 Summary(pl.UTF-8):	Przeglądarka dokumentów w wielu formatach
 Name:		evince
-Version:	2.20.1
-Release:	2
+Version:	2.20.2
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Graphics
-Source0:	http://ftp.gnome.org/pub/gnome/sources/evince/2.20/%{name}-%{version}.tar.bz2
-# Source0-md5:	c0f3e4d5279ef3d08cc46b752e230c01
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/evince/2.20/%{name}-%{version}.tar.bz2
+# Source0-md5:	15214f5211d9f98ffa0afd8158b7d021
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-gs8.patch
 URL:		http://www.gnome.org/projects/evince/
@@ -39,6 +39,8 @@
 BuildRequires:	pkgconfig
 BuildRequires:	poppler-glib-devel >= 0.6
 BuildRequires:	python-libxml2
+# support for --with-omf in find-lang.sh
+BuildRequires:	rpm-build >= 4.4.9-10
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	scrollkeeper
 Requires(post,preun):	GConf2
@@ -97,6 +99,9 @@
 %patch0 -p1
 %patch1 -p1
 
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__gnome_doc_prepare}
 %{__intltoolize}
@@ -129,9 +134,7 @@
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
 
-[ -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
@@ -174,7 +177,6 @@
 %{_datadir}/%{name}
 %{_desktopdir}/*.desktop
 %{_iconsdir}/*/*/*/*
-%{_omf_dest_dir}/evince
 
 %files -n nautilus-extension-evince
 %defattr(644,root,root,755)
@@ -192,6 +194,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77  2007-11-27 18:56:02  megabajt
+- updated to 2.20.2
+- use better way to fix locale name
+- use --with-omf
+
 Revision 1.76  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/evince.spec?r1=1.76&r2=1.77&f=u



More information about the pld-cvs-commit mailing list