release script and spec-files for 1.2 - thought they still need some work

This commit is contained in:
Ralf Becker 2005-11-15 01:56:12 +00:00
parent e9381364ef
commit 4860925084
5 changed files with 997 additions and 958 deletions

View File

@ -18,16 +18,28 @@
# to # to
# rpmbuild -bb egroupware-rh.spec >> $LOGFILE 2>&1 # rpmbuild -bb egroupware-rh.spec >> $LOGFILE 2>&1
# #
# in the sript # in the script
# How to create GPG keys to sign your rpm's you will found in a seperate # How to create GPG keys to sign your rpm's you will found in a seperate
# Document # Document
# #
# Script changed 2004 May 21 Reiner Jung # Script changed 2004 May 21 Reiner Jung
# Script changed 2005 Apr 15 by Ralf Becker and Wim Bonis
# 2005 Sep 20 Ralf Becker: disabled fedora 2 build
SPECFILE=egroupware.spec #BRANCH="-r Version-1_2-branch"
SPECFILE2=egroupware-allapp.spec BRANCH=-A
SPECFILE=egroupware-apps.spec
SPECFILE2=egroupware.spec
SPECFILEFEDORA=egroupware-fedora.spec SPECFILEFEDORA=egroupware-fedora.spec
CONTRIB="backup browser comic email filescenter forum ftp fudforum headlines messenger phpldapadmin phpsysinfo projects registration stocks switchuser tts skel soap xmlrpc"
for p in $CONTRIB
do
EXCLUDE_CONTRIB="$EXCLUDE_CONTRIB --exclude=egroupware/$p"
ONLY_CONTRIB="$ONLY_CONTRIB egroupware/$p"
done
#### ####
# #
@ -42,10 +54,13 @@ PACKAGING=`grep "%define packaging" $SPECFILE | cut -f3 -d' '`
PACKAGINGFEDORA=`grep "Release:" $SPECFILEFEDORA | cut -f2 -d' '` PACKAGINGFEDORA=`grep "Release:" $SPECFILEFEDORA | cut -f2 -d' '`
HOMEBUILDDIR=`whoami` HOMEBUILDDIR=`whoami`
ANONCVSDIR=/build_root/egroupware #which account to use for checkouts and updates, after that the tree is made anonymous anyway, to allow users to update
ANONCVSDIRFEDORA=/build_root/fedora CVSACCOUNT=ext:ralfbecker
ANONCVSDIRFEDORABUILD=/build_root/fedora/egroupware #CVSACCOUNT=pserver:anonymous
RHBASE=/home/$HOMEBUILDDIR/redhat ANONCVSDIR=/tmp/build_root/egroupware
ANONCVSDIRFEDORA=/tmp/build_root/fedora
ANONCVSDIRFEDORABUILD=/tmp/build_root/fedora/egroupware
RHBASE=$HOME/rpm
SRCDIR=$RHBASE/SOURCES SRCDIR=$RHBASE/SOURCES
SPECDIR=$RHBASE/SPECS SPECDIR=$RHBASE/SPECS
LOGFILE=$SPECDIR/build-$PACKAGENAME-$VERSION-$PACKAGING.log LOGFILE=$SPECDIR/build-$PACKAGENAME-$VERSION-$PACKAGING.log
@ -57,84 +72,114 @@ MD5SUM=$SRCDIR/md5sum-$PACKAGENAME-$VERSION-$PACKAGING.txt
MD5SUMFEDORA=$SRCDIR/md5sum-$PACKAGENAMEFEDORA-$VERSIONFEDORA.$PACKAGINGFEDORA.txt MD5SUMFEDORA=$SRCDIR/md5sum-$PACKAGENAMEFEDORA-$VERSIONFEDORA.$PACKAGINGFEDORA.txt
echo "Start Build Process of - $PACKAGENAME $VERSION" > $LOGFILE
mkdir -p $RHBASE/SOURCES $RHBASE/SPECS $RHBASE/BUILD $RHBASE/SRPMS $RHBASE/RPMS $ANONCVSDIR $ANONCVSDIRFEDORA $ANONCVSDIRFEDORABUILD
cp $SPECFILE $SPECFILE2 $SPECFILEFEDORA $RHBASE/SPECS/
echo "Start Build Process of - $PACKAGENAME $VERSION" > $LOGFILE
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
date >> $LOGFILE 2>&1 date >> $LOGFILE 2>&1
cd $ANONCVSDIR cd $ANONCVSDIR
cvs -z9 update -r Version-1_0_0-branch -dP >> $LOGFILE 2>&1
[ "$CVSACCOUNT" = 'pserver:anonymous' ] && cvs -d:$CVSACCOUNT@cvs.sourceforge.net:/cvsroot/egroupware login
if [ ! -d egroupware/phpgwapi ] # new checkout
then
echo "Creatting a new checkout using $CVSACCOUNT" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
cvs -z9 -d:$CVSACCOUNT@cvs.sourceforge.net:/cvsroot/egroupware co -P $BRANCH egroupware
cd egroupware
cvs -z9 -d:$CVSACCOUNT@cvs.sourceforge.net:/cvsroot/egroupware co -P $BRANCH all
else # updating an existing checkout in the build-root
echo "Updating existing checkout using $CVSACCOUNT" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
[ "$CVSACCOUNT" != 'pserver:anonymous' ] && { # changing back to the developer account
echo ":$CVSACCOUNT@cvs.sourceforge.net:/cvsroot/egroupware" > Root.developer
find . -name CVS -exec cp Root.developer {}/Root \;
rm Root.developer
}
cd egroupware # need to step into the eGW dir (no CVS dir otherwise)
cvs -z9 update -dP $BRANCH >> $LOGFILE 2>&1
fi
cd $ANONCVSDIR
echo ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware" > Root.anonymous echo ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/egroupware" > Root.anonymous
find . -type d -name CVS -exec cp /build_root/egroupware/Root.anonymous {}/Root \; >> $LOGFILE 2>&1 find . -name CVS -exec cp Root.anonymous {}/Root \; >> $LOGFILE 2>&1
rm Root.anonymous rm Root.anonymous
echo "End from CVS update" >> $LOGFILE 2>&1
echo "End from CVS update" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
find . -type d -exec chmod 775 {} \; find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 644 {} \; find . -type f -exec chmod 644 {} \;
echo "Change the direcory rights back" >> $LOGFILE 2>&1 echo "Change the direcory rights back" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
clamscan -r $ANONCVSDIR --log=$VIRUSSCAN # clamscan -r $ANONCVSDIR --log=$VIRUSSCAN
#
# echo "End from Anti Virus Scan" >> $LOGFILE 2>&1
# echo "---------------------------------------" >> $LOGFILE 2>&1
echo "End from Anti Virus Scan" >> $LOGFILE 2>&1 cd $ANONCVSDIR
echo "---------------------------------------" >> $LOGFILE 2>&1 tar czvf $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.gz $EXCLUDE_CONTRIB egroupware 2>&1 | tee -a $LOGFILE
tar czvf $SRCDIR/$PACKAGENAME-contrib-$VERSION-$PACKAGING.tar.gz $ONLY_CONTRIB >> $LOGFILE 2>&1
cd $ANONCVSDIR/.. tar cjvf $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.bz2 $EXCLUDE_CONTRIB egroupware >> $LOGFILE 2>&1
tar czvf $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.gz egroupware >> $LOGFILE 2>&1 tar cjvf $SRCDIR/$PACKAGENAME-contrib-$VERSION-$PACKAGING.tar.bz2 $ONLY_CONTRIB >> $LOGFILE 2>&1
tar cjvf $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.bz2 egroupware >> $LOGFILE 2>&1 zip -r -9 $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.zip egroupware -x $ONLY_CONTRIB >> $LOGFILE 2>&1
zip -r -9 $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.zip egroupware >> $LOGFILE 2>&1 zip -r -9 $SRCDIR/$PACKAGENAME-contrib-$VERSION-$PACKAGING.zip $ONLY_CONTRIB >> $LOGFILE 2>&1
echo "End Build Process of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1 echo "End Build Process of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
echo "Create the md5sum file for tar.gz, tar.bz, zip" >> $LOGFILE 2>&1 echo "Create the md5sum file for tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
echo "md5sum from file $PACKAGENAME-$VERSION.tar.gz is:" > $MD5SUM echo "Build signed source files" >> $LOGFILE 2>&1
md5sum $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.gz | cut -f1 -d' ' >> $MD5SUM 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $MD5SUM 2>&1
echo " " >> $MD5SUM 2>&1 for f in $VERSION-$PACKAGING.tar.gz contrib-$VERSION-$PACKAGING.tar.gz $VERSION-$PACKAGING.tar.bz2 contrib-$VERSION-$PACKAGING.tar.bz2 $VERSION-$PACKAGING.zip contrib-$VERSION-$PACKAGING.zip
echo "md5sum from file $PACKAGENAME-$VERSION.tar.bz2 is:" >> $MD5SUM 2>&1 do
md5sum $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.bz2 | cut -f1 -d' ' >> $MD5SUM 2>&1 echo "md5sum from file $PACKAGENAME-$f is:" >> $MD5SUM
echo "---------------------------------------" >> $MD5SUM 2>&1 md5sum $SRCDIR/$PACKAGENAME-$f | cut -f1 -d' ' >> $MD5SUM 2>&1
echo " " >> $MD5SUM 2>&1 echo "---------------------------------------" >> $MD5SUM 2>&1
echo "md5sum from file $PACKAGENAME-$VERSION.zip is:" >> $MD5SUM 2>&1 echo " " >> $MD5SUM 2>&1
md5sum $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.zip | cut -f1 -d' ' >> $MD5SUM 2>&1
echo "Build signed source files" >> $LOGFILE 2>&1
rm -f $SRCDIR/$PACKAGENAME-$f.gpg >> $LOGFILE 2>&1
gpg --local-user packager@egroupware.org -s $SRCDIR/$PACKAGENAME-$f >> $LOGFILE 2>&1
done
echo "------------------------------------------" >> $LOGFILE 2>&1
echo "End Build md5sum of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1 echo "End Build md5sum of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
echo "sign the md5sum file" >> $LOGFILE 2>&1
gpg --clearsign $MD5SUM >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
echo "delete the original md5sum file" >> $LOGFILE 2>&1
rm -rf $MD5SUM >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
echo "Build signed source files" >> $LOGFILE 2>&1
gpg -s $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.gz >> $LOGFILE 2>&1
gpg -s $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.tar.bz2 >> $LOGFILE 2>&1
gpg -s $SRCDIR/$PACKAGENAME-$VERSION-$PACKAGING.zip >> $LOGFILE 2>&1
echo "End build of signed of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1 echo "End build of signed of tar.gz, tar.bz, zip" >> $LOGFILE 2>&1
echo "------------------------------------------" >> $LOGFILE 2>&1
echo "sign the md5sum file" >> $LOGFILE 2>&1
rm -f $MD5SUM.asc >> $LOGFILE 2>&1
gpg --local-user packager@egroupware.org --clearsign $MD5SUM >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
echo "delete the original md5sum file" >> $LOGFILE 2>&1
rm -rf $MD5SUM >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1
cd $SPECDIR cd $SPECDIR
rpmbuild -ba --sign $SPECFILE >> $LOGFILE 2>&1 rpmbuild -ba --sign $SPECFILE 2>&1 | tee -a $LOGFILE
echo "End Build Process of - $PACKAGENAME $VERSION single packages" >> $LOGFILE 2>&1 echo "End Build Process of - $PACKAGENAME $VERSION single packages" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
rpmbuild -ba --sign $SPECFILE2 >> $LOGFILE 2>&1 rpmbuild -ba --sign $SPECFILE2 2>&1 | tee -a $LOGFILE
echo "End Build Process of - $PACKAGENAME $VERSION all applications" >> $LOGFILE 2>&1 echo "End Build Process of - $PACKAGENAME $VERSION default applications" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 echo "---------------------------------------" >> $LOGFILE 2>&1
echo "Change the CVS dir back from anonymous to CVS user" >> $LOGFILE 2>&1 #echo "Change the CVS dir back from anonymous to CVS user" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 #echo "---------------------------------------" >> $LOGFILE 2>&1
cd $ANONCVSDIR #cd $ANONCVSDIR
echo ":ext:reinerj@cvs.sourceforge.net:/cvsroot/egroupware" > Root.reinerj #echo ":ext:ralfbecker@cvs.sourceforge.net:/cvsroot/egroupware" > Root.reinerj
find . -type d -name CVS -exec cp /build_root/egroupware/Root.reinerj {}/Root \; >> $LOGFILE 2>&1 #find . -type d -name CVS -exec cp /build_root/egroupware/Root.reinerj {}/Root \; >> $LOGFILE 2>&1
rm Root.reinerj #rm Root.reinerj
echo "Change the direcory rights back" >> $LOGFILE 2>&1 #echo "Change the direcory rights back" >> $LOGFILE 2>&1
echo "---------------------------------------" >> $LOGFILE 2>&1 #echo "---------------------------------------" >> $LOGFILE 2>&1
find . -type d -exec chmod 775 {} \; #find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 644 {} \; #find . -type f -exec chmod 644 {} \;
############################################################################################################## ##############################################################################################################
@ -144,40 +189,15 @@ find . -type f -exec chmod 644 {} \;
############################################################################################################## ##############################################################################################################
echo "Start Build Process of - $PACKAGENAMEFEDORA $VERSIONFEDORA $PACKAGINGFEDORA" > $LOGFILEFEDORA #cd $ANONCVSDIRFEDORA
echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1 #tar czvf $SRCDIR/$PACKAGENAMEFEDORA-$VERSIONFEDORA.$PACKAGINGFEDORA.tar.gz egroupware >> $LOGFILEFEDORA 2>&1
date >> $LOGFILEFEDORA 2>&1
cd $ANONCVSDIRFEDORA
cvs -z9 -d:ext:reinerj@cvs.sourceforge.net:/cvsroot/egroupware co -r Version-1_0_0-branch egroupware >> $LOGFILEFEDORA 2>&1
echo "must wait to finish this job" >> $LOGFILEFEDORA 2>&1
cd $ANONCVSDIRFEDORABUILD >> $LOGFILEFEDORA 2>&1
cvs co -r Version-1_0_0-branch all >> $LOGFILEFEDORA 2>&1
echo "first files are updated and now we must delete the old ones" >> $LOGFILEFEDORA 2>&1
cvs -z9 update -dP >> $LOGFILEFEDORA 2>&1
find . -type d -name CVS | xargs rm -rf
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 644 {} \;
echo "End from Fedora CVS update" >> $LOGFILEFEDORA 2>&1
echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
clamscan -r $ANONCVSDIRFEDORABUILD --log=$VIRUSSCANDEFORA
echo "End from Fedora Anti Virus Scan" >> $LOGFILEFEDORA 2>&1
echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
cd $ANONCVSDIRFEDORA
tar czvf $SRCDIR/$PACKAGENAMEFEDORA-$VERSIONFEDORA.$PACKAGINGFEDORA.tar.gz egroupware >> $LOGFILEFEDORA 2>&1
echo "Start Build Process of - $PACKAGENAMEFEDORA $VERSIONFEDORA" >> $LOGFILEFEDORA 2>&1
echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
cd $SPECDIR
rpmbuild -ba --sign $SPECFILEFEDORA >> $LOGFILEFEDORA 2>&1
echo "End Build Process of - $PACKAGENAMEFEDORA $VERSIONFEDORA $PACKAGINGFEDORA" >> $LOGFILEFEDORA 2>&1
echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
#echo "Start Build Process of - $PACKAGENAMEFEDORA $VERSIONFEDORA" >> $LOGFILEFEDORA 2>&1
#echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
#cd $SPECDIR
#rpmbuild -ba --sign $SPECFILEFEDORA >> $LOGFILEFEDORA 2>&1
#echo "End Build Process of - $PACKAGENAMEFEDORA $VERSIONFEDORA $PACKAGINGFEDORA" >> $LOGFILEFEDORA 2>&1
#echo "---------------------------------------" >> $LOGFILEFEDORA 2>&1
############################################################################################################## ##############################################################################################################
# # # #
@ -186,19 +206,19 @@ echo "---------------------------------------"
############################################################################################################## ##############################################################################################################
echo "Start build Bitrock packages" > $LOGFILEFEBIT #echo "Start build Bitrock packages" > $LOGFILEFEBIT
echo "---------------------------------------" >> $LOGFILEFEBIT 2>&1 #echo "---------------------------------------" >> $LOGFILEFEBIT 2>&1
date >> $LOGFILEFEBIT 2>&1 #date >> $LOGFILEFEBIT 2>&1
#
#cd $ANONCVSDIRFEDORA
#
#echo "build bitrock Linux package" >> $LOGFILEFEBIT 2>&1
#/opt/installbuilder-2.0/bin/builder build /opt/installbuilder-2.0/projects/egroupware.xml linux
#echo "build bitrock Windows package" >> $LOGFILEFEBIT 2>&1
#/opt/installbuilder-2.0/bin/builder build /opt/installbuilder-2.0/projects/egroupware.xml windows
cd $ANONCVSDIRFEDORA #rm -rf egroupware
#echo "Fedora Build Root deleted $PACKAGENAMEFEDORA $VERSIONFEDORA $PACKAGINGFEDORA" >> $LOGFILEFEBIT 2>&1
echo "build bitrock Linux package" >> $LOGFILEFEBIT 2>&1 #echo "---------------------------------------" >> $LOGFILEFEBIT 2>&1
/opt/installbuilder-2.0/bin/builder build /opt/installbuilder-2.0/projects/egroupware.xml linux
echo "build bitrock Windows package" >> $LOGFILEFEBIT 2>&1
/opt/installbuilder-2.0/bin/builder build /opt/installbuilder-2.0/projects/egroupware.xml windows
rm -rf egroupware
echo "Fedora Build Root deleted $PACKAGENAMEFEDORA $VERSIONFEDORA $PACKAGINGFEDORA" >> $LOGFILEFEBIT 2>&1
echo "---------------------------------------" >> $LOGFILEFEBIT 2>&1

