--- rpms/smeserver-openoffice-portable/contribs7/smeserver-openoffice-portable.spec 2008/02/28 18:58:50 1.1 +++ rpms/smeserver-openoffice-portable/contribs7/smeserver-openoffice-portable.spec 2008/03/15 16:43:06 1.7 @@ -2,7 +2,7 @@ Summary: OpenOfficePortable integration %define name smeserver-openoffice-portable Name: %{name} %define version 2.3.1 -%define release 7 +%define release 10 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -11,22 +11,42 @@ Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-buildroot/ BuildArch: noarch Requires: smeserver-release >= 7.1.2 +Requires: perl-XML-Twig >= 3.29 BuildRequires: e-smith-devtools AutoReq: no +Patch0: smeserver-openoffice-portable-2.3.1-pathesfix.patch +Patch1: smeserver-openoffice-portable-2.3.1-inifile.patch +Patch2: smeserver-openoffice-portable-2.3.1-DeleteHistory.patch + +%description +Integrates the OpenOfficePortable application into the SME environment + +After installation run: +config gettype openoffice || config set openoffice service +setprop openoffice status enable +signal-event workgroup-update + +See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. %changelog +* Sat Mar 15 2008 Michael Weinberger 2.3.1-10 + openoffice-delete-history added +* Fri Mar 14 2008 Michael Weinberger 2.3.1-9 + rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib +* Thu Mar 13 2008 Michael Weinberger 2.3.1-8 + OO Pathes fixed + OpenOfficePortable.ini added + openoffice configuration db record for enable/disable program share * Thu Feb 28 2008 Michael Weinberger 2.3.1-7 Spec file fix - * Thu Feb 14 2008 Michael Weinberger - Initial release -%description -Integrates the OpenOfficePortable application into the SME environment -Visit: http://wiki.contribs.org/OpenOffice_for_Windows - %prep %setup -q -n %{name}-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build @@ -37,6 +57,7 @@ rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --dir /opt/openoffice 'attr(755,admin,admin)' \ --dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ +--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini.contrib 'attr(644,admin,admin)' \ --file /opt/openoffice/download.url 'attr(644,admin,admin)' \ >> %{name}-%{version}-filelist