SPECS: file-roller.spec - updated to 2.20.2 - use better way to fi...

megabajt megabajt at pld-linux.org
Tue Nov 27 19:10:17 CET 2007


Author: megabajt                     Date: Tue Nov 27 18:10:17 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:
   file-roller.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/file-roller.spec
diff -u SPECS/file-roller.spec:1.102 SPECS/file-roller.spec:1.103
--- SPECS/file-roller.spec:1.102	Sun Nov  4 18:52:14 2007
+++ SPECS/file-roller.spec	Tue Nov 27 19:10:11 2007
@@ -3,12 +3,12 @@
 Summary(pl.UTF-8):	Zarządca archiwów dla GNOME
 Summary(pt_BR.UTF-8):	Gerenciador de arquivos compactados para o GNOME
 Name:		file-roller
-Version:	2.20.1
-Release:	2
+Version:	2.20.2
+Release:	1
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.20/%{name}-%{version}.tar.bz2
-# Source0-md5:	d99d9cc2ae3007eb5c8a6c7eb7d861aa
+# Source0-md5:	98f725b2a0d04e6035d8a3e884e07a5c
 Patch0:		%{name}-desktop.patch
 URL:		http://www.gnome.org/
 BuildRequires:	GConf2-devel >= 2.20.0
@@ -23,6 +23,8 @@
 BuildRequires:	libtool
 BuildRequires:	nautilus-devel >= 2.20.0
 BuildRequires:	pkgconfig
+# support for --with-omf in find-lang.sh
+BuildRequires:	rpm-build >= 4.4.9-10
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	scrollkeeper
 Requires(post,postun):	desktop-file-utils
@@ -84,6 +86,9 @@
 %setup -q
 %patch0 -p1
 
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__gnome_doc_prepare}
 %{__intltoolize}
@@ -108,9 +113,7 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
 
-[ -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
@@ -143,18 +146,6 @@
 %{_datadir}/file-roller
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*/apps/file-roller.*
-%dir %{_omf_dest_dir}/%{name}
-%{_omf_dest_dir}/file-roller/file-roller-C.omf
-%lang(bg) %{_omf_dest_dir}/file-roller/file-roller-bg.omf
-%lang(de) %{_omf_dest_dir}/file-roller/file-roller-de.omf
-%lang(es) %{_omf_dest_dir}/file-roller/file-roller-es.omf
-%lang(fr) %{_omf_dest_dir}/file-roller/file-roller-fr.omf
-%lang(it) %{_omf_dest_dir}/file-roller/file-roller-it.omf
-%lang(nl) %{_omf_dest_dir}/file-roller/file-roller-nl.omf
-%lang(oc) %{_omf_dest_dir}/file-roller/file-roller-oc.omf
-%lang(ru) %{_omf_dest_dir}/file-roller/file-roller-ru.omf
-%lang(sv) %{_omf_dest_dir}/file-roller/file-roller-sv.omf
-%lang(uk) %{_omf_dest_dir}/file-roller/file-roller-uk.omf
 %{_sysconfdir}/gconf/schemas/file-roller.schemas
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -163,6 +154,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2007-11-27 18:10:11  megabajt
+- updated to 2.20.2
+- use better way to fix locale name
+- use --with-omf
+
 Revision 1.102  2007-11-04 17:52:14  ankry
 - sr at Latn -> sr at latin, rel. 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/file-roller.spec?r1=1.102&r2=1.103&f=u



More information about the pld-cvs-commit mailing list