--- 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/14 13:42:41 1.2 @@ -2,7 +2,7 @@ Summary: OpenOfficePortable integration %define name smeserver-openoffice-portable Name: %{name} %define version 2.3.1 -%define release 7 +%define release 8 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -11,22 +11,35 @@ 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 + +%description +Integrates the OpenOfficePortable application into the SME environment + +After installation run: +config gettype openoffice || config set openoffice service +signal-event workgroup-update + +See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. %changelog +* Thu Mar 14 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 %build @@ -37,6 +50,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 'attr(644,admin,admin)' \ --file /opt/openoffice/download.url 'attr(644,admin,admin)' \ >> %{name}-%{version}-filelist