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-9 |
31 |
rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib |
32 |
* Thu Mar 14 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
33 |
OO Pathes fixed |
34 |
OpenOfficePortable.ini added |
35 |
openoffice configuration db record for enable/disable program share |
36 |
|
37 |
* Thu Feb 28 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-7 |
38 |
Spec file fix |
39 |
|
40 |
* Thu Feb 14 2008 Michael Weinberger <mweinber@neddix.de> |
41 |
- Initial release |
42 |
|
43 |
%prep |
44 |
%setup -q -n %{name}-%{version} |
45 |
%patch0 -p1 |
46 |
|
47 |
%build |
48 |
|
49 |
%install |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
rm -f %{name}-%{version}-filelist |
53 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
54 |
--dir /opt/openoffice 'attr(755,admin,admin)' \ |
55 |
--dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ |
56 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini 'attr(644,admin,admin)' \ |
57 |
--file /opt/openoffice/download.url 'attr(644,admin,admin)' \ |
58 |
>> %{name}-%{version}-filelist |
59 |
|
60 |
%clean |
61 |
rm -rf $RPM_BUILD_ROOT |
62 |
|
63 |
%files -f %{name}-%{version}-filelist |
64 |
%defattr(-,root,root) |