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.6 |
%define release 10 |
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.2 |
|
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 |
mweinber |
1.3 |
setprop openoffice status enable |
27 |
mweinber |
1.2 |
signal-event workgroup-update |
28 |
|
|
|
29 |
|
|
See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. |
30 |
slords |
1.1 |
|
31 |
|
|
%changelog |
32 |
mweinber |
1.6 |
* 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 |
mweinber |
1.4 |
rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib |
36 |
mweinber |
1.6 |
* Thu Mar 13 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
37 |
mweinber |
1.2 |
OO Pathes fixed |
38 |
|
|
OpenOfficePortable.ini added |
39 |
|
|
openoffice configuration db record for enable/disable program share |
40 |
slords |
1.1 |
* 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 |
mweinber |
1.2 |
%patch0 -p1 |
48 |
mweinber |
1.6 |
%patch1 -p1 |
49 |
|
|
%patch2 -p1 -b .DeleteHistory |
50 |
slords |
1.1 |
|
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 |
mweinber |
1.5 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini.contrib 'attr(644,admin,admin)' \ |
61 |
slords |
1.1 |
--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) |