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