R25739 - in /trunk/egroupware/doc/rpm-build: build-egw-rpms.sh egroupware-1.4.spec egroupware-1.6.spec

Author: ralfbecker
New Revision: 25739

URL: http://www.egroupware.org/viewvc?rev=3D25739&view=3Drev
Log:
first try for a 1.6 prerelease package

Added:
trunk/egroupware/doc/rpm-build/egroupware-1.6.spec (contents, props c=
hanged)
- copied, changed from r25725, trunk/egroupware/doc/rpm-build/egroupw=
are-1.4.spec
Removed:
trunk/egroupware/doc/rpm-build/egroupware-1.4.spec
Modified:
trunk/egroupware/doc/rpm-build/build-egw-rpms.sh

Modified: trunk/egroupware/doc/rpm-build/build-egw-rpms.sh
URL: http://www.egroupware.org/viewvc/trunk/egroupware/doc/rpm-build/build-=
egw-rpms.sh?rev=3D25739&r1=3D25738&r2=3D25739&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/egroupware/doc/rpm-build/build-egw-rpms.sh (original)
+++ trunk/egroupware/doc/rpm-build/build-egw-rpms.sh Tue Jul 22 14:02:33 20=
08
@@ -1,23 +1,23 @@
-#! /bin/bash
+#!/bin/bash -x

This script work for generating rpms without Root rights

-# When you create rmp’s with Root rights and you have as example =

+# When you create rmp’s with Root rights and you have as example

the follow command rm -rf / in your script you are in trouble :slight_smile:

Change the path names for ANONCVSDIR and RHBASE to you needs.

-# =

+#

When you would create daily rpm’s with update from CVS include

delete the # sign at the start from the follow lines

-# =

+#

cd $ANONCVSDIR

cvs update -Pd

This scipt create auotmaticly signed rpm’s

When you don’t want signed rpm’s change the follow line from

rpmbuild -bb --sign egroupware-rh.spec >> $LOGFILE 2>&1

-# =

+#

to

rpmbuild -bb egroupware-rh.spec >> $LOGFILE 2>&1

-# =

+#

in the script

How to create GPG keys to sign your rpm’s you will found in a seperate

Document

@@ -26,23 +26,14 @@

Script changed 2005 Apr 15 by Ralf Becker and Wim Bonis

2005 Sep 20 Ralf Becker: disabled fedora 2 build

=

-SVNURL=3D"http://svn.egroupware.org/egroupware/branches/1.4/"
-# 1.4 BETA 1
-#SVNREVISION=3D"23355"
-# 1.4 BETA 2
-#SVNREVISION=3D"23439"
-# 1.4 BETA 3
-#SVNREVISION=3D"23465"
-# 1.4 BETA 5
-#SVNREVISION=3D"23743"
-# 1.4.001 final
-#SVNREVISION=3D"24012"
+#SVNURL=3D"http://svn.egroupware.org/egroupware/branches/1.6/"
+#SVNURL=3D"http://svn.egroupware.org/egroupware/tags/1.6pre1/"
+SVNURL=3D"http://svn.egroupware.org/egroupware/trunk/"

-SPECFILE=3D"egroupware-1.4.spec"
+SPECFILE=3D"egroupware-1.6.spec"
SOURCEFILES=3D"egroupware_fedora.tar.bz2 egroupware_suse.tar.bz2 managehea=
der.php.patch class.uiasyncservice.inc.php.patch"

-#CONTRIB=3D"jinn workflow messenger egwical icalsrv gallery"
-CONTRIB=3D"icalsrv gallery"
+CONTRIB=3D"gallery icalsrv mydms"
EXTRAPACKAGES=3D"egw-pear $CONTRIB"
for p in $EXTRAPACKAGES
do
@@ -53,7 +44,7 @@
PACKAGENAME=3Dgrep "%define packagename" $SPECFILE | cut -f3 -d' '
VERSION=3Dgrep "%define egwversion" $SPECFILE | cut -f3 -d' '
PACKAGING=3Dgrep "%define packaging" $SPECFILE | cut -f3 -d' '

  •                                                                      =
                                                 =
    

HOMEBUILDDIR=3Dwhoami
ANONCVSDIR=3D/tmp/build_root/egw_buildroot-svn
NOSVNDIR=3D/tmp/build_root/egw_buildroot
@@ -72,8 +63,6 @@
echo “” >> $LOGFILE 2>&1
date >> $LOGFIL=
E 2>&1
cd $ANONCVSDIR

  • =

-#[ “$CVSACCOUNT” =3D ‘pserver:anonymous’ ] && CVS_RSH=3D"ssh" cvs -d:$CVSA=
CCOUNT@cvs.sourceforge.net:/cvsroot/egroupware login

