SPECS: gnome-doc-utils.spec - use better way to fix locale name - ...
megabajt
megabajt at pld-linux.org
Fri Nov 30 20:05:48 CET 2007
Author: megabajt Date: Fri Nov 30 19:05:48 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use better way to fix locale name
- use --with-omf
- release 3
---- Files affected:
SPECS:
gnome-doc-utils.spec (1.30 -> 1.31)
---- Diffs:
================================================================
Index: SPECS/gnome-doc-utils.spec
diff -u SPECS/gnome-doc-utils.spec:1.30 SPECS/gnome-doc-utils.spec:1.31
--- SPECS/gnome-doc-utils.spec:1.30 Mon Nov 5 00:22:29 2007
+++ SPECS/gnome-doc-utils.spec Fri Nov 30 20:05:43 2007
@@ -3,18 +3,20 @@
Summary(pl.UTF-8): Narzędzia do budowania dokumentacji dla GNOME
Name: gnome-doc-utils
Version: 0.12.0
-Release: 2
+Release: 3
License: GPL v2+/LGPL v2+
Group: Development/Tools
-Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.12/%{name}-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.12/%{name}-%{version}.tar.bz2
# Source0-md5: 5934c08d12407d8233416343cd73df24
Patch0: %{name}-no_scrollkeeper_update.patch
URL: http://www.gnome.org/
BuildRequires: libxslt-devel >= 1.1.22
BuildRequires: python >= 2.0
+BuildRequires: rarian-compat
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.197
-BuildRequires: rarian-compat
+BuildRequires: sed >= 4.0
Requires(post,postun): rarian-compat
Requires: libxslt-progs
Requires: python-libxml2
@@ -32,6 +34,9 @@
%setup -q
%patch0 -p1
+sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
%build
%configure \
--disable-scrollkeeper
@@ -43,9 +48,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
-%find_lang %{name} --all-name --with-gnome
+%find_lang %{name} --all-name --with-omf --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,8 +70,6 @@
%{_datadir}/xml2po
%{_datadir}/xml/gnome
%{_mandir}/man1/xml2po.1*
-%{_omf_dest_dir}/gnome-doc-make
-%{_omf_dest_dir}/gnome-doc-xslt
%{_pkgconfigdir}/gnome-doc-utils.pc
%{_pkgconfigdir}/xml2po.pc
@@ -78,6 +79,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.31 2007-11-30 19:05:43 megabajt
+- use better way to fix locale name
+- use --with-omf
+- release 3
+
Revision 1.30 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-doc-utils.spec?r1=1.30&r2=1.31&f=u
More information about the pld-cvs-commit
mailing list