Скачав src.rpm від Мандріви - вміст rpm мені сподобався залишилося лише побудувати...
mdv, а щоб додати українську достатньо просто додати її до опцій configure, чи треба ще якісь файли додавати?
Мабуть ще є декілька місць. Латка для федори9 наведена нижче, можете взяти її за основу
--- openoffice.org.spec.2.40-12.5.fc9 2008-04-07 10:07:13.000000000 +0300
+++ openoffice.org.spec 2008-04-07 10:19:54.000000000 +0300
@@ -31,7 +31,7 @@
%endif
%if %{langpacks}
-%define langpack_langs af ar bg bn ca cs cy da de dz el en-US es et eu fi fr ga gl gu-IN pa-IN he hi-IN hu hr it ja ko lt ms nb nl nn nr pl pt pt-BR ru sk sl sr ss st sv ta-IN th tr ve xh zh-CN zh-TW zu ns tn ts as-IN mr-IN ml-IN or-IN te-IN ur-IN kn
+%define langpack_langs af ar bg bn ca cs cy da de dz el en-US es et eu fi fr ga gl gu-IN pa-IN he hi-IN hu hr it ja ko lt ms nb nl nn nr pl pt pt-BR ru sk sl sr ss st sv ta-IN th tr ve xh zh-CN zh-TW zu ns tn ts as-IN mr-IN ml-IN or-IN te-IN ur-IN kn uk
%else
%define langpack_langs en-US
%endif
@@ -43,7 +43,7 @@
Summary: OpenOffice.org comprehensive office suite.
Name: openoffice.org
Version: 2.4.0
-Release: %{ooomilestone}.%{rh_rpm_release}%{?dist}
+Release: %{ooomilestone}.%{rh_rpm_release}mvd
Epoch: 1
License: LGPLv2 and LGPLv2+ and MPLv1.1 and BSD
Group: Applications/Productivity
@@ -774,6 +776,17 @@
%description langpack-ru
Provides additional russian translations and resources for %{name}.
+%package langpack-uk
+Summary: Ukrainian language pack for %{name}
+Group: Applications/Productivity
+Requires: %{name}-core = %{epoch}:%{version}-%{release}
+Requires: hunspell-uk, hyphen-uk
+Obsoletes: openoffice.org-i18n
+Obsoletes: openoffice.org2-langpack-uk
+
+%description langpack-uk
+Provides additional ukrainian translations and resources for %{name}
+
%package langpack-sk_SK
Summary: Slovak language pack for %{name}
Group: Applications/Productivity
@@ -1431,7 +1445,7 @@
xh help noacor western ve nohelp noacor western \
st help noacor western ss nohelp noacor western \
nr help noacor western ns help noacor western \
-dz help noacor ctl
+uk help nolingu western dz help noacor ctl
)
i=0
@@ -1694,6 +1708,7 @@
%files langpack-pt_PT -f pt.filelist
%files langpack-pt_BR -f pt-BR.filelist
%files langpack-ru -f ru.filelist
+%files langpack-uk -f uk.filelist
%files langpack-sk_SK -f sk.filelist
%files langpack-sl_SI -f sl.filelist
%files langpack-sr -f sr.filelist