1 |
Summary: OpenOfficePortable integration |
2 |
%define name smeserver-openoffice-portable |
3 |
Name: %{name} |
4 |
%define version 2.3.1 |
5 |
%define release 11 |
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 |
Patch3: smeserver-openoffice-portable-2.3.1-DeleteHistoryScript.patch |
21 |
|
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 |
setprop openoffice status enable |
28 |
signal-event workgroup-update |
29 |
|
30 |
See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. |
31 |
|
32 |
%changelog |
33 |
* Sun Mar 16 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-11 |
34 |
openoffice-delete-history as seperate script |
35 |
* 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 |
rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib |
39 |
* Thu Mar 13 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
40 |
OO Pathes fixed |
41 |
OpenOfficePortable.ini added |
42 |
openoffice configuration db record for enable/disable program share |
43 |
* 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 |
%patch0 -p1 |
51 |
%patch1 -p1 |
52 |
%patch2 -p1 |
53 |
%patch3 -p1 |
54 |
|
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 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini.contrib 'attr(644,admin,admin)' \ |
65 |
--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) |