1 |
# $Id: smeserver-egroupware.spec,v 1.3 2013/12/12 17:03:05 unnilennium Exp $ |
# $Id: smeserver-egroupware.spec,v 1.6 2013/12/13 21:38:45 unnilennium Exp $ |
2 |
# Authority: cool34000 |
# Authority: cool34000 |
3 |
# Name: Sylvain Gomez |
# Name: Sylvain Gomez |
4 |
|
|
5 |
%define name smeserver-egroupware |
%define name smeserver-egroupware |
6 |
%define version 1.8.005 |
%define version 1.8.005 |
7 |
%define release 2 |
%define release 5 |
8 |
%define rpmver 4.0.4 |
%define rpmver 4.0.4 |
9 |
|
|
10 |
|
|
15 |
License: GPL |
License: GPL |
16 |
Group: Web/Application |
Group: Web/Application |
17 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
18 |
|
Patch0: smeserver-egroupware-1.8.005-g2datapath.patch |
19 |
|
Patch1: smeserver-egroupware-1.8.005-deletescript.patch |
20 |
|
PAtch2: smeserver-egroupware-1.8.005-sme5127.patch |
21 |
URL: http://www.egroupware.org |
URL: http://www.egroupware.org |
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
42 |
|
|
43 |
|
|
44 |
%changelog |
%changelog |
45 |
* Thu Dec 12 2013 JP Pialasse <tests@pialasse.com> 1.8.005-2.sme |
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com> 1.8.005-5.sme |
46 |
|
- fix hostname [SME: 5127] |
47 |
|
|
48 |
|
* Fri Dec 13 2013 JP Pialasse <tests@pialasse.com> 1.8.005-4.sme |
49 |
|
- fixed deletion script see [SME: 8040] comment 25 |
50 |
|
|
51 |
|
* Thu Dec 12 2013 JP Pialasse <tests@pialasse.com> 1.8.005-3.sme |
52 |
- upgrade to eGroupware 1.8 using opensuse rpm for Centos5 |
- upgrade to eGroupware 1.8 using opensuse rpm for Centos5 |
53 |
- built for eGroupware-1.8.005.20131007 |
- built for eGroupware-1.8.005.20131007 |
54 |
- see [SME: 8040] |
- see [SME: 8040] |
55 |
- revert back some configuration in spec |
- 2 revert back some configuration in spec |
56 |
- will need to move to an event |
- will need to move to an event |
57 |
|
- 3 fix tmp and sess directory |
58 |
|
- fix default g2data path |
59 |
|
|
60 |
* Tue Jun 04 2013 JP Pialasse <tests@pialasse.com> 1.4.004-2.sme |
* Tue Jun 04 2013 JP Pialasse <tests@pialasse.com> 1.4.004-2.sme |
61 |
- fix upload dir not defined [SME 7653] |
- fix upload dir not defined [SME 7653] |
143 |
|
|
144 |
|
|
145 |
%setup |
%setup |
146 |
#%patch0 -p1 |
%patch0 -p1 |
147 |
|
%patch1 -p1 |
148 |
|
%patch2 -p1 |
149 |
|
|
150 |
%build |
%build |
151 |
# Creating templates2adjust |
# Creating templates2adjust |
171 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
172 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
173 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
174 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
175 |
|
|grep -v egroupware_tmp |grep -v egroupware_sess \ |
176 |
|
> %{name}-%{version}-filelist |
177 |
|
|
178 |
|
echo "%dir %attr(0755,www,www) /usr/share/egroupware_tmp">> %{name}-%{version}-filelist |
179 |
|
echo "%dir %attr(0755,www,www) /usr/share/egroupware_sess">> %{name}-%{version}-filelist |
180 |
|
|
181 |
|
|
182 |
%clean |
%clean |