forked from extern/egroupware
1.4.002
This commit is contained in:
parent
e385c6412f
commit
a96f88a721
@ -42,7 +42,8 @@ SPECFILE="egroupware-1.4.spec"
|
|||||||
SOURCEFILES="egroupware_fedora.tar.bz2 egroupware_suse.tar.bz2 manageheader.php.patch class.uiasyncservice.inc.php.patch"
|
SOURCEFILES="egroupware_fedora.tar.bz2 egroupware_suse.tar.bz2 manageheader.php.patch class.uiasyncservice.inc.php.patch"
|
||||||
|
|
||||||
#CONTRIB="jinn workflow messenger egwical icalsrv gallery"
|
#CONTRIB="jinn workflow messenger egwical icalsrv gallery"
|
||||||
CONTRIB="icalsrv gallery"
|
#CONTRIB="icalsrv gallery"
|
||||||
|
CONTRIB="gallery"
|
||||||
EXTRAPACKAGES="egw-pear $CONTRIB"
|
EXTRAPACKAGES="egw-pear $CONTRIB"
|
||||||
for p in $EXTRAPACKAGES
|
for p in $EXTRAPACKAGES
|
||||||
do
|
do
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
%define distribution SUSE Linux %{?suse_version}
|
%define distribution SUSE Linux %{?suse_version}
|
||||||
%define php php5
|
%define php php5
|
||||||
%define extra_requires apache2-mod_php5
|
%define extra_requires apache2-mod_php5
|
||||||
|
%define cron cron
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora_version}
|
%if 0%{?fedora_version}
|
||||||
%define httpdroot /var/www/html
|
%define httpdroot /var/www/html
|
||||||
@ -19,6 +20,7 @@
|
|||||||
%define distribution Fedora Core %{?fedora_version}
|
%define distribution Fedora Core %{?fedora_version}
|
||||||
%define php php
|
%define php php
|
||||||
%define extra_requires httpd
|
%define extra_requires httpd
|
||||||
|
%define cron crontabs
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?mandriva_version}
|
%if 0%{?mandriva_version}
|
||||||
%define httpdroot /var/www/html
|
%define httpdroot /var/www/html
|
||||||
@ -28,6 +30,7 @@
|
|||||||
%define distribution Mandriva %{?mandriva_version}
|
%define distribution Mandriva %{?mandriva_version}
|
||||||
%define php php
|
%define php php
|
||||||
%define extra_requires httpd
|
%define extra_requires httpd
|
||||||
|
%define cron crontabs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define addressbook addressbook
|
%define addressbook addressbook
|
||||||
@ -41,10 +44,12 @@
|
|||||||
%define gallery gallery
|
%define gallery gallery
|
||||||
%define icalsrv icalsrv
|
%define icalsrv icalsrv
|
||||||
%define infolog infolog
|
%define infolog infolog
|
||||||
|
%define importexport importexport
|
||||||
%define manual manual
|
%define manual manual
|
||||||
%define messenger messenger
|
%define messenger messenger
|
||||||
%define mydms mydms
|
%define mydms mydms
|
||||||
%define news_admin news_admin
|
%define news_admin news_admin
|
||||||
|
%define notifications notifications
|
||||||
%define phpbrain phpbrain
|
%define phpbrain phpbrain
|
||||||
%define phpsysinfo phpsysinfo
|
%define phpsysinfo phpsysinfo
|
||||||
%define polls polls
|
%define polls polls
|
||||||
@ -71,15 +76,15 @@ URL: http://www.egroupware.org/
|
|||||||
Source0: %{packagename}-%{egwversion}.%{packaging}.tar.bz2
|
Source0: %{packagename}-%{egwversion}.%{packaging}.tar.bz2
|
||||||
Source1: %{packagename}-egw-pear-%{egwversion}.%{packaging}.tar.bz2
|
Source1: %{packagename}-egw-pear-%{egwversion}.%{packaging}.tar.bz2
|
||||||
Source2: %{packagename}-icalsrv-%{egwversion}.%{packaging}.tar.bz2
|
Source2: %{packagename}-icalsrv-%{egwversion}.%{packaging}.tar.bz2
|
||||||
#Source3: %{packagename}-egwical-%{egwversion}.%{packaging}.tar.bz2
|
|
||||||
Source4: %{packagename}-gallery-%{egwversion}.%{packaging}.tar.bz2
|
Source4: %{packagename}-gallery-%{egwversion}.%{packaging}.tar.bz2
|
||||||
Source5: %{?source5}
|
Source5: %{?source5}
|
||||||
#Patch0: manageheader.php.patch
|
Patch0: manageheader.php.patch
|
||||||
#Patch1: class.uiasyncservice.inc.php.patch
|
Patch1: class.uiasyncservice.inc.php.patch
|
||||||
BuildRoot: /tmp/%{packagename}-buildroot
|
BuildRoot: /tmp/%{packagename}-buildroot
|
||||||
Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{extra_requires} cron %{packagename}-egw-pear = %{egwversion}.%{packaging}
|
Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{extra_requires} %{cron} %{packagename}-egw-pear = %{egwversion}.%{packaging}
|
||||||
Provides: egw-core egw-%{addressbook} egw-%{etemplate}
|
Provides: egw-core egw-%{addressbook} egw-%{etemplate}
|
||||||
Conflicts: %{packagename}-core %{packagename}-%{addressbook} %{packagename}-%{bookmarks} %{packagename}-%{calendar} %{packagename}-%{developer_tools} %{packagename}-%{emailadmin} %{packagename}-%{felamimail} %{packagename}-%{filemanager} %{packagename}-%{infolog} %{packagename}-%{manual} %{packagename}-%{mydms} %{packagename}-%{news_admin} %{packagename}-%{phpbrain} %{packagename}-%{polls} %{packagename}-%{projectmanager} %{packagename}-%{registration} %{packagename}-%{resources} %{packagename}-%{sambaadmin} %{packagename}-%{sitemgr} %{packagename}-%{syncml} %{packagename}-%{timesheet} %{packagename}-%{wiki}
|
Conflicts: %{packagename}-core %{packagename}-%{addressbook} %{packagename}-%{bookmarks} %{packagename}-%{calendar} %{packagename}-%{developer_tools} %{packagename}-%{emailadmin} %{packagename}-%{felamimail} %{packagename}-%{filemanager} %{packagename}-%{icalsrv} %{packagename}-%{infolog} %{packagename}-%{importexport} %{packagename}-%{manual} %{packagename}-%{mydms} %{packagename}-%{news_admin} %{packagename}-%{notifications} %{packagename}-%{phpbrain} %{packagename}-%{polls} %{packagename}-%{projectmanager} %{packagename}-%{registration} %{packagename}-%{resources} %{packagename}-%{sambaadmin} %{packagename}-%{sitemgr} %{packagename}-%{syncml} %{packagename}-%{timesheet} %{packagename}-%{wiki}
|
||||||
|
Obsoletes: %{packagename}-%{icalsrv}
|
||||||
|
|
||||||
Prefix: /usr/share
|
Prefix: /usr/share
|
||||||
Buildarch: noarch
|
Buildarch: noarch
|
||||||
@ -106,11 +111,14 @@ Further contributed applications are avalible in single packages.
|
|||||||
%package core
|
%package core
|
||||||
Summary: The eGroupWare contrib package
|
Summary: The eGroupWare contrib package
|
||||||
Group: Web/Database
|
Group: Web/Database
|
||||||
#Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{extra_requires} cron %{packagename}-egw-pear = %{egwversion}.%{packaging}
|
|
||||||
Provides: egw-core
|
Provides: egw-core
|
||||||
Conflicts: %{packagename}
|
Conflicts: %{packagename}
|
||||||
%description core
|
%description core
|
||||||
This package provides the eGroupWare contrib applications.
|
This package provides the eGroupWare contrib applications.
|
||||||
|
%post core
|
||||||
|
%if 0%{?fedora_version}
|
||||||
|
chcon "user_u:object_r:httpd_sys_content_t" /var/lib/egroupware -Rc
|
||||||
|
%endif
|
||||||
|
|
||||||
%package %{addressbook}
|
%package %{addressbook}
|
||||||
Version: %{egwversion}.%{packaging}
|
Version: %{egwversion}.%{packaging}
|
||||||
@ -178,15 +186,6 @@ Requires: egw-core = %{egwversion}.%{packaging}, %{packagename}-egw-pear = %{egw
|
|||||||
%description %{emailadmin}
|
%description %{emailadmin}
|
||||||
EmailAdmin allow to maintain User email accounts
|
EmailAdmin allow to maintain User email accounts
|
||||||
|
|
||||||
#%package %{egwical}
|
|
||||||
#Version: %{egwversion}.%{packaging}
|
|
||||||
#Summary: The eGroupWare %{egwical} application
|
|
||||||
#Group: Web/Database
|
|
||||||
#AutoReqProv: no
|
|
||||||
#Requires: egw-core = %{egwversion}.%{packaging}
|
|
||||||
#%description %{egwical}
|
|
||||||
#This is the %{egwical} app for eGroupWare.
|
|
||||||
|
|
||||||
%package %{felamimail}
|
%package %{felamimail}
|
||||||
Version: %{egwversion}.%{packaging}
|
Version: %{egwversion}.%{packaging}
|
||||||
Summary: The eGroupWare %{felamimail} application
|
Summary: The eGroupWare %{felamimail} application
|
||||||
@ -217,15 +216,6 @@ Requires: egw-core = %{egwversion}.%{packaging}, egw-pear = %{egwversion}.%{pack
|
|||||||
%description %{gallery}
|
%description %{gallery}
|
||||||
An embedded Gallery2 for eGroupWare.
|
An embedded Gallery2 for eGroupWare.
|
||||||
|
|
||||||
#%package %{headlines}
|
|
||||||
#Version: %{egwversion}.%{packaging}
|
|
||||||
#Summary: The eGroupWare %{headlines} application
|
|
||||||
#Group: Web/Database
|
|
||||||
#AutoReqProv: no
|
|
||||||
#Requires: egw-core = %{egwversion}.%{packaging}
|
|
||||||
#%description %{headlines}
|
|
||||||
#This is the %{headlines} app for eGroupWare.
|
|
||||||
|
|
||||||
%package %{icalsrv}
|
%package %{icalsrv}
|
||||||
Version: %{egwversion}.%{packaging}
|
Version: %{egwversion}.%{packaging}
|
||||||
Summary: The eGroupWare %{icalsrv} application
|
Summary: The eGroupWare %{icalsrv} application
|
||||||
@ -245,6 +235,16 @@ Requires: egw-core = %{egwversion}.%{packaging}, egw-%{etemplate} = %{egwversion
|
|||||||
%description %{infolog}
|
%description %{infolog}
|
||||||
This is the %{infolog} app for eGroupWare (Notes, ToDo, Phonelogs, CRM).
|
This is the %{infolog} app for eGroupWare (Notes, ToDo, Phonelogs, CRM).
|
||||||
|
|
||||||
|
%package %{importexport}
|
||||||
|
Version: %{egwversion}.%{packaging}
|
||||||
|
Summary: The eGroupWare %{importexport} application
|
||||||
|
Group: Web/Database
|
||||||
|
Conflicts: %{packagename}
|
||||||
|
AutoReqProv: no
|
||||||
|
Requires: egw-core = %{egwversion}.%{packaging}, egw-%{etemplate} = %{egwversion}.%{packaging}
|
||||||
|
%description %{importexport}
|
||||||
|
This is the %{importexport} app for eGroupWare. It includes a comandline client.
|
||||||
|
|
||||||
#%package %{jinn}
|
#%package %{jinn}
|
||||||
#Version: %{egwversion}.%{packaging}
|
#Version: %{egwversion}.%{packaging}
|
||||||
#Summary: The eGroupWare %{jinn} application
|
#Summary: The eGroupWare %{jinn} application
|
||||||
@ -264,15 +264,6 @@ Requires: egw-core = %{egwversion}.%{packaging}
|
|||||||
%description %{manual}
|
%description %{manual}
|
||||||
This is the %{manual} app for eGroupWare: online help system.
|
This is the %{manual} app for eGroupWare: online help system.
|
||||||
|
|
||||||
#%package %{messenger}
|
|
||||||
#Version: %{egwversion}.%{packaging}
|
|
||||||
#Summary: The eGroupWare %{messenger} application
|
|
||||||
#Group: Web/Database
|
|
||||||
#AutoReqProv: no
|
|
||||||
#Requires: egw-core = %{egwversion}.%{packaging}
|
|
||||||
#%description %{messenger}
|
|
||||||
#This is the %{messenger} app for eGroupWare.
|
|
||||||
|
|
||||||
%package %{mydms}
|
%package %{mydms}
|
||||||
Version: %{egwversion}.%{packaging}
|
Version: %{egwversion}.%{packaging}
|
||||||
Summary: The eGroupWare %{mydms} application
|
Summary: The eGroupWare %{mydms} application
|
||||||
@ -293,6 +284,16 @@ Requires: egw-core = %{egwversion}.%{packaging}
|
|||||||
%description %{news_admin}
|
%description %{news_admin}
|
||||||
This is the %{news_admin} app for eGroupWare.
|
This is the %{news_admin} app for eGroupWare.
|
||||||
|
|
||||||
|
%package %{notifications}
|
||||||
|
Version: %{egwversion}.%{packaging}
|
||||||
|
Summary: The eGroupWare %{notifications} application
|
||||||
|
Group: Web/Database
|
||||||
|
Conflicts: %{packagename}
|
||||||
|
AutoReqProv: no
|
||||||
|
Requires: egw-core = %{egwversion}.%{packaging}
|
||||||
|
%description %{notifications}
|
||||||
|
This is the %{notifications} app for eGroupWare.
|
||||||
|
|
||||||
%package %{phpbrain}
|
%package %{phpbrain}
|
||||||
Version: %{egwversion}.%{packaging}
|
Version: %{egwversion}.%{packaging}
|
||||||
Summary: The eGroupWare %{phpbrain} application
|
Summary: The eGroupWare %{phpbrain} application
|
||||||
@ -432,8 +433,8 @@ This is the %{wiki} app for eGroupWare.
|
|||||||
#%setup3 -T -D -a 3 -n %{egwdirname}
|
#%setup3 -T -D -a 3 -n %{egwdirname}
|
||||||
%setup4 -T -D -a 4 -n %{egwdirname}
|
%setup4 -T -D -a 4 -n %{egwdirname}
|
||||||
%setup5 -T -D -a 5 -n %{egwdirname}
|
%setup5 -T -D -a 5 -n %{egwdirname}
|
||||||
#%patch0 -p 0
|
%patch0 -p 0
|
||||||
#%patch1 -p 0
|
%patch1 -p 0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -463,6 +464,9 @@ ln -s sitemgr/sitemgr-link
|
|||||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%if 0%{?fedora_version}
|
||||||
|
chcon "user_u:object_r:httpd_sys_content_t" /var/lib/egroupware -Rc
|
||||||
|
%endif
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -501,10 +505,13 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%{prefix}/%{egwdirname}/emailadmin
|
%{prefix}/%{egwdirname}/emailadmin
|
||||||
%{prefix}/%{egwdirname}/felamimail
|
%{prefix}/%{egwdirname}/felamimail
|
||||||
%{prefix}/%{egwdirname}/filemanager
|
%{prefix}/%{egwdirname}/filemanager
|
||||||
|
%{prefix}/%{egwdirname}/icalsrv
|
||||||
%{prefix}/%{egwdirname}/infolog
|
%{prefix}/%{egwdirname}/infolog
|
||||||
|
%{prefix}/%{egwdirname}/importexport
|
||||||
%{prefix}/%{egwdirname}/manual
|
%{prefix}/%{egwdirname}/manual
|
||||||
%{prefix}/%{egwdirname}/mydms
|
%{prefix}/%{egwdirname}/mydms
|
||||||
%{prefix}/%{egwdirname}/news_admin
|
%{prefix}/%{egwdirname}/news_admin
|
||||||
|
%{prefix}/%{egwdirname}/notifications
|
||||||
%{prefix}/%{egwdirname}/phpbrain
|
%{prefix}/%{egwdirname}/phpbrain
|
||||||
%{prefix}/%{egwdirname}/phpsysinfo
|
%{prefix}/%{egwdirname}/phpsysinfo
|
||||||
%{prefix}/%{egwdirname}/polls
|
%{prefix}/%{egwdirname}/polls
|
||||||
@ -534,6 +541,13 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
||||||
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default/files
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default/backup
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
||||||
|
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
||||||
|
%endif
|
||||||
|
|
||||||
%files core
|
%files core
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -579,6 +593,13 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
||||||
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default/files
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/default/backup
|
||||||
|
%dir %attr(0755,apache,apache) /var/lib/egroupware/sessions
|
||||||
|
%config %attr(0640,apache,apache) /var/lib/egroupware/header.inc.php
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{addressbook}
|
%files %{addressbook}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -588,10 +609,6 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{calendar}
|
%{prefix}/%{egwdirname}/%{calendar}
|
||||||
|
|
||||||
#%files %{chatty}
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{prefix}/%{egwdirname}/%{chatty}
|
|
||||||
|
|
||||||
%files %{developer_tools}
|
%files %{developer_tools}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{developer_tools}
|
%{prefix}/%{egwdirname}/%{developer_tools}
|
||||||
@ -604,10 +621,6 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{emailadmin}
|
%{prefix}/%{egwdirname}/%{emailadmin}
|
||||||
|
|
||||||
#%files %{egwical}
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{prefix}/%{egwdirname}/%{egwical}
|
|
||||||
|
|
||||||
%files %{felamimail}
|
%files %{felamimail}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{felamimail}
|
%{prefix}/%{egwdirname}/%{felamimail}
|
||||||
@ -620,10 +633,6 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{gallery}
|
%{prefix}/%{egwdirname}/%{gallery}
|
||||||
|
|
||||||
#%files %{headlines}
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{prefix}/%{egwdirname}/%{headlines}
|
|
||||||
|
|
||||||
%files %{icalsrv}
|
%files %{icalsrv}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{icalsrv}
|
%{prefix}/%{egwdirname}/%{icalsrv}
|
||||||
@ -632,6 +641,10 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{infolog}
|
%{prefix}/%{egwdirname}/%{infolog}
|
||||||
|
|
||||||
|
%files %{importexport}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{prefix}/%{egwdirname}/%{importexport}
|
||||||
|
|
||||||
#%files %{jinn}
|
#%files %{jinn}
|
||||||
#%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
#%{prefix}/%{egwdirname}/%{jinn}
|
#%{prefix}/%{egwdirname}/%{jinn}
|
||||||
@ -640,10 +653,6 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{manual}
|
%{prefix}/%{egwdirname}/%{manual}
|
||||||
|
|
||||||
#%files %{messenger}
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%{prefix}/%{egwdirname}/%{messenger}
|
|
||||||
|
|
||||||
%files %{mydms}
|
%files %{mydms}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{mydms}
|
%{prefix}/%{egwdirname}/%{mydms}
|
||||||
@ -652,6 +661,10 @@ ln -s sitemgr/sitemgr-link
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{news_admin}
|
%{prefix}/%{egwdirname}/%{news_admin}
|
||||||
|
|
||||||
|
%files %{notifications}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{prefix}/%{egwdirname}/%{notifications}
|
||||||
|
|
||||||
%files %{phpbrain}
|
%files %{phpbrain}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/%{egwdirname}/%{phpbrain}
|
%{prefix}/%{egwdirname}/%{phpbrain}
|
||||||
|
Loading…
Reference in New Issue
Block a user