1 |
mweinber |
1.11 |
# $Id: smeserver-openoffice-portable.spec,v 1.10 2008/04/21 14:20:17 slords Exp $ |
2 |
slords |
1.9 |
# Authority: mweinber |
3 |
|
|
# Name: Michael Weinberger |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: OpenOfficePortable integration |
6 |
|
|
%define name smeserver-openoffice-portable |
7 |
|
|
Name: %{name} |
8 |
slords |
1.10 |
%define version 2.4.0 |
9 |
mweinber |
1.11 |
%define release 2 |
10 |
slords |
1.1 |
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 |
mweinber |
1.2 |
Requires: perl-XML-Twig >= 3.29 |
19 |
slords |
1.1 |
BuildRequires: e-smith-devtools |
20 |
|
|
AutoReq: no |
21 |
mweinber |
1.11 |
Patch0: smeserver-openoffice-portable-2.4.0-touchlicense.patch |
22 |
mweinber |
1.2 |
|
23 |
|
|
%description |
24 |
|
|
Integrates the OpenOfficePortable application into the SME environment |
25 |
|
|
|
26 |
|
|
After installation run: |
27 |
|
|
config gettype openoffice || config set openoffice service |
28 |
mweinber |
1.3 |
setprop openoffice status enable |
29 |
mweinber |
1.2 |
signal-event workgroup-update |
30 |
|
|
|
31 |
|
|
See http://wiki.contribs.org/OpenOffice_for_Windows for full documentation. |
32 |
slords |
1.1 |
|
33 |
|
|
%changelog |
34 |
mweinber |
1.11 |
* Mon Apr 21 2008 Michael Weinberger <mweinber@neddix.de> 2.4.0-2 |
35 |
|
|
Touch license files to avoid license dialog |
36 |
|
|
* Mon Apr 21 2008 Michael Weinberger <mweinber@neddix.de> 2.4.0-1 |
37 |
slords |
1.10 |
Update to 2.4 |
38 |
|
|
Fix ownership of /opt/openoffice in script openoffice-init |
39 |
mweinber |
1.8 |
* Sun Mar 16 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-11 |
40 |
|
|
openoffice-delete-history as seperate script |
41 |
mweinber |
1.6 |
* Sat Mar 15 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-10 |
42 |
|
|
openoffice-delete-history added |
43 |
|
|
* Fri Mar 14 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-9 |
44 |
mweinber |
1.4 |
rename OpenOfficePortable.ini to OpenOfficePortable.ini.contrib |
45 |
mweinber |
1.6 |
* Thu Mar 13 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-8 |
46 |
mweinber |
1.2 |
OO Pathes fixed |
47 |
|
|
OpenOfficePortable.ini added |
48 |
|
|
openoffice configuration db record for enable/disable program share |
49 |
slords |
1.1 |
* Thu Feb 28 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-7 |
50 |
|
|
Spec file fix |
51 |
|
|
* Thu Feb 14 2008 Michael Weinberger <mweinber@neddix.de> |
52 |
|
|
- Initial release |
53 |
|
|
|
54 |
|
|
%prep |
55 |
|
|
%setup -q -n %{name}-%{version} |
56 |
mweinber |
1.11 |
%patch0 -p1 |
57 |
slords |
1.1 |
|
58 |
|
|
%build |
59 |
|
|
|
60 |
|
|
%install |
61 |
|
|
rm -rf $RPM_BUILD_ROOT |
62 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
63 |
|
|
rm -f %{name}-%{version}-filelist |
64 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
65 |
|
|
--dir /opt/openoffice 'attr(755,admin,admin)' \ |
66 |
|
|
--dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ |
67 |
mweinber |
1.5 |
--file /opt/openoffice/OpenOfficePortable/OpenOfficePortable.ini.contrib 'attr(644,admin,admin)' \ |
68 |
slords |
1.1 |
--file /opt/openoffice/download.url 'attr(644,admin,admin)' \ |
69 |
|
|
>> %{name}-%{version}-filelist |
70 |
|
|
|
71 |
|
|
%clean |
72 |
|
|
rm -rf $RPM_BUILD_ROOT |
73 |
|
|
|
74 |
|
|
%files -f %{name}-%{version}-filelist |
75 |
|
|
%defattr(-,root,root) |