View File

@ -1,272 +0,0 @@
%define packagename eGroupWare-all-apps
%define egwdirname egroupware
%define version 1.0.00.006
%define packaging 1
%define epoch 0
%define httpdroot %(if test -f /etc/SuSE-release; then echo /srv/www/htdocs; else echo /var/www/html; fi)
Name: %{packagename}
Version: %{version}
Release: %{packaging}
Epoch: %{epoch}
Summary: eGroupWare is a web-based groupware suite written in php.
Group: Web/Database
License: GPL/LGPL
URL: http://www.egroupware.org/
Source0: http://download.sourceforge.net/egroupware/eGroupWare-%{version}-%{packaging}.tar.bz2
BuildRoot: /tmp/%{packagename}-buildroot
Requires: php >= 4.0.6
Prefix: %{httpdroot}
Buildarch: noarch
AutoReqProv: no
Vendor: eGroupWare
Packager: eGroupWare <r.jung@creativix.net>
%description
eGroupWare is a web-based groupware suite written in PHP. This package provides:
egroupware core app, addressbook, backup, bookmarks, calendar, comic, developer tools,
docs, email, emailadmin, etemplate, felamimail, filemanager, forum, ftp, fudforum,
headlines, infolog, jinn, messenger news admin, phpldapadmin, phpbrain (knowledgebase),
phpsysinfo, polls, projects (advanced project management), registration, sitemgr,
skel, stocks, tts (trouble ticket system), wiki
It also provides an API for developing additional applications. See the egroupware
apps project for add-on apps.
%prep
%setup -n %{egwdirname}
%build
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
#cp .htaccess $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%post
echo "***************************************************"
echo "* Attention: You must create the folder FILES *"
echo "* manually outside the root from your *"
echo "* webserver root. *"
echo "* The folder must include the folders users and *"
echo "* files like: /var/www/ *"
echo "* egwfiles/ *"
echo "* users *"
echo "* groups *"
echo "* Give the webserver the rights to read and write *"
echo "* and no anonymous access to this folders *"
echo "* *************************************************"
echo "* Please secure you apache and add *"
echo "* the follow lines to you httpd.conf *"
echo "* *"
echo "* <Directory /var/www/html/egroupware> *"
echo "* <Files ~ "\.\(inc.php\|tpl\)$"> *"
echo "* Order allow,deny *"
echo "* Deny from all *"
echo "* </Files> *"
echo "* </Directory> *"
echo "***************************************************"
%postun
%files
%defattr(0744,root,root)
%dir %{prefix}/%{egwdirname}
%{prefix}/%{egwdirname}/home.php
%{prefix}/%{egwdirname}/about.php
%{prefix}/%{egwdirname}/anon_wrapper.php
%{prefix}/%{egwdirname}/notify.php
%{prefix}/%{egwdirname}/notify_simple.php
%{prefix}/%{egwdirname}/redirect.php
%{prefix}/%{egwdirname}/set_box.php
%{prefix}/%{egwdirname}/header.inc.php.template
%{prefix}/%{egwdirname}/index.php
%{prefix}/%{egwdirname}/soap.php
%{prefix}/%{egwdirname}/xmlrpc.php
%{prefix}/%{egwdirname}/login.php
%{prefix}/%{egwdirname}/logout.php
%{prefix}/%{egwdirname}/CVS
%{prefix}/%{egwdirname}/doc
%{prefix}/%{egwdirname}/phpgwapi
%{prefix}/%{egwdirname}/admin
%{prefix}/%{egwdirname}/preferences
%{prefix}/%{egwdirname}/setup
%{prefix}/%{egwdirname}/addressbook
%{prefix}/%{egwdirname}/backup
%{prefix}/%{egwdirname}/bookmarks
%{prefix}/%{egwdirname}/calendar
%{prefix}/%{egwdirname}/comic
%{prefix}/%{egwdirname}/developer_tools
%{prefix}/%{egwdirname}/email
%{prefix}/%{egwdirname}/emailadmin
%{prefix}/%{egwdirname}/etemplate
%{prefix}/%{egwdirname}/felamimail
%{prefix}/%{egwdirname}/filemanager
%{prefix}/%{egwdirname}/forum
%{prefix}/%{egwdirname}/ftp
%{prefix}/%{egwdirname}/fudforum
%{prefix}/%{egwdirname}/headlines
%{prefix}/%{egwdirname}/infolog
%{prefix}/%{egwdirname}/jinn
%{prefix}/%{egwdirname}/manual
%{prefix}/%{egwdirname}/messenger
%{prefix}/%{egwdirname}/news_admin
%{prefix}/%{egwdirname}/phpbrain
%{prefix}/%{egwdirname}/phpldapadmin
%{prefix}/%{egwdirname}/phpsysinfo
%{prefix}/%{egwdirname}/polls
%{prefix}/%{egwdirname}/projects
%{prefix}/%{egwdirname}/registration
%{prefix}/%{egwdirname}/sitemgr
%{prefix}/%{egwdirname}/skel
%{prefix}/%{egwdirname}/stocks
%{prefix}/%{egwdirname}/tts
%{prefix}/%{egwdirname}/wiki
%changelog
* Sat Nov 06 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.006-1
- Fix a security problem in JiNN application
- Bugfixes
* Wed Sep 08 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.005-1
- Bugfix release
* Thu Aug 24 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.004-2
- Bugfix for Email after security patch
* Mon Aug 23 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.004-1
- Security release fixes several XSS problems
* Sat Aug 07 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.003-1
- Final 1.0 release from eGroupWare
- some bugs fixed
* Sat Jul 31 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.002-1
- critical bugs fixed
- MS SQL server support is back
- language extensions
* Sun Jul 11 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.001-1
- bug fixing in all applications
* Thu Jun 29 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.026-1
- JiNN extended.
- projects updated
- new knowledge base available
- new language available Catalan
- many languages updated
- bug fixes in all applications
- extend the usage of indexes for DB tables
* Thu Apr 27 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.015-1
- rewrite of projects added.
- Wiki with WYSIWYG editor added
- bugfixes for sitemgr
- email don't need longer php-imap module, many bugfixes for email included
- Traditional Chinese lang updated
- Danish lang updated
- Italien lang files updated
- Russian translation started
- jerryr template updated
- many bugs fixed in all applications
* Wed Mar 03 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.014-1
- add support to spec file for SuSE directory structure.
When you want build packages for SuSE, please download the source RPM and make
rpmbuild --rebuild eGroupWare.xxxxx.spec.
- extensions to Danish language
- extensions at sitemgr
- bugfixes for upcomming 1.0 release
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-2
- RC3-4 bugfix for broken calender ACL
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-1
- Release RC3-3 is only a small bugfixing for some installations
- PostgreSQL bug fixed
- Email Bug fixed
- Login problem on some clients fixed
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-2
- We use the download problem at out server buf fix some other problems
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012
- remove justweb template
- Skel app added as package
- Messenger back in eGW
- Spanish translation finished
- Ukrain translation 50% finished
- extensions on Italian translation
- backup rewrite
- Poll upp is rewrited
- Knowledge Base rewrite (start from new killer app support center)
- sitemgr fist preview of 1.0 candidate
- extension on idots
- new template set included jerryr (preview to 1.0 version)
- felamimail extension (folders)
- email bugfixes and extensions
- username case sensitive
- encrytion from passwords for header.inc.php and database passwords added
- JiNN CMS updated
- addressbook import extended
- wiki some extensions
- many Bugs fixed
- fudforum available in a updated version
* Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-2
- Bug fix for PostgreSQL error.
* Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-1
- Many Bugs fixed.
- Extension in Idots
- fudforum updated
- Registration application working again
* Mon Dec 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008
- Many Bugs fixed.
- First available version from phpldapadmin
- Dutch, Slovenia, Brasilien Portuguese and Chinese translation extended
- mass delete entries in calender
- setup support DB ports
* Mon Nov 03 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.006
- Many Bugs fixed.
- First available version from FUDeGW forum
- pre checking the php and folders
- idots template extended
* Fri Oct 10 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.005
- Many Bugs fixed.
- TTS with Petri Net Support
- CSV import to Calendar, Infolog
- Experimental, internal usage from UTF-8 available
- Projects app extendet and 1st preview from gant charts available
- Simplified Chinese translation added
- New layout for setup
* Wed Sep 25 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.004
- Bugfix release.
* Mon Sep 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.001
- update possibility via CVS
- Headlines bugfixes and new gray theme
- Import from new anglemail
- small changes and bugfixes in Infolog
- calendar show now phone calls, notes and todos
- asyncservice problem fixed
- wiki bugfixes
- felamimail
- improved displaying of messages. added some javascript code, to make switching beetwen message, attachments and header lines faster. Updated the layout of the main page and the message display page to look better. Added support for emailadmin. felamimail needs now emailadmin to beinstalled.
* Sat Aug 30 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.000
- initial eGroupWare package anouncement.

