1 |
Summary: OpenOfficePortable integration |
2 |
%define name smeserver-openoffice-portable |
3 |
Name: %{name} |
4 |
%define version 2.3.1 |
5 |
%define release 9 |
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 |
|
19 |
%description |
20 |
Integrates the OpenOfficePortable application into the SME environment |
21 |
|
22 |
After installation run: |
23 |
config gettype openoffice || config set openoffice service |
24 |
setprop openoffice status enable |
25 |
signal-event workgroup-update |
26 |
|
27 |
See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. |
28 |
|
29 |
%changelog |
30 |
* Thu Mar 14 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
31 |
OO Pathes fixed |
32 |
OpenOfficePortable.ini added |
33 |
openoffice configuration db record for enable/disable program share |
34 |
|
35 |
* Thu Feb 28 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-7 |
36 |
Spec file fix |
37 |
|
38 |
* Thu Feb 14 2008 Michael Weinberger <mweinber@neddix.de> |
39 |
- Initial release |
40 |
|
41 |
%prep |
42 |
%setup -q -n %{name}-%{version} |
43 |
%patch0 -p1 |
44 |
|
45 |
%build |
46 |
|
47 |
%install |
48 |
rm -rf $RPM_BUILD_ROOT |
49 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
50 |
rm -f %{name}-%{version}-filelist |
51 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
52 |
--dir /opt/openoffice 'attr(755,admin,admin)' \ |
53 |
--dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ |
54 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini 'attr(644,admin,admin)' \ |
55 |
--file /opt/openoffice/download.url 'attr(644,admin,admin)' \ |
56 |
>> %{name}-%{version}-filelist |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%files -f %{name}-%{version}-filelist |
62 |
%defattr(-,root,root) |