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