View File

@ -0,0 +1,762 @@
%define packagename eGroupWare
%define egwdirname egroupware
%define version 1.2RC1
%define packaging 1
%define epoch 0
%define httpdroot %(if test -f /etc/SuSE-release; then echo /srv/www/htdocs; else echo /var/www/html; fi)
%define addressbook addressbook
%define backup backup
%define browser browser
%define bookmarks bookmarks
%define calendar calendar
%define comic comic
%define developer_tools developer_tools
%define email email
%define emailadmin emailadmin
%define felamimail felamimail
%define filescenter filescenter
%define filemanager filemanager
%define forum forum
%define ftp ftp
%define fudforum fudforum
%define headlines headlines
%define infolog infolog
%define jinn jinn
%define manual manual
%define messenger messenger
%define mydms mydms
%define news_admin news_admin
%define phpldapadmin phpldapadmin
%define phpbrain phpbrain
%define phpsysinfo phpsysinfo
%define polls polls
%define projects projects
%define projectmanager projectmanager
%define registration registration
%define resources resources
%define sambaadmin sambaadmin
%define sitemgr sitemgr
%define stocks stocks
%define switchuser switchuser
%define syncml syncml
%define tts tts
%define wiki wiki
%define workflow workflow
Name: %{packagename}
Version: %{version}
Release: %{packaging}
Epoch: %{epoch}
Summary: eGroupWare is a web-based groupware suite written in php.
Group: Web/Database
License: GPL/LGPL
URL: http://www.egroupware.org/
Source0: http://download.sourceforge.net/egroupware/%{packagename}-%{version}-%{packaging}.tar.bz2
BuildRoot: /tmp/%{packagename}-buildroot
Requires: php >= 4.3
Prefix: %{httpdroot}
Buildarch: noarch
AutoReqProv: no
Vendor: eGroupWare
Packager: eGroupWare <RalfBecker@outdoor-training.de>
%description
eGroupWare is a web-based groupware suite written in PHP.
The core package provides the admin, etemplate, phpgwapi, preferences
and setup packages.
It also provides an API for developing additional applications.
%package %{addressbook}
Summary: The eGroupWare %{addressbook} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%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.
%package %{backup}
Summary: The eGroupWare %{backup} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{backup}
An online configurable backup app to store data offline.
Can store files in zip, tar.gz and tar.bz2 on the local machine
or Remote via FTP, SMBMOUNT or NFS
%package %{browser}
Summary: The eGroupWare %{browser} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{browser}
Intergrated browser to surf the web within eGroupWare.
%package %{bookmarks}
Summary: The eGroupWare %{bookmarks} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{bookmarks}
Manage your bookmarks with eGroupWare. Has Netscape plugin.
%package %{calendar}
Summary: The eGroupWare %{calendar} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{calendar}
Powerful calendar with meeting request system, Alarms, ICal and E-Mail support,
and ACL security.
%package %{comic}
Summary: The eGroupWare %{comic} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{comic}
This application display comic strips.
%package %{developer_tools}
Summary: The eGroupWare %{developer_tools} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{developer_tools}
The TranslationTools allow to create and extend translations-files for eGroupWare.
They can search the sources for new / added phrases and show you the ones missing in your language.
%package %{email}
Summary: The eGroupWare %{email} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{email}
AngleMail for eGroupWare at www.anglemail.org is an Email reader with multiple accounts and mailbox filtering. Also Anglemail support IMAP, IMAPS, POP3 and POP3S accounts.
%package %{emailadmin}
Summary: The eGroupWare %{emailadmin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{emailadmin}
EmailAdmin allow to maintain User email accounts
%package %{felamimail}
Summary: The eGroupWare %{felamimail} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-emailadmin = %{version}-%{packaging}
%description %{felamimail}
The %{felamimail} Email Reader is a other Email application for eGroupWare.
%package %{filemanager}
Summary: The eGroupWare %{filemanager} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{filemanager}
This is the %{filemanager} app for eGroupWare.
%package %{filescenter}
Summary: The eGroupWare %{filescenter} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{filescenter}
This is the %{filescenter} app for eGroupWare.
%package %{forum}
Summary: The eGroupWare %{forum} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{forum}
This is the %{forum} app for eGroupWare.
%package %{ftp}
Summary: The eGroupWare %{ftp} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{ftp}
This is the %{ftp} app for eGroupWare.
%package %{fudforum}
Summary: The eGroupWare %{fudforum} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{fudforum}
This is the %{fudforum} app for eGroupWare.
%package %{headlines}
Summary: The eGroupWare %{headlines} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{headlines}
This is the %{headlines} app for eGroupWare.
%package %{infolog}
Summary: The eGroupWare %{infolog} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-etemplate = %{version}-%{packaging}
%description %{infolog}
This is the %{infolog} app for eGroupWare (Notes, ToDo, Phonelogs, CRM).
%package %{jinn}
Summary: The eGroupWare %{jinn} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{jinn}
The %{jinn} app is a multi-site, multi-database, multi-user/-group, database driven Content Management System written in and for the eGroupWare Framework.
%package %{manual}
Summary: The eGroupWare %{manual} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{manual}
This is the %{manual} app for eGroupWare: online help system.
%package %{messenger}
Summary: The eGroupWare %{messenger} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{messenger}
This is the %{messenger} app for eGroupWare.
%package %{mydms}
Summary: The eGroupWare %{mydms} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{mydms}
This is a %{mydms} port to eGroupWare.
%package %{news_admin}
Summary: The eGroupWare %{news_admin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{news_admin}
This is the %{news_admin} app for eGroupWare.
%package %{phpbrain}
Summary: The eGroupWare %{phpbrain} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{phpbrain}
This is the %{phpbrain} app for eGroupWare.
%package %{phpldapadmin}
Summary: The eGroupWare %{phpldapadmin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{phpldapadmin}
This is the cire %{phpldapadmin} of eGroupWare.
%package %{phpsysinfo}
Summary: The eGroupWare %{phpsysinfo} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{phpsysinfo}
This is the cire %{phpsysinfo} of eGroupWare.
%package %{polls}
Summary: The eGroupWare %{polls} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{polls}
This is the %{polls} app for eGroupWare.
%package %{projectmanager}
Summary: The eGroupWare %{projectmanager} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{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 Calendar.
Plugable datasources allow to support and manage further applications.
%package %{projects}
Summary: The eGroupWare %{projects} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging},
%description %{projects}
This is the %{projects} app for eGroupWare.
%package %{registration}
Summary: The eGroupWare %{registration} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{registration}
This is the %{registration} app for eGroupWare.
%package %{resources}
Summary: The eGroupWare %{resources} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{resources}
%{resources} is a resource booking sysmtem for eGroupWare.
Which integrates into the calendar.
%package %{sambaadmin}
Summary: The eGroupWare %{sambaadmin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{sambaadmin}
Manage LDAP based sambaacounts and workstations.
%package %{sitemgr}
Summary: The eGroupWare Sitemanager CMS application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{sitemgr}
This is the Sitemanager CMS app for eGroupWare.
%package %{stocks}
Summary: The eGroupWare %{stocks} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{stocks}
This is the %{stocks} app for eGroupWare.
%package %{syncml}
Summary: The eGroupWare %{syncml} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{syncml}
This is the %{syncml} app for eGroupWare.
%package %{tts}
Summary: The eGroupWare trouble ticket system application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{tts}
This is the trouble ticket system} app for eGroupWare.
%package %{wiki}
Summary: The eGroupWare %{wiki} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging},
%description %{wiki}
This is the %{wiki} app for eGroupWare.
%package %{workflow}
Summary: The eGroupWare %{workflow} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging},
%description %{workflow}
This is the %{workflow} app for eGroupWare.
%prep
%setup -n %{egwdirname}
%build
# no build required
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
#cp -aRf * $RPM_BUILD_ROOT%{prefix}
rm -f $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/.htaccess
#cp .htaccess $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%post
echo "***************************************************"
echo "* Attention: You must create the FILES directory *"
echo "* manually outside the document root of your *"
echo "* webserver: *"
echo "* eg. docroot: /var/www/html *"
echo "* FILES: /var/www/egwfiles/ *"
echo "* Give the webserver the rights to read and write *"
echo "* and no anonymous access to this folders *"
echo "* *************************************************"
echo "* Please secure you apache and add *"
echo "* the follow lines to you httpd.conf *"
echo "* *"
echo "* <Directory /var/www/html/egroupware> *"
echo "* <Files ~ "\.inc\.php$"> *"
echo "* Order allow,deny *"
echo "* Deny from all *"
echo "* </Files> *"
echo "* </Directory> *"
echo "***************************************************"
%postun
%files
%defattr(0744,root,root)
%dir %{prefix}/%{egwdirname}
%{prefix}/%{egwdirname}/about.php
%{prefix}/%{egwdirname}/anon_wrapper.php
%{prefix}/%{egwdirname}/header.inc.php.template
%{prefix}/%{egwdirname}/.htaccess
%{prefix}/%{egwdirname}/index.php
%{prefix}/%{egwdirname}/login.php
%{prefix}/%{egwdirname}/logout.php
%{prefix}/%{egwdirname}/notify.php
%{prefix}/%{egwdirname}/notify_simple.php
%{prefix}/%{egwdirname}/notifyxml.php
%{prefix}/%{egwdirname}/redirect.php
%{prefix}/%{egwdirname}/rpc.php
%{prefix}/%{egwdirname}/set_box.php
%{prefix}/%{egwdirname}/soap.php
%{prefix}/%{egwdirname}/xajax.php
%{prefix}/%{egwdirname}/xmlrpc.php
%{prefix}/%{egwdirname}/CVS
%{prefix}/%{egwdirname}/admin
%{prefix}/%{egwdirname}/doc
%{prefix}/%{egwdirname}/etemplate
%{prefix}/%{egwdirname}/home
%{prefix}/%{egwdirname}/phpgwapi
%{prefix}/%{egwdirname}/preferences
%{prefix}/%{egwdirname}/setup
%files %{addressbook}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{addressbook}
%files %{backup}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{backup}
%files %{bookmarks}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{bookmarks}
%files %{browser}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{browser}
%files %{calendar}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{calendar}
%files %{comic}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{comic}
%files %{developer_tools}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{developer_tools}
%files %{email}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{email}
%files %{emailadmin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{emailadmin}
%files %{felamimail}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{felamimail}
%files %{filemanager}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{filemanager}
%files %{filescenter}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{filescenter}
%files %{forum}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{forum}
%files %{ftp}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{ftp}
%files %{fudforum}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{fudforum}
%files %{headlines}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{headlines}
%files %{infolog}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{infolog}
%files %{jinn}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{jinn}
%files %{manual}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{manual}
%files %{messenger}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{messenger}
%files %{mydms}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{mydms}
%files %{news_admin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{news_admin}
%files %{phpbrain}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpbrain}
%files %{phpldapadmin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpldapadmin}
%files %{phpsysinfo}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpsysinfo}
%files %{polls}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{polls}
%files %{projectmanager}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{projectmanager}
%files %{projects}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{projects}
%files %{registration}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{registration}
%files %{resources}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{resources}
%files %{sambaadmin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{sambaadmin}
%files %{sitemgr}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{sitemgr}
%files %{stocks}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{stocks}
%files %{syncml}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{syncml}
%files %{tts}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{tts}
%files %{wiki}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{wiki}
%files %{workflow}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{workflow}
%changelog
* Mon Nov 14 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.2RC1-1
- first release candidate of the upcomming 1.2 release:
- complete rewrite of the calendar, plus new resource booking system
- new projectmanager applications using infolog and calendar data
- syncml to synchronise cell-phones, PDA's and outlook
- workflow application
- and many more ...
* Tue Sep 20 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.009-3
- disabled the xmlrpc log again by default
- fixed addressbook bug introduced by a backported bugfix from HEAD
* Mon Sep 12 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.009-2
- further xmlrpc security fixes (already included in the tgz from mid Aug)
- xmlrpc and soap subsystem is now deactivated by default, it can be enabled
via Admin >> site configuration if needed
* Fri Jul 16 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.008-2
- Fixed projects problem (editing of project not working, dates are allways
set to ~ 1970-01-01) introduced by security fix between 007 and 008
* Fri Jul 08 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.008-1
- Fixed xmlrpc security problems
* Sat Apr 15 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.007-2
- Fixed security problems reported by James from GulfTech Security Research
- new croation translations, significant enhancements in other languages
- many Bugfixes, see http://egroupware.org/cvschangelog-1.0/
* Sat Nov 06 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.006-1
- Fix a security problem in JiNN application
- Bugfixes
* Wed Sep 08 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.005-1
- Bugfix release
* Thu Aug 24 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.004-2
- Bugfix for Email after security patch
* Mon Aug 23 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.004-1
- Security release fixes several XSS problems
* Sat Aug 07 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.003-1
- Final 1.0 release from eGroupWare
- some bugs fixed
* Sat Jul 31 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.002-1
- critical bugs fixed
- MS SQL server support is back
- language extensions
* Sun Jul 11 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.001-1
- bug fixing in all applications
* Thu Jun 29 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.026-1
- JiNN extended.
- projects updated
- new knowledge base available
- new language available Catalan
- many languages updated
- bug fixes in all applications
- extend the usage of indexes for DB tables
* Thu Apr 27 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.015-1
- rewrite of projects added.
- Wiki with WYSIWYG editor added
- bugfixes for sitemgr
- email don't need longer php-imap module, many bugfixes for email included
- Traditional Chinese lang updated
- Danish lang updated
- Italien lang files updated
- Russian translation started
- jerryr template updated
- many bugs fixed in all applications
* Wed Mar 03 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.014-1
- add support to spec file for SuSE directory structure.
When you want build packages for SuSE, please download the source RPM and make
rpmbuild --rebuild eGroupWare.xxxxx.spec.
- extensions to Danish language
- extensions at sitemgr
- bugfixes for upcomming 1.0 release
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-2
- bugfix for broken calender ACL
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-1
- Release RC3-3 is only a small bugfixing for some installations
- PostgreSQL bug fixed
- Email Bug fixed
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-2
- We use the download problem at out server buf fix some other problems
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-1
- remove justweb template
- Skel app added as package
- Messenger back in eGW
- Spanish translation finished
- Ukrain translation added to eGW and more than 50% finished
- extensions on Italian translation
- backup rewrite
- Poll upp is rewrited
- Knowledge Base rewrite (start from new killer app support center)
- sitemgr fist preview of 1.0 candidate
- extension on idots
- new template set included jerryr (preview to 1.0 version)
- felamimail extension (folders)
- email bugfixes and some nice extensions
- encrytion from passwords for header.inc.php and database passwords added
- username case sensitive
- JiNN CMS updated
- addressbook import extended
- wiki some extensions
- many Bugs fixed
- fudforum available in a updated version
* Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-2
- Bug fix for PostgreSQL error.
* Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-1
- Many Bugs fixed.
- Extension in Idots
- fuforum updated
- Registration application working again
* Mon Dec 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008
- Many Bugs fixed.
- First available version from phpldapadmin
- Dutch, Slovenia, Brasilien Portuguese and Chinese translation extended
- mass delete entries in calender
- setup support DB ports
* Mon Nov 03 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.006
- Many Bugs fixed.
- First available version from FUDeGW forum
- pre checking the php and folders
- idots template extended
* Fri Oct 10 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.005
- Many Bugs fixed.
- TTS with Petri Net Support
- CSV import to Calendar, Infolog
- Projects app extendet and 1st preview from gant charts available
- Simplified Chinese translation added
- Experimental, internal usage from UTF-8 available
- New layout for setup
* Wed Sep 25 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.004
- Bugfix release.
* Mon Sep 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.001
- update possibility via CVS
- Headlines bugfixes and new gray theme
- Import from new anglemail
- small changes and bugfixes in Infolog
- calendar show now phone calls, notes and todos
- asyncservice problem fixed
- wiki bugfixes
- felamimail
- improved displaying of messages. added some javascript code, to make switching beetwen message, attachments and header lines faster. Updated the layout of the main page and the message display page to look better. Added support for emailadmin. felamimail needs now emailadmin to beinstalled.
* Sat Aug 30 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.000
- initianal eGroupWare package anouncement.

View File

@ -1,115 +0,0 @@
Name: eGroupWare
Version: 1.0.00
Release: 6.fdr.2
Epoch: 0
Summary: eGroupWare is a web-based groupware suite written in php.
Group: Web/Database
License: GPL/LGPL
URL: http://www.egroupware.org/
Source0: http://download.sourceforge.net/egroupware/eGroupWare-1.0.00.6.fdr.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php php-mysql php-imap php-xmlrpc
%description
eGroupWare is a web-based groupware suite written in PHP. This package provides:
egroupware core app, addressbook, backup, bookmark, calendar, comic, developer_tools, doc, email, felamimail, forum, ftp, headlines, infolog (CRM), manual, news_admin, phpsysinfo, polls, projects (advanced project management), sitemgr (web content manager), stocks, todo
It also provides an API for developing additional applications. See the egroupware
apps project for add-on apps.
%prep
%setup -n egroupware
%build
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT/var/www/html/egroupware
cp -aRf * $RPM_BUILD_ROOT/var/www/html/egroupware
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%post
echo "***************************************************"
echo "* Attention: You must create the folder FILES *"
echo "* manually outside the root from your *"
echo "* webserver root. *"
echo "* The folder must include the folders users and *"
echo "* files like: /var/www/ *"
echo "* egwfiles/ *"
echo "* users *"
echo "* groups *"
echo "* Give the webserver the rights to read and write *"
echo "* and no anonymous access to this folders *"
echo "* *************************************************"
echo "* Please secure you apache and add *"
echo "* the follow lines to you httpd.conf *"
echo "* *"
echo "* <Directory /var/www/html/egroupware> *"
echo "* <Files ~ "\.\(inc.php\|tpl\)$"> *"
echo "* Order allow,deny *"
echo "* Deny from all *"
echo "* </Files> *"
echo "* </Directory> *"
echo "***************************************************"
%postun
%files
%defattr(0744,root,root)
%dir /var/www/html/egroupware
/var/www/html/egroupware/*
%changelog
* Sat Nov 06 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.6.fdr.2
- Fix a security problem in JiNN application
- Bugfixes
* Wed Sep 08 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.3.fdr.2
- Bugfix release
* Thu Aug 24 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.1.fdr.2
- Bugfix for Email after security patch
* Mon Aug 23 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.0.fdr.1
- Security release fixes several XSS problems
* Sat Aug 07 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.0.fdr.1
- Final 1.0 release from eGroupWare
- some bugs fixed
* Sat Jul 31 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.0.fdr.1.rc8
- critical bugs fixed
- MS SQL server support is back
- language extensions
* Sun Jul 11 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.0.fdr.1.rc7
- bug fixing in all applications
* Thu Jun 29 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.00.fdr.1.rc6
- JiNN extended.
- projects updated
- new knowledge base available
- new language available Catalan
- many languages updated
- bug fixes in all applications
- extend the usage of indexes for DB tables
* Thu Apr 27 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.00.fdr.1.rc5
- rewrite of projects added.
- Wiki with WYSIWYG editor added
- bugfixes for sitemgr
- email don't need longer php-imap module, many bugfixes for email included
- Traditional Chinese lang updated
- Danish lang updated
- Italien lang files updated
- jerryr template updated
- many bugs fixed in all applications

View File

@ -1,43 +1,10 @@
%define packagename eGroupWare %define packagename eGroupWare
%define egwdirname egroupware %define egwdirname egroupware
%define version 1.0.00.006 %define version 1.2RC1
%define packaging 1 %define packaging 1
%define epoch 0 %define epoch 0
%define httpdroot %(if test -f /etc/SuSE-release; then echo /srv/www/htdocs; else echo /var/www/html; fi) %define httpdroot %(if test -f /etc/SuSE-release; then echo /srv/www/htdocs; else echo /var/www/html; fi)
%define addressbook addressbook
%define backup backup
%define bookmarks bookmarks
%define calendar calendar
%define comic comic
%define developer_tools developer_tools
%define docs doc
%define email email
%define emailadmin emailadmin
%define etemplate etemplate
%define felamimail felamimail
%define filemanager filemanager
%define forum forum
%define ftp ftp
%define fudforum fudforum
%define headlines headlines
%define infolog infolog
%define jinn jinn
%define manual manual
%define messenger messenger
%define news_admin news_admin
%define phpldapadmin phpldapadmin
%define phpbrain phpbrain
%define phpsysinfo phpsysinfo
%define polls polls
%define projects projects
%define registration registration
%define sitemgr sitemgr
%define skel skel
%define stocks stocks
%define tts tts
%define wiki wiki
Name: %{packagename} Name: %{packagename}
Version: %{version} Version: %{version}
Release: %{packaging} Release: %{packaging}
@ -47,295 +14,41 @@ Summary: eGroupWare is a web-based groupware suite written in php.
Group: Web/Database Group: Web/Database
License: GPL/LGPL License: GPL/LGPL
URL: http://www.egroupware.org/ URL: http://www.egroupware.org/
Source0: http://download.sourceforge.net/egroupware/%{packagename}-%{version}-%{packaging}.tar.bz2 Source0: http://download.sourceforge.net/egroupware/eGroupWare-%{version}-%{packaging}.tar.bz2
BuildRoot: /tmp/%{packagename}-buildroot BuildRoot: /tmp/%{packagename}-buildroot
Requires: php >= 4.0.6 Requires: php >= 4.3
Prefix: %{httpdroot} Prefix: %{httpdroot}
Buildarch: noarch Buildarch: noarch
AutoReqProv: no AutoReqProv: no
Vendor: eGroupWare Vendor: eGroupWare
Packager: eGroupWare <r.jung@creativix.net> Packager: eGroupWare <RalfBecker@outdoor-training.de>
%description %description
eGroupWare is a web-based groupware suite written in PHP. eGroupWare is a web-based groupware suite written in PHP.
The core package provides the admin, setup, phpgwapi and preferences
packages. It also provides an API for developing additional applications.
See the egroupware apps project for add-on apps.
%package %{addressbook} This package provides the eGroupWare default applications:
Summary: The eGroupWare %{addressbook} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%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.
%package %{backup} egroupware core with: admin, api, docs, etemplate, prefereces and setup,
Summary: The eGroupWare %{backup} application addressbook, bookmarks, calendar, translation-tools, emailadmin, felamimail,
Group: Web/Database filemanager, infolog, jinn, manual, mydms, news admin, knowledgebase, polls,
AutoReqProv: no projectmanager, resources, sambaadmin, sitemgr, syncml, wiki workflow
Requires: eGroupWare = %{version}-%{packaging}
%description %{backup}
An online configurable backup app to store data offline.
Can store files in zip, tar.gz and tar.bz2 on the local machine
or Remote via FTP, SMBMOUNT or NFS
%package %{bookmarks} It also provides an API for developing additional applications.
Summary: The eGroupWare %{bookmarks} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{bookmarks}
Manage your bookmarks with eGroupWare. Has Netscape plugin.
%package %{calendar} Further contributed applications are avalible in single packages.
Summary: The eGroupWare %{calendar} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{calendar}
Powerful calendar with meeting request system, Alarms, ICal and E-Mail support,
and ACL security.
%package %{comic}
Summary: The eGroupWare %{comic} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{comic}
This application display comic strips.
%package %{developer_tools}
Summary: The eGroupWare %{developer_tools} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{developer_tools}
The TranslationTools allow to create and extend translations-files for eGroupWare. They can search the sources for new / added phrases and show you the ones missing in your language.
%package %{docs}
Summary: The eGroupWare %{docs}
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{docs}
This is the %{docs} for eGroupWare.
%package %{email}
Summary: The eGroupWare %{email} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{email}
AngleMail for eGroupWare at www.anglemail.org is an Email reader with multiple accounts and mailbox filtering. Also Anglemail support IMAP, IMAPS, POP3 and POP3S accounts.
%package %{emailadmin}
Summary: The eGroupWare %{emailadmin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{emailadmin}
EmailAdmin allow to maintain User email accounts
%package %{etemplate}
Summary: The eGroupWare %{etemplate} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{etemplate}
eTemplates are a new widget-based template system for eGroupWare with an interactive editor and a database table-editor (creates tables_current.inc.php and updates automaticaly tables_update.inc.php)
%package %{felamimail}
Summary: The eGroupWare %{felamimail} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-emailadmin = %{version}-%{packaging}
%description %{felamimail}
The %{felamimail} Email Reader is a other Email application for phpgw eGroupWare.
%package %{filemanager}
Summary: The eGroupWare %{filemanager} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{filemanager}
This is the %{filemanager} app for eGroupWare.
%package %{forum}
Summary: The eGroupWare %{forum} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{forum}
This is the %{forum} app for eGroupWare.
%package %{ftp}
Summary: The eGroupWare %{ftp} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{ftp}
This is the %{ftp} app for eGroupWare.
%package %{fudforum}
Summary: The eGroupWare %{fudforum} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{fudforum}
This is the %{fudforum} app for eGroupWare.
%package %{headlines}
Summary: The eGroupWare %{headlines} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{headlines}
This is the %{headlines} app for eGroupWare.
%package %{infolog}
Summary: The eGroupWare %{infolog} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-etemplate = %{version}-%{packaging}
%description %{infolog}
This is the %{infolog} app for eGroupWare.
%package %{jinn}
Summary: The eGroupWare %{jinn} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{jinn}
The %{jinn} app is a multi-site, multi-database, multi-user/-group, database driven Content Management System written in and for the eGroupWare Framework.
%package %{manual}
Summary: The eGroupWare %{manual} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{manual}
This is the %{manual} app for eGroupWare.
%package %{messenger}
Summary: The eGroupWare %{messenger} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{messenger}
This is the %{messenger} app for eGroupWare.
%package %{news_admin}
Summary: The eGroupWare %{news_admin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{news_admin}
This is the %{news_admin} app for eGroupWare.
%package %{phpbrain}
Summary: The eGroupWare %{phpbrain} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{phpbrain}
This is the %{phpbrain} app for eGroupWare.
%package %{phpldapadmin}
Summary: The eGroupWare %{phpldapadmin} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{phpldapadmin}
This is the cire %{phpldapadmin} of eGroupWare.
%package %{phpsysinfo}
Summary: The eGroupWare %{phpsysinfo} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{phpsysinfo}
This is the cire %{phpsysinfo} of eGroupWare.
%package %{polls}
Summary: The eGroupWare %{polls} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{polls}
This is the %{polls} app for eGroupWare.
%package %{projects}
Summary: The eGroupWare %{projects} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-addressbook = %{version}-%{packaging}
%description %{projects}
This is the %{projects} app for eGroupWare.
%package %{registration}
Summary: The eGroupWare %{registration} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{registration}
This is the %{registration} app for eGroupWare.
%package %{skel}
Summary: The eGroupWare Skeleton application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{skel}
This is the Skeleton app for eGroupWare.
%package %{sitemgr}
Summary: The eGroupWare Sitemanager CMS application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{sitemgr}
This is the Sitemanager CMS app for eGroupWare.
%package %{stocks}
Summary: The eGroupWare %{stocks} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{stocks}
This is the %{stocks} app for eGroupWare.
%package %{tts}
Summary: The eGroupWare trouble ticket system application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}
%description %{tts}
This is the trouble ticket system} app for eGroupWare.
%package %{wiki}
Summary: The eGroupWare %{wiki} application
Group: Web/Database
AutoReqProv: no
Requires: eGroupWare = %{version}-%{packaging}, eGroupWare-etemplate = %{version}-%{packaging}
%description %{wiki}
This is the %{wiki} app for eGroupWare.
%prep %prep
%setup -n %{egwdirname} %setup -n %{egwdirname}
%build %build
# no build required
%install %install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT%{prefix}/%{egwdirname} mkdir -p $RPM_BUILD_ROOT%{prefix}/egroupware
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname} cp -aRf * $RPM_BUILD_ROOT%{prefix}/egroupware
rm -f $RPM_BUILD_ROOT%{prefix}/%{egwdirname}/.htaccess
#cp .htaccess $RPM_BUILD_ROOT%{prefix}/%{egwdirname} #cp .htaccess $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
%clean %clean
@ -343,16 +56,12 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
%post %post
echo "***************************************************" echo "***************************************************"
echo "* Attention: You must create the folder FILES *" echo "* Attention: You must create the FILES directory *"
echo "* manually outside the root from your *" echo "* manually outside the document root of your *"
echo "* webserver root. *" echo "* webserver: *"
echo "* The folder must include the folders users and *" echo "* eg. docroot: /var/www/html *"
echo "* files like: /var/www/ *" echo "* FILES: /var/www/egwfiles/ *"
echo "* egwfiles/ *"
echo "* users *"
echo "* groups *"
echo "* Give the webserver the rights to read and write *" echo "* Give the webserver the rights to read and write *"
echo "* and no anonymous access to this folders *" echo "* and no anonymous access to this folders *"
echo "* *************************************************" echo "* *************************************************"
@ -360,7 +69,7 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
echo "* the follow lines to you httpd.conf *" echo "* the follow lines to you httpd.conf *"
echo "* *" echo "* *"
echo "* <Directory /var/www/html/egroupware> *" echo "* <Directory /var/www/html/egroupware> *"
echo "* <Files ~ "\.\(inc.php\|tpl\)$"> *" echo "* <Files ~ "\.inc\.php$"> *"
echo "* Order allow,deny *" echo "* Order allow,deny *"
echo "* Deny from all *" echo "* Deny from all *"
echo "* </Files> *" echo "* </Files> *"
@ -372,151 +81,85 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
%files %files
%defattr(0744,root,root) %defattr(0744,root,root)
%dir %{prefix}/%{egwdirname} %dir %{prefix}/%{egwdirname}
%{prefix}/%{egwdirname}/home.php
%{prefix}/%{egwdirname}/about.php %{prefix}/%{egwdirname}/about.php
%{prefix}/%{egwdirname}/anon_wrapper.php %{prefix}/%{egwdirname}/anon_wrapper.php
%{prefix}/%{egwdirname}/notify.php
%{prefix}/%{egwdirname}/notify_simple.php
%{prefix}/%{egwdirname}/redirect.php
%{prefix}/%{egwdirname}/set_box.php
%{prefix}/%{egwdirname}/xmlrpc.php
%{prefix}/%{egwdirname}/soap.php
%{prefix}/%{egwdirname}/header.inc.php.template %{prefix}/%{egwdirname}/header.inc.php.template
%{prefix}/%{egwdirname}/.htaccess
%{prefix}/%{egwdirname}/index.php %{prefix}/%{egwdirname}/index.php
%{prefix}/%{egwdirname}/login.php %{prefix}/%{egwdirname}/login.php
%{prefix}/%{egwdirname}/logout.php %{prefix}/%{egwdirname}/logout.php
%{prefix}/%{egwdirname}/notify.php
%{prefix}/%{egwdirname}/notify_simple.php
%{prefix}/%{egwdirname}/notifyxml.php
%{prefix}/%{egwdirname}/redirect.php
%{prefix}/%{egwdirname}/rpc.php
%{prefix}/%{egwdirname}/set_box.php
%{prefix}/%{egwdirname}/soap.php
%{prefix}/%{egwdirname}/xajax.php
%{prefix}/%{egwdirname}/xmlrpc.php
%{prefix}/%{egwdirname}/CVS %{prefix}/%{egwdirname}/CVS
%{prefix}/%{egwdirname}/doc
%{prefix}/%{egwdirname}/phpgwapi
%{prefix}/%{egwdirname}/admin %{prefix}/%{egwdirname}/admin
%{prefix}/%{egwdirname}/doc
%{prefix}/%{egwdirname}/etemplate
%{prefix}/%{egwdirname}/home
%{prefix}/%{egwdirname}/phpgwapi
%{prefix}/%{egwdirname}/preferences %{prefix}/%{egwdirname}/preferences
%{prefix}/%{egwdirname}/setup %{prefix}/%{egwdirname}/setup
%{prefix}/%{egwdirname}/addressbook
%files %{addressbook} %{prefix}/%{egwdirname}/bookmarks
%defattr(0744,root,root) %{prefix}/%{egwdirname}/browser
%{prefix}/%{egwdirname}/%{addressbook} %{prefix}/%{egwdirname}/calendar
%{prefix}/%{egwdirname}/comic
%files %{backup} %{prefix}/%{egwdirname}/developer_tools
%defattr(0744,root,root) %{prefix}/%{egwdirname}/emailadmin
%{prefix}/%{egwdirname}/%{backup} %{prefix}/%{egwdirname}/felamimail
%{prefix}/%{egwdirname}/filemanager
%files %{bookmarks} %{prefix}/%{egwdirname}/filescenter
%defattr(0744,root,root) %{prefix}/%{egwdirname}/infolog
%{prefix}/%{egwdirname}/%{bookmarks} %{prefix}/%{egwdirname}/jinn
%{prefix}/%{egwdirname}/manual
%files %{calendar} %{prefix}/%{egwdirname}/mydms
%defattr(0744,root,root) %{prefix}/%{egwdirname}/news_admin
%{prefix}/%{egwdirname}/%{calendar} %{prefix}/%{egwdirname}/phpbrain
%{prefix}/%{egwdirname}/polls
%files %{comic} %{prefix}/%{egwdirname}/projectmanager
%defattr(0744,root,root) %{prefix}/%{egwdirname}/resources
%{prefix}/%{egwdirname}/%{comic} %{prefix}/%{egwdirname}/sambaadmin
%{prefix}/%{egwdirname}/sitemgr
%files %{developer_tools} %{prefix}/%{egwdirname}/syncml
%defattr(0744,root,root) %{prefix}/%{egwdirname}/wiki
%{prefix}/%{egwdirname}/%{developer_tools} %{prefix}/%{egwdirname}/workflow
%files %{email}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{email}
%files %{emailadmin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{emailadmin}
%files %{etemplate}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{etemplate}
%files %{felamimail}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{felamimail}
%files %{filemanager}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{filemanager}
%files %{forum}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{forum}
%files %{ftp}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{ftp}
%files %{fudforum}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{fudforum}
%files %{headlines}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{headlines}
%files %{infolog}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{infolog}
%files %{jinn}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{jinn}
%files %{manual}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{manual}
%files %{messenger}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{messenger}
%files %{news_admin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{news_admin}
%files %{phpbrain}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpbrain}
%files %{phpldapadmin}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpldapadmin}
%files %{phpsysinfo}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{phpsysinfo}
%files %{polls}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{polls}
%files %{projects}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{projects}
%files %{registration}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{registration}
%files %{sitemgr}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{sitemgr}
%files %{skel}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{skel}
%files %{stocks}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{stocks}
%files %{tts}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{tts}
%files %{wiki}
%defattr(0744,root,root)
%{prefix}/%{egwdirname}/%{wiki}
%changelog %changelog
* Mon Nov 14 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.2RC1-1
- first release candidate of the upcomming 1.2 release:
- complete rewrite of the calendar, plus new resource booking system
- new projectmanager applications using infolog and calendar data
- syncml to synchronise cell-phones, PDA's and outlook
- workflow application
- and many more ...
* Tue Sep 20 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.009-3
- disabled the xmlrpc log again by default
- fixed addressbook bug introduced by a backported bugfix from HEAD
* Mon Sep 12 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.009-2
- further xmlrpc security fixes (already included in the tgz from mid Aug)
- xmlrpc and soap subsystem is now deactivated by default, it can be enabled
via Admin >> site configuration if needed
* Fri Jul 16 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.008-2
- Fixed projects problem (editing of project not working, dates are allways
set to ~ 1970-01-01) introduced by security fix between 007 and 008
* Fri Jul 08 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.008-1
- Fixed xmlrpc security problems
* Sat Apr 15 2005 Ralf Becker <RalfBecker@outdoor-training.de> 1.0.0.007-2
- Fixed security problems reported by James from GulfTech Security Research
- new croation translations, significant enhancements in other languages
- many Bugfixes, see http://egroupware.org/cvschangelog-1.0/
* Sat Nov 06 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.006-1 * Sat Nov 06 2004 Reiner Jung <r.jung@creativix.net> 1.0.00.006-1
- Fix a security problem in JiNN application - Fix a security problem in JiNN application
- Bugfixes - Bugfixes
@ -572,22 +215,23 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
- bugfixes for upcomming 1.0 release - bugfixes for upcomming 1.0 release
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-2 * Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-2
- bugfix for broken calender ACL - RC3-4 bugfix for broken calender ACL
* Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-1 * Sat Feb 07 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.013-1
- Release RC3-3 is only a small bugfixing for some installations - Release RC3-3 is only a small bugfixing for some installations
- PostgreSQL bug fixed - PostgreSQL bug fixed
- Email Bug fixed - Email Bug fixed
- Login problem on some clients fixed
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-2 * Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-2
- We use the download problem at out server buf fix some other problems - We use the download problem at out server buf fix some other problems
* Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012-1 * Wed Jan 28 2004 Reiner Jung <r.jung@creativix.net> 0.9.99.012
- remove justweb template - remove justweb template
- Skel app added as package - Skel app added as package
- Messenger back in eGW - Messenger back in eGW
- Spanish translation finished - Spanish translation finished
- Ukrain translation added to eGW and more than 50% finished - Ukrain translation 50% finished
- extensions on Italian translation - extensions on Italian translation
- backup rewrite - backup rewrite
- Poll upp is rewrited - Poll upp is rewrited
@ -596,9 +240,9 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
- extension on idots - extension on idots
- new template set included jerryr (preview to 1.0 version) - new template set included jerryr (preview to 1.0 version)
- felamimail extension (folders) - felamimail extension (folders)
- email bugfixes and some nice extensions - email bugfixes and extensions
- encrytion from passwords for header.inc.php and database passwords added
- username case sensitive - username case sensitive
- encrytion from passwords for header.inc.php and database passwords added
- JiNN CMS updated - JiNN CMS updated
- addressbook import extended - addressbook import extended
- wiki some extensions - wiki some extensions
@ -611,7 +255,7 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
* Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-1 * Mon Dec 22 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008-1
- Many Bugs fixed. - Many Bugs fixed.
- Extension in Idots - Extension in Idots
- fuforum updated - fudforum updated
- Registration application working again - Registration application working again
* Mon Dec 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008 * Mon Dec 08 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.008
@ -631,9 +275,9 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
- Many Bugs fixed. - Many Bugs fixed.
- TTS with Petri Net Support - TTS with Petri Net Support
- CSV import to Calendar, Infolog - CSV import to Calendar, Infolog
- Experimental, internal usage from UTF-8 available
- Projects app extendet and 1st preview from gant charts available - Projects app extendet and 1st preview from gant charts available
- Simplified Chinese translation added - Simplified Chinese translation added
- Experimental, internal usage from UTF-8 available
- New layout for setup - New layout for setup
* Wed Sep 25 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.004 * Wed Sep 25 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.004
@ -651,5 +295,5 @@ cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{egwdirname}
- improved displaying of messages. added some javascript code, to make switching beetwen message, attachments and header lines faster. Updated the layout of the main page and the message display page to look better. Added support for emailadmin. felamimail needs now emailadmin to beinstalled. - improved displaying of messages. added some javascript code, to make switching beetwen message, attachments and header lines faster. Updated the layout of the main page and the message display page to look better. Added support for emailadmin. felamimail needs now emailadmin to beinstalled.
* Sat Aug 30 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.000 * Sat Aug 30 2003 Reiner Jung <r.jung@creativix.net> 0.9.99.000
- initianal eGroupWare package anouncement. - initial eGroupWare package anouncement.