if [ ! -d egroupware/phpgwapi ] # new checkout
then
@@ -84,7 +73,7 @@
echo -n “Creating a new checkout for revision $SVNREVISION … " >> $LOG=
FILE 2>&1
svn checkout -r $SVNREVISION $SVNURL"aliases/default” ./
fi

  • =
  • cd egroupware
    for CONTRIBMODULE in $CONTRIB; do
    if [ -z “$CONTRIB_SVNREVISION” ]; then
    @@ -95,7 +84,8 @@
    done
    else # updating an existing checkout in the build-root
    echo -n "Updating existing checkout … " >> $LOGFILE 2>&1
  • svn update -r HEAD
  • cd egroupware
  • svn update -r HEAD . *
    fi
    =

cd $ANONCVSDIR
@@ -103,55 +93,30 @@
echo “done” >> $LOGFILE 2>&1

echo -n "Change directory rights back … " >> $LOGFILE 2>&1
-find . -type d -exec chmod 775 {} ;
+find . -type d -exec chmod 755 {} ;
find . -type f -exec chmod 644 {} ;
echo “done” >> $LOGFILE 2>&1

echo -n "Starting anti virus scan … " >> $LOGFILE 2>&1
-#test -x /usr/bin/clamscan && /usr/bin/clamscan --quiet -r $ANONCVSDIR --l=
og=3D$VIRUSSCAN
+test -x /usr/bin/clamscan && /usr/bin/clamscan --quiet -r $ANONCVSDIR --lo=
g=3D$VIRUSSCAN
echo “done” >> $LOGFILE 2>&1

rm -rf $NOSVNDIR/egroupware
cp -ra $ANONCVSDIR/egroupware $NOSVNDIR
find $NOSVNDIR -name .svn | xargs rm -rf

-cd $ANONCVSDIR
+cd $NOSVNDIR
echo -n "building tar.gz … " >> $LOGFILE 2>&1
-tar czf $SRCDIR/$PACKAGENAME-$VERSION.$PACKAGING-svn.tar.gz $EXCLUDE_CONTR=
IB egroupware 2>&1 | tee -a $LOGFILE
+tar --owner=3Droot --group=3Droot -czf $SRCDIR/$PACKAGENAME-$VERSION.$PACK=
AGING.tar.gz $EXCLUDE_CONTRIB egroupware 2>&1 | tee -a $LOGFILE
for CONTRIBMODULE in $EXTRAPACKAGES; do

  • tar czf $SRCDIR/$PACKAGENAME-$CONTRIBMODULE-$VERSION.$PACKAGING-svn.tar.g=
    z egroupware/$CONTRIBMODULE >> $LOGFILE 2>&1
  • tar --owner=3Droot --group=3Droot -czf $SRCDIR/$PACKAGENAME-$CONTRIBMODUL=
    E-$VERSION.$PACKAGING.tar.gz egroupware/$CONTRIBMODULE >> $LOGFILE 2>&1
    done
    echo “done” >> $LOGFILE 2>&1
    =

echo -n "building tar.bz2 … " >> $LOGFILE 2>&1
-tar cjf $SRCDIR/$PACKAGENAME-$VERSION.$PACKAGING-svn.tar.bz2 $EXCLUDE_CONT=
RIB egroupware >> $LOGFILE 2>&1
+tar --owner=3Droot --group=3Droot -cjf $SRCDIR/$PACKAGENAME-$VERSION.$PACK=
AGING.tar.bz2 $EXCLUDE_CONTRIB egroupware >> $LOGFILE 2>&1
for CONTRIBMODULE in $EXTRAPACKAGES; do

  • tar cjf $SRCDIR/$PACKAGENAME-$CONTRIBMODULE-$VERSION.$PACKAGING-svn.tar.b=
    z2 egroupware/$CONTRIBMODULE >> $LOGFILE 2>&1
    -done
    -echo “done” >> $LOGFILE 2>&1

-echo -n "building zip … " >> $LOGFILE 2>&1
-find $ONLY_CONTRIB > /tmp/exclude.list
-zip -q -r -9 $SRCDIR/$PACKAGENAME-$VERSION.$PACKAGING-svn.zip egroupware -=
x@/tmp/exclude.list >> $LOGFILE 2>&1
-for CONTRIBMODULE in $EXTRAPACKAGES; do

  • zip -q -r -9 $SRCDIR/$PACKAGENAME-$CONTRIBMODULE-$VERSION.$PACKAGING-svn.=
    zip egroupware/$CONTRIBMODULE >> $LOGFILE 2>&1
    -done
    -echo “done” >> $LOGFILE 2>&1

-echo “Building tar.gz, tar.bz and zip archives with svn finnished” >> $=
LOGFILE 2>&1

