1 |
Summary: OpenOfficePortable integration |
2 |
%define name smeserver-openoffice-portable |
3 |
Name: %{name} |
4 |
%define version 2.3.1 |
5 |
%define release 7 |
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 |
BuildRequires: e-smith-devtools |
15 |
AutoReq: no |
16 |
|
17 |
%changelog |
18 |
* Thu Feb 28 2008 Michael Weinberger <mweinber@neddix.de> 2.3.1-7 |
19 |
Spec file fix |
20 |
|
21 |
* Thu Feb 14 2008 Michael Weinberger <mweinber@neddix.de> |
22 |
- Initial release |
23 |
|
24 |
%description |
25 |
Integrates the OpenOfficePortable application into the SME environment |
26 |
Visit: http://wiki.contribs.org/OpenOffice_for_Windows |
27 |
|
28 |
%prep |
29 |
%setup -q -n %{name}-%{version} |
30 |
|
31 |
%build |
32 |
|
33 |
%install |
34 |
rm -rf $RPM_BUILD_ROOT |
35 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
36 |
rm -f %{name}-%{version}-filelist |
37 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
38 |
--dir /opt/openoffice 'attr(755,admin,admin)' \ |
39 |
--dir /opt/openoffice/OpenOfficePortable 'attr(755,admin,admin)' \ |
40 |
--file /opt/openoffice/download.url 'attr(644,admin,admin)' \ |
41 |
>> %{name}-%{version}-filelist |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%files -f %{name}-%{version}-filelist |
47 |
%defattr(-,root,root) |