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