-cd $NOSVNDIR
-echo -n "building tar.gz … " >> $LOGFILE 2>&1
-tar czf $SRCDIR/$PACKAGENAME-$VERSION.$PACKAGING.tar.gz $EXCLUDE_CONTRIB e=
groupware 2>&1 | tee -a $LOGFILE
-for CONTRIBMODULE in $EXTRAPACKAGES; do

  • tar czf $SRCDIR/$PACKAGENAME-$CONTRIBMODULE-$VERSION.$PACKAGING.tar.gz eg=
    roupware/$CONTRIBMODULE >> $LOGFILE 2>&1
    -done
    -echo “done” >> $LOGFILE 2>&1

-echo -n "building tar.bz2 … " >> $LOGFILE 2>&1
-tar cjf $SRCDIR/$PACKAGENAME-$VERSION.$PACKAGING.tar.bz2 $EXCLUDE_CONTRIB =
egroupware >> $LOGFILE 2>&1
-for CONTRIBMODULE in $EXTRAPACKAGES; do

  • tar cjf $SRCDIR/$PACKAGENAME-$CONTRIBMODULE-$VERSION.$PACKAGING.tar.bz2 e=
    groupware/$CONTRIBMODULE >> $LOGFILE 2>&1
  • tar --owner=3Droot --group=3Droot -cjf $SRCDIR/$PACKAGENAME-$CONTRIBMODUL=
    E-$VERSION.$PACKAGING.tar.bz2 egroupware/$CONTRIBMODULE >> $LOGFILE 2>&1
    done
    echo “done” >> $LOGFILE 2>&1
    =

@@ -165,44 +130,12 @@

echo “Building tar.gz, tar.bz and zip archives finnished” >> $LOGFILE 2=

&1
=

-# we are no longer building extra signed source files, only a singed md5su=
m file
-#
-# echo “Create the md5sum file for tar.gz, tar.bz, zip ($MD5SUM)” >> $L=
OGFILE 2>&1
-# echo “Build signed source files” >> $LOGFILE 2>&1
-# echo “---------------------------------------” >> $LOGF=
ILE 2>&1
-# =

-# FILENAMES=3D"eGroupWare"
-# for FILENAME in $EXTRAPACKAGES; do
-# FILENAMES=3D"$FILENAMES eGroupWare-$FILENAME"
-# done
-# =

-# echo “FILENAMES: $FILENAMES”
-# =

-# for EXTENSION in -svn.tar.bz2 -svn.tar.gz -svn.zip .tar.bz2 .tar.gz .zip=
; do
-# for f in $FILENAMES; do
-# PACKAGENAME=3D$f-$VERSION.$PACKAGING$EXTENSION
-# echo “md5sum from file $PACKAGENAME is:” >> $MD5SUM =

-# md5sum $SRCDIR/$PACKAGENAME | cut -f1 -d’ ’ >> $MD5SUM 2>&1
-# echo “---------------------------------------” >> $MD5S=
UM 2>&1
-# echo " " >> $MD5SUM 2>&1
-# =

-# echo “Build signed source files” >> $LOGFILE 2>&1
-# rm -f $SRCDIR/$PACKAGENAME.gpg >> $LOGFILE 2>&1
-# gpg --local-user packager@egroupware.org -s $SRCDIR/$PACKAGENAME >> $=
LOGFILE 2>&1
-# done
-# done
-# echo “------------------------------------------” >> $LO=
GFILE 2>&1
-# echo “End Build md5sum of tar.gz, tar.bz, zip” >> $LOGF=
ILE 2>&1
-# echo “End build of signed of tar.gz, tar.bz, zip” >> $LOGF=
ILE 2>&1
-# echo “------------------------------------------” >> $LO=
GFILE 2>&1

echo “------------------------------------------” >> $LOG=
FILE 2>&1
echo “Create the md5sum file for tar.gz, tar.bz, zip ($MD5SUM)” >> $LOG=
FILE 2>&1
echo “------------------------------------------” >> $LOG=
FILE 2>&1

-# cleaner md5sum file, the old one gave me a headache :wink:
cd $SRCDIR
-for f in eGroupWare-$VERSION.$PACKAGING.*
+for f in eGroupware*-$VERSION.$PACKAGING.*
do
md5sum $f >> $MD5SUM 2>&1
done

