SPECS: gnome-control-center.spec - use --with-omf and better way t...
megabajt
megabajt at pld-linux.org
Fri Nov 30 16:29:48 CET 2007
Author: megabajt Date: Fri Nov 30 15:29:48 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use --with-omf and better way to fix locale name
- release 3
---- Files affected:
SPECS:
gnome-control-center.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/gnome-control-center.spec
diff -u SPECS/gnome-control-center.spec:1.9 SPECS/gnome-control-center.spec:1.10
--- SPECS/gnome-control-center.spec:1.9 Mon Nov 5 00:22:29 2007
+++ SPECS/gnome-control-center.spec Fri Nov 30 16:29:43 2007
@@ -7,7 +7,7 @@
Summary(uk.UTF-8): Центр керування GNOME
Name: gnome-control-center
Version: 2.20.1
-Release: 2
+Release: 3
Epoch: 1
License: GPL v2+
Group: X11/Applications
@@ -48,8 +48,10 @@
BuildRequires: metacity-devel >= 2:2.20.0
BuildRequires: nautilus-devel >= 2.20.0
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
+BuildRequires: sed >= 4.0
BuildRequires: xorg-lib-libXxf86misc-devel
BuildRequires: xorg-lib-libxkbfile-devel
Requires(post,postun): desktop-file-utils
@@ -158,6 +160,9 @@
%patch4 -p1
%patch5 -p1
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
%build
%{__gnome_doc_prepare}
%{__gnome_doc_common}
@@ -187,9 +192,7 @@
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions*/*.{a,la}
rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,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 --all-name
+%find_lang %{name} --with-gnome --with-omf --all-name
%clean
rm -rf $RPM_BUILD_ROOT
@@ -252,21 +255,6 @@
%{_iconsdir}/hicolor/*/*/*.png
%{_iconsdir}/hicolor/*/*/*.svg
%{_desktopdir}/*.desktop
-%dir %{_omf_dest_dir}/control-center
-%{_omf_dest_dir}/control-center/control-center-C.omf
-%lang(ca) %{_omf_dest_dir}/control-center/control-center-ca.omf
-%lang(en_GB) %{_omf_dest_dir}/control-center/control-center-en_GB.omf
-%lang(es) %{_omf_dest_dir}/control-center/control-center-es.omf
-%lang(fr) %{_omf_dest_dir}/control-center/control-center-fr.omf
-%lang(ja) %{_omf_dest_dir}/control-center/control-center-ja.omf
-%lang(oc) %{_omf_dest_dir}/control-center/control-center-oc.omf
-%lang(pa) %{_omf_dest_dir}/control-center/control-center-pa.omf
-%lang(pt_BR) %{_omf_dest_dir}/control-center/control-center-pt_BR.omf
-%lang(ru) %{_omf_dest_dir}/control-center/control-center-ru.omf
-%lang(sv) %{_omf_dest_dir}/control-center/control-center-sv.omf
-%lang(uk) %{_omf_dest_dir}/control-center/control-center-uk.omf
-%lang(vi) %{_omf_dest_dir}/control-center/control-center-vi.omf
-%lang(zh_CN) %{_omf_dest_dir}/control-center/control-center-zh_CN.omf
%files libs
%defattr(644,root,root,755)
@@ -292,6 +280,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2007-11-30 15:29:43 megabajt
+- use --with-omf and better way to fix locale name
+- release 3
+
Revision 1.9 2007-11-04 23:22:29 ankry
- sr at Latn -> sr at latin, rel. 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnome-control-center.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list