1 |
Summary: OpenOfficePortable integration |
2 |
%define name smeserver-openoffice-portable |
3 |
Name: %{name} |
4 |
%define version 2.3.1 |
5 |
%define release 10 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Applications/Office |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
BuildRoot: /var/tmp/%{name}-buildroot/ |
12 |
BuildArch: noarch |
13 |
Requires: smeserver-release >= 7.1.2 |
14 |
Requires: perl-XML-Twig >= 3.29 |
15 |
BuildRequires: e-smith-devtools |
16 |
AutoReq: no |
17 |
Patch0: smeserver-openoffice-portable-2.3.1-pathesfix.patch |
18 |
Patch1: smeserver-openoffice-portable-2.3.1-inifile.patch |
19 |
Patch2: smeserver-openoffice-portable-2.3.1-DeleteHistory.patch |
20 |
|
21 |
%description |
22 |
Integrates the OpenOfficePortable application into the SME environment |
23 |
|
24 |
After installation run: |
25 |
config gettype openoffice || config set openoffice service |
26 |
setprop openoffice status enable |
27 |
signal-event workgroup-update |
28 |
|
29 |
See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. |
30 |
|
31 |
%changelog |
32 |
* Sat Mar 15 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-10 |
33 |
openoffice-delete-history added |
34 |
* Fri Mar 14 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-9 |
35 |
rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib |
36 |
* Thu Mar 13 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
37 |
OO Pathes fixed |
38 |
OpenOfficePortable.ini added |
39 |
openoffice configuration db record for enable/disable program share |
40 |
* Thu Feb 28 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-7 |
41 |
Spec file fix |
42 |
* Thu Feb 14 2008 Michael Weinberger <mweinber@neddix.de> |
43 |
- Initial release |
44 |
|
45 |
%prep |
46 |
%setup -q -n %{name}-%{version} |
47 |
%patch0 -p1 |
48 |
%patch1 -p1 |
49 |
%patch2 -p1 -b .DeleteHistory |
50 |
|
51 |
%build |
52 |
|
53 |
%install |
54 |
rm -rf $RPM_BUILD_ROOT |
55 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
56 |
rm -f %{name}-%{version}-filelist |
57 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
58 |
--dir /opt/openoffice 'attr(755,admin,admin)' \ |
59 |
--dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ |
60 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini.contrib 'attr(644,admin,admin)' \ |
61 |
--file /opt/openoffice/download.url 'attr(644,admin,admin)' \ |
62 |
>> %{name}-%{version}-filelist |
63 |
|
64 |
%clean |
65 |
rm -rf $RPM_BUILD_ROOT |
66 |
|
67 |
%files -f %{name}-%{version}-filelist |
68 |
%defattr(-,root,root) |