Copied: trunk/egroupware/doc/rpm-build/egroupware-1.6.spec (from r25725, tr=
unk/egroupware/doc/rpm-build/egroupware-1.4.spec)
URL: http://www.egroupware.org/viewvc/trunk/egroupware/doc/rpm-build/egroup=
ware-1.6.spec?p2=3Dtrunk/egroupware/doc/rpm-build/egroupware-1.6.spec&p1=3D=
trunk/egroupware/doc/rpm-build/egroupware-1.4.spec&r1=3D25725&r2=3D25739&re=
v=3D25739&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/egroupware/doc/rpm-build/egroupware-1.4.spec (original)
+++ trunk/egroupware/doc/rpm-build/egroupware-1.6.spec Tue Jul 22 14:02:33 =
2008
@@ -1,20 +1,56 @@
-%define packagename eGroupWare
+%define packagename eGroupware
%define egwdirname egroupware
-%define egwversion 1.3
-%define packaging 021
+%define egwversion 1.6
+%define packaging pre1
#%define epoch 1
%if 0%{?suse_version}
%define httpdroot /srv/www/htdocs
%define httpdconfd /etc/apache2/conf.d
%define source5 egroupware_suse.tar.bz2
%define distribution SUSE Linux %{?suse_version}

  • %define php php5
  • %define extra_requires apache2-mod_php5
  • %define cron cron
    %endif
    %if 0%{?fedora_version}
    %define httpdroot /var/www/html
    %define httpdconfd /etc/httpd/conf.d
    %define osversion %{?fedora_version}
    %define source5 egroupware_fedora.tar.bz2
  • %define distribution Fedora Core %{?suse_version}
  • %define distribution Fedora Core %{?fedora_version}
  • %define php php
  • %define extra_requires httpd
  • %define cron crontabs
    +%endif
    +%if 0%{?mandriva_version}
  • %define httpdroot /var/www/html
  • %define httpdconfd /etc/httpd/conf.d
  • %define osversion %{?mandriva_version}
  • %define source5 egroupware_fedora.tar.bz2
  • %define distribution Mandriva %{?mandriva_version}
  • %define php php
  • %define extra_requires httpd
  • %define cron crontabs
    +%endif
    +%if 0%{?rhel_version}
  • %define httpdroot /var/www/html
  • %define httpdconfd /etc/httpd/conf.d
  • %define osversion %{?rhel_version}
  • %define source5 egroupware_fedora.tar.bz2
  • %define distribution Red Head %{?rhel_version}
  • %define php php
  • %define extra_requires httpd
  • %define cron crontabs
    +%endif
    +%if 0%{?centos_version}
  • %define httpdroot /var/www/html
  • %define httpdconfd /etc/httpd/conf.d
  • %define osversion %{?centos_version}
  • %define source5 egroupware_fedora.tar.bz2
  • %define distribution CentOS %{?centos_version}
  • %define php php
  • %define extra_requires httpd
  • %define cron crontabs
    %endif
    =

%define addressbook addressbook
@@ -23,16 +59,16 @@
%define developer_tools developer_tools
%define egw-pear egw-pear
%define emailadmin emailadmin
-%define egwical egwical
%define felamimail felamimail
%define filemanager filemanager
%define gallery gallery
%define icalsrv icalsrv
%define infolog infolog
+%define importexport importexport
%define manual manual
-%define messenger messenger
%define mydms mydms
%define news_admin news_admin
+%define notifications notifications
%define phpbrain phpbrain
%define phpsysinfo phpsysinfo
%define polls polls
@@ -50,58 +86,62 @@
Version: %{egwversion}.%{packaging}
Release:
#Epoch: %{epoch}
-Summary: eGroupWare is a web-based groupware suite written in php.
+Summary: eGroupware is a web-based groupware suite written in php.
Distribution: %{distribution}

  •                                                                      =
                                                 =
    

Group: Web/Database
License: GPL/LGPL
URL: http://www.egroupware.org/
Source0: %{packagename}-%{egwversion}.%{packaging}.tar.bz2
Source1: %{packagename}-egw-pear-%{egwversion}.%{packaging}.tar.bz2
Source2: %{packagename}-icalsrv-%{egwversion}.%{packaging}.tar.bz2
-Source3: %{packagename}-egwical-%{egwversion}.%{packaging}.tar.bz2
+Source3: %{packagename}-mydms-%{egwversion}.%{packaging}.tar.bz2
Source4: %{packagename}-gallery-%{egwversion}.%{packaging}.tar.bz2
Source5: %{?source5}
#Patch0: manageheader.php.patch
-#Patch1: class.uiasyncservice.inc.php.patch
+Patch1: class.uiasyncservice.inc.php.patch
BuildRoot: /tmp/%{packagename}-buildroot
-Requires: php5 php5-mbstring php5-imap php5-gd apache2-mod_php5 php5-pear =
cron
+Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{extra=
_requires} %{cron} %{packagename}-egw-pear =3D %{egwversion}.%{packaging}
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} %{packagen=
ame}-%{mydms} %{packagename}-%{news_admin} %{packagename}-%{phpbrain} %{pac=
kagename}-%{polls} %{packagename}-%{projectmanager} %{packagename}-%{regist=
ration} %{packagename}-%{resources} %{packagename}-%{sambaadmin} %{packagen=
ame}-%{sitemgr} %{packagename}-%{syncml} %{packagename}-%{timesheet} %{pack=
agename}-%{wiki}

  •                                                                      =
                                                 =
    

