SPECS: gnome-system-monitor.spec - use --with-omf and better way t...
megabajt
megabajt at pld-linux.org
Fri Nov 30 17:01:51 CET 2007
Author: megabajt Date: Fri Nov 30 16:01:51 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use --with-omf and better way to fix locale name
- release 3
---- Files affected:
SPECS:
gnome-system-monitor.spec (1.58 -> 1.59)
---- Diffs:
================================================================
Index: SPECS/gnome-system-monitor.spec
diff -u SPECS/gnome-system-monitor.spec:1.58 SPECS/gnome-system-monitor.spec:1.59
--- SPECS/gnome-system-monitor.spec:1.58 Mon Nov 5 00:57:02 2007
+++ SPECS/gnome-system-monitor.spec Fri Nov 30 17:01:45 2007
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Prosty monitor procesów
Name: gnome-system-monitor
Version: 2.20.1
-Release: 2
+Release: 3
License: GPL v2+
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/2.20/%{name}-%{version}.tar.bz2
@@ -23,8 +23,10 @@
BuildRequires: libselinux-devel
BuildRequires: libwnck-devel >= 2.20.0
BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
+BuildRequires: sed >= 4.0
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: libgtop >= 1:2.20.0
@@ -43,6 +45,9 @@
%prep
%setup -q
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
%build
%{__gnome_doc_common}
%{__intltoolize}
@@ -63,9 +68,7 @@
omf_dest_dir=%{_omf_dest_dir}/%{name} \
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
@@ -86,15 +89,6 @@
%{_desktopdir}/*.desktop
%{_pixmapsdir}/gnome-system-monitor
%{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas
-%dir %{_omf_dest_dir}/%{name}
-%{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-C.omf
-%lang(bg) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-bg.omf
-%lang(ca) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-ca.omf
-%lang(es) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-es.omf
-%lang(fr) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-fr.omf
-%lang(oc) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-oc.omf
-%lang(pa) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-pa.omf
-%lang(sv) %{_omf_dest_dir}/gnome-system-monitor/gnome-system-monitor-sv.omf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -102,6 +96,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.59 2007-11-30 16:01:45 megabajt
+- use --with-omf and better way to fix locale name
+- release 3
+
Revision 1.58 2007-11-04 23:57:02 ankry
- sr at Latn -> sr at latin, rel. 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnome-system-monitor.spec?r1=1.58&r2=1.59&f=u
More information about the pld-cvs-commit
mailing list