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