+Conflicts: %{packagename}-core %{packagename}-%{addressbook} %{packagename=
}-%{bookmarks} %{packagename}-%{calendar} %{packagename}-%{developer_tools}=
%{packagename}-%{emailadmin} %{packagename}-%{felamimail} %{packagename}-%=
{filemanager} %{packagename}-%{infolog} %{packagename}-%{importexport} %{pa=
ckagename}-%{manual} %{packagename}-%{news_admin} %{packagename}-%{notifica=
tions} %{packagename}-%{phpbrain} %{packagename}-%{polls} %{packagename}-%{=
projectmanager} %{packagename}-%{registration} %{packagename}-%{resources} =
%{packagename}-%{sambaadmin} %{packagename}-%{sitemgr} %{packagename}-%{syn=
cml} %{packagename}-%{timesheet} %{packagename}-%{wiki}
+Obsoletes: %{packagename}-%{icalsrv}
+
Prefix: /usr/share
Buildarch: noarch
AutoReqProv: no

  •                                                                      =
                                                 =
    

-Vendor: eGroupWare
-Packager: Lars Kneschke l.kneschke@metaways.de
+
+Vendor: eGroupware
+Packager: Ralf Becker RalfBecker@outdoor-training.de

%description
-eGroupWare is a web-based groupware suite written in PHP. =

-This package provides the eGroupWare default applications:

-egroupware core with: admin, api, docs, etemplate, prefereces and setup, =

-addressbook, bookmarks, calendar, translation-tools, emailadmin, felamimai=
l, =

-filemanager, infolog, manual, mydms, news admin, knowledgebase, polls, =

-projectmanager, resources, sambaadmin, sitemgr, syncml, timesheet, wiki, w=
orkflow

-It also provides an API for developing additional applications. =

+eGroupware is a web-based groupware suite written in PHP.
+
+This package provides the eGroupware default applications:
+
+egroupware core with: admin, api, docs, etemplate, prefereces and setup,
+addressbook, bookmarks, calendar, translation-tools, emailadmin, felamimai=
l,
+filemanager, infolog, manual, news admin, knowledgebase, polls,
+projectmanager, resources, sambaadmin, sitemgr, syncml, timesheet, tracker=
, wiki
+
+It also provides an API for developing additional applications.

Further contributed applications are avalible in single packages.

%package core
-Summary: The eGroupWare contrib package
-Group: Web/Database
-Requires: php5 php5-mbstring php5-imap php5-gd php5-pear apache2-mod_php5 =
cron
+Summary: The eGroupware contrib package
+Group: Web/Database
Provides: egw-core
Conflicts: %{packagename}
%description core
-This package provides the eGroupWare contrib applications.
+This package provides the eGroupware core applications.
+%post core
+%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}

  • chcon “user_u:object_r:httpd_sys_content_t” /var/lib/egroupware -Rc
    +%endif
    =

%package %{addressbook}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{addressbook} application
+Summary: The eGroupware %{addressbook} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
@@ -109,241 +149,237 @@
Provides: egw-%{addressbook}
%description %{addressbook}
Contact manager with Vcard support.
-%{addressbook} is the egroupware default contact application.
-It makes use of the egroupware contacts class to store and retrieve =

-contact information via SQL, LDAP or Active Directory.
+%{addressbook} is the egroupware contact application.
+It has different backends to store and retrive contacts
+from SQL or LDAP.

%package %{bookmarks}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{bookmarks} application
+Summary: The eGroupware %{bookmarks} application
Group: Web/Database
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{bookmarks}
-Manage your bookmarks with eGroupWare. Has Netscape plugin.
+Manage your bookmarks with eGroupware. Has Netscape plugin.

%package %{calendar}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{calendar} application
+Summary: The eGroupware %{calendar} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{calendar}
-Powerful calendar with meeting request system, Alarms, ICal and E-Mail sup=
port, =

+Powerful calendar with meeting request system, Alarms, ICal and E-Mail sup=
port,
and ACL security.

%package %{developer_tools}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{developer_tools} application
+Summary: The eGroupware %{developer_tools} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{developer_tools}
-The TranslationTools allow to create and extend translations-files for eGr=
oupWare. =

-They can search the sources for new / added phrases and show you the ones =
missing in your language. =

+The TranslationTools allow to create and extend translations-files for eGr=
oupware.
+They can search the sources for new / added phrases and show you the ones =
missing in your language.

%package egw-pear
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare egw-pear application
-Group: Web/Database
+Summary: The eGroupware egw-pear application
+Group: Web/Database
+Requires: %{php}-pear
#Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description egw-pear
-egw-pear contains the pear classes modified to work with eGroupWare
+egw-pear contains modified pear classes necessary for eGroupware

%package %{emailadmin}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{emailadmin} application
+Summary: The eGroupware %{emailadmin} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, %{packagename}-egw-pear=
=3D %{egwversion}.%{packaging}, php-openssl
%description %{emailadmin}
-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 =3D %{egwversion}.%{packaging} =

-%description %{egwical}
-This is the %{egwical} app for eGroupWare.
+EmailAdmin allow to maintain User email accounts

%package %{felamimail}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{felamimail} application
+Summary: The eGroupware Webmail application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, %{packagename}-%{emaila=
dmin} =3D %{egwversion}.%{packaging}, %{packagename}-egw-pear =3D %{egwvers=
ion}.%{packaging}
%description %{felamimail}
-The %{felamimail} Email Reader is a other Email application for eGroupWare.
+The Email application for eGroupware.

%package %{filemanager}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{filemanager} application
+Summary: The eGroupware %{filemanager} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, egw-pear =3D %{egwversi=
on}.%{packaging}
%description %{filemanager}
-This is the %{filemanager} app for eGroupWare.
+This is the %{filemanager} app for eGroupware.

%package %{gallery}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{gallery} application
+Summary: The eGroupware %{gallery} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, egw-pear =3D %{egwversi=
on}.%{packaging}
%description %{gallery}
-This is the %{gallery} app for eGroupWare.

-#%package %{headlines}
-#Version: %{egwversion}.%{packaging}
-#Summary: The eGroupWare %{headlines} application
-#Group: Web/Database
-#AutoReqProv: no
-#Requires: egw-core =3D %{egwversion}.%{packaging} =

-#%description %{headlines}
-#This is the %{headlines} app for eGroupWare.
+An embedded Gallery2 for eGroupware.

%package %{icalsrv}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{icalsrv} application
-Group: Web/Database
-AutoReqProv: no
-Requires: egw-core =3D %{egwversion}.%{packaging} =

+Summary: The eGroupware %{icalsrv} application
+Group: Web/Database
+AutoReqProv: no
+Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{icalsrv}
-This is the %{icalsrv} app for eGroupWare.
+This is the old %{icalsrv} app for eGroupware.
+It is NOT necessary for GroupDAV, CalDAV or CardDAV,
+which is build into the eGroupware core.

%package %{infolog}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{infolog} application
+Summary: The eGroupware %{infolog} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, egw-%{etemplate} =3D %{=
egwversion}.%{packaging}
%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 =3D %{egwversion}.%{packaging}, egw-%{etemplate} =3D %{=
egwversion}.%{packaging}
+%description %{importexport}
+This is the %{importexport} app for eGroupware. It includes a comandline c=
lient.

#%package %{jinn}
#Version: %{egwversion}.%{packaging}
-#Summary: The eGroupWare %{jinn} application
+#Summary: The eGroupware %{jinn} application
#Group: Web/Database
#AutoReqProv: no
#Requires: egw-core =3D %{egwversion}.%{packaging}
#%description %{jinn}
-#The %{jinn} app is a multi-site, multi-database, multi-user/-group, datab=
ase driven Content Management System written in and for the eGroupWare Fram=
ework.
+#The %{jinn} app is a multi-site, multi-database, multi-user/-group, datab=
ase driven Content Management System written in and for the eGroupware Fram=
ework.

%package %{manual}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{manual} application
+Summary: The eGroupware %{manual} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{manual}
-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 =3D %{egwversion}.%{packaging} =

-#%description %{messenger}
-#This is the %{messenger} app for eGroupWare.
+This is the %{manual} app for eGroupware: online help system.

%package %{mydms}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{mydms} application
+Summary: The eGroupware %{mydms} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, egw-pear =3D %{egwversi=
on}.%{packaging}
%description %{mydms}
-This is a %{mydms} port to eGroupWare.
+This is a %{mydms} port to eGroupware.

%package %{news_admin}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{news_admin} application
-Group: Web/Database
-Conflicts: %{packagename}
-AutoReqProv: no
-Requires: egw-core =3D %{egwversion}.%{packaging} =

+Summary: The eGroupware %{news_admin} application
+Group: Web/Database
+Conflicts: %{packagename}
+AutoReqProv: no
+Requires: egw-core =3D %{egwversion}.%{packaging}
%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 =3D %{egwversion}.%{packaging}
+%description %{notifications}
+This is the %{notifications} app for eGroupware.

%package %{phpbrain}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{phpbrain} application
+Summary: The eGroupware %{phpbrain} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, %{packagename}-%{addres=
sbook} =3D %{egwversion}.%{packaging}
%description %{phpbrain}
-This is the %{phpbrain} app for eGroupWare.
+This is the %{phpbrain} app for eGroupware.

%package %{phpsysinfo}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{phpsysinfo} application
+Summary: The eGroupware %{phpsysinfo} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{phpsysinfo}
-This is the %{phpsysinfo} app for eGroupWare.
+This is the %{phpsysinfo} app for eGroupware.

%package %{polls}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{polls} application
+Summary: The eGroupware %{polls} application
Group: Web/Database
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{polls}
-This is the %{polls} app for eGroupWare.
+This is the %{polls} app for eGroupware.

%package %{projectmanager}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{projectmanager} application
+Summary: The eGroupware %{projectmanager} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging},
%description %{projectmanager}
-The %{projectmanager} is eGroupWare’s new project management application.
-It’s fully integrated into eGroupWare and use the data of InfoLog and Cale=
ndar.
+The %{projectmanager} is eGroupware’s new project management application.
+It’s fully integrated into eGroupware and use the data of InfoLog and Cale=
ndar.
Plugable datasources allow to support and manage further applications.

%package %{registration}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{registration} application
+Summary: The eGroupware %{registration} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{registration}
-This is the %{registration} app for eGroupWare.
+This is the %{registration} app for eGroupware.

%package %{resources}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{resources} application
+Summary: The eGroupware %{resources} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{resources}
-%{resources} is a resource booking sysmtem for eGroupWare.
+%{resources} is a resource booking sysmtem for eGroupware.
Which integrates into the calendar.

%package %{sambaadmin}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{sambaadmin} application
+Summary: The eGroupware %{sambaadmin} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
@@ -353,63 +389,63 @@

%package %{sitemgr}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare Sitemanager CMS application
+Summary: The eGroupware Sitemanager CMS application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{sitemgr}
-This is the Sitemanager CMS app for eGroupWare.
+This is the Sitemanager CMS app for eGroupware.

%package %{syncml}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{syncml} application
+Summary: The eGroupware %{syncml} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}, php >=3D 5.0.0
%description %{syncml}
-This is the %{syncml} app for eGroupWare.
+This is the %{syncml} app for eGroupware.

%package %{timesheet}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare timesheet application
+Summary: The eGroupware timesheet application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{timesheet}
Simple timesheet application, which allow to record and report
-the times and other expenses. It can be uses as well standalone =

+the times and other expenses. It can be uses as well standalone
as together with the ProjectManager application.

%package %{tracker}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare trouble ticket system application
+Summary: The eGroupware trouble ticket system application
Group: Web/Database
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging}
%description %{tracker}
-This is the trouble ticket system app for eGroupWare.
+This is the trouble ticket system app for eGroupware.

%package %{wiki}
Version: %{egwversion}.%{packaging}
-Summary: The eGroupWare %{wiki} application
+Summary: The eGroupware %{wiki} application
Group: Web/Database
Conflicts: %{packagename}
AutoReqProv: no
Requires: egw-core =3D %{egwversion}.%{packaging},
%description %{wiki}
-This is the %{wiki} app for eGroupWare.
+This is the %{wiki} app for eGroupware.

#%package %{workflow}
#Version: %{egwversion}.%{packaging}
-#Summary: The eGroupWare %{workflow} application
+#Summary: The eGroupware %{workflow} application
#Group: Web/Database
#AutoReqProv: no
#Requires: egw-core =3D %{egwversion}.%{packaging},
#%description %{workflow}
-#This is the %{workflow} app for eGroupWare.
+#This is the %{workflow} app for eGroupware.

%prep
%setup0 -c -n %{egwdirname}
@@ -419,7 +455,7 @@
%setup4 -T -D -a 4 -n %{egwdirname}
%setup5 -T -D -a 5 -n %{egwdirname}
#%patch0 -p 0
-#%patch1 -p 0
+%patch1 -p 0

%build

@@ -430,7 +466,6 @@
cp -aRf egroupware/* $RPM_BUILD_ROOT%{prefix}/%{egwdirname}

rm -f $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/.htaccess
-rm -rf $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/debian
rm -rf $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/switchuser
rm -rf $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/skel
rm -rf $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/soap
@@ -449,6 +484,9 @@
[ “%{buildroot}” !=3D “/” ] && rm -rf %{buildroot}

%post
+%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version}

  • chcon “user_u:object_r:httpd_sys_content_t” /var/lib/egroupware -Rc
    +%endif
    %postun
    =

%files
@@ -471,7 +509,9 @@
%{prefix}/%{egwdirname}/soap.php
%{prefix}/%{egwdirname}/xajax.php
%{prefix}/%{egwdirname}/xmlrpc.php
-%{prefix}/%{egwdirname}/icalsrv.php
+%{prefix}/%{egwdirname}/svn-helper.php
+%{prefix}/%{egwdirname}/webdav.php
+%{prefix}/%{egwdirname}/groupdav.php
%{prefix}/%{egwdirname}/admin
%{prefix}/%{egwdirname}/doc
%{prefix}/%{egwdirname}/etemplate
@@ -486,10 +526,13 @@
%{prefix}/%{egwdirname}/emailadmin
%{prefix}/%{egwdirname}/felamimail
%{prefix}/%{egwdirname}/filemanager
+%{prefix}/%{egwdirname}/icalsrv
%{prefix}/%{egwdirname}/infolog
+%{prefix}/%{egwdirname}/importexport
%{prefix}/%{egwdirname}/manual
%{prefix}/%{egwdirname}/mydms
%{prefix}/%{egwdirname}/news_admin
+%{prefix}/%{egwdirname}/notifications
%{prefix}/%{egwdirname}/phpbrain
%{prefix}/%{egwdirname}/phpsysinfo
%{prefix}/%{egwdirname}/polls
@@ -512,7 +555,14 @@
%dir %attr(0755,wwwrun,www) /var/lib/egroupware/sessions
%config %attr(0640,wwwrun,www) /var/lib/egroupware/header.inc.php
%endif
-%if 0%{?fedora_version}
+%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_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
    +%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
    @@ -540,7 +590,8 @@
    %{prefix}/%{egwdirname}/soap.php
    %{prefix}/%{egwdirname}/xajax.php
    %{prefix}/%{egwdirname}/xmlrpc.php
    -%{prefix}/%{egwdirname}/icalsrv.php
    +%{prefix}/%{egwdirname}/groupdav.php
    +%{prefix}/%{egwdirname}/webdav.php
    %{prefix}/%{egwdirname}/admin
    %{prefix}/%{egwdirname}/doc
    %{prefix}/%{egwdirname}/etemplate
    @@ -557,13 +608,20 @@
    %dir %attr(0755,wwwrun,www) /var/lib/egroupware/sessions
    %config %attr(0640,wwwrun,www) /var/lib/egroupware/header.inc.php
    %endif
    -%if 0%{?fedora_version}
    +%if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_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
    +%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}
%defattr(-,root,root)
@@ -573,10 +631,6 @@
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{calendar}

-#%files %{chatty}
-#%defattr(-,root,root)
-#%{prefix}/%{egwdirname}/%{chatty}

%files %{developer_tools}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{developer_tools}
@@ -589,10 +643,6 @@
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{emailadmin}

-%files %{egwical}
-%defattr(-,root,root)
-%{prefix}/%{egwdirname}/%{egwical}

%files %{felamimail}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{felamimail}
@@ -605,10 +655,6 @@
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{gallery}

-#%files %{headlines}
-#%defattr(-,root,root)
-#%{prefix}/%{egwdirname}/%{headlines}

%files %{icalsrv}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{icalsrv}
@@ -616,6 +662,10 @@
%files %{infolog}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{infolog}
+
+%files %{importexport}
+%defattr(-,root,root)
+%{prefix}/%{egwdirname}/%{importexport}

#%files %{jinn}
#%defattr(-,root,root)
@@ -625,10 +675,6 @@
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{manual}

-#%files %{messenger}
-#%defattr(-,root,root)
-#%{prefix}/%{egwdirname}/%{messenger}

%files %{mydms}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{mydms}
@@ -636,6 +682,10 @@
%files %{news_admin}
%defattr(-,root,root)
%{prefix}/%{egwdirname}/%{news_admin}
+
+%files %{notifications}
+%defattr(-,root,root)
+%{prefix}/%{egwdirname}/%{notifications}

%files %{phpbrain}
%defattr(-,root,root)
@@ -687,8 +737,17 @@

=

%changelog
-* Mon Apr 30 2007 Lars Kneschke l.kneschke@metaways.de 1.3-021
– eGroupWare 1.4 Beta 5

-* Mon Apr 16 2007 Lars Kneschke l.kneschke@metaways.de 1.3-019
– eGroupWare 1.4 Beta 4
+* Tue Jul 22 2008 Ralf Becker RalfBecker@outdoor-training.de 1.6.pre1
± eGroupware 1.6.pre1 first preview of upcomming 1.6 release
+
+* Mon Apr 15 2008 Ralf Becker RalfBecker@outdoor-training.de 1.4.004
± eGroupware 1.4.004 FCKeditor update (2.6) & security release
+
+* Mon Mar 19 2008 Ralf Becker RalfBecker@outdoor-training.de 1.4.003
± eGroupware 1.4.003 security & maintainace release
+
+* Mon Sep 24 2007 Ralf Becker RalfBecker@outdoor-training.de 1.4.002
± eGroupware 1.4.002 bugfix & maintainace release
+
+* Mon Jun 4 2007 Ralf Becker RalfBecker@outdoor-training.de 1.4.001
± final eGroupware 1.4 release

Propchange: trunk/egroupware/doc/rpm-build/egroupware-1.6.spec
---------------------------------------------------------------------------=

svn:mergeinfo =3D =

This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs