OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 28-Jun-2003 15:00:50
Branch: HEAD Handle: 2003062814004801
Modified files:
openpkg-src/squirrelmail
squirrelmail.spec
openpkg-web news.txt
Log:
just cosmetics: par(1) %description and add the usual blank line
before comments/blocks
Summary:
Revision Changes Path
1.7 +17 -7 openpkg-src/squirrelmail/squirrelmail.spec
1.5044 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/squirrelmail/squirrelmail.spec
============================================================================
$ cvs diff -u -r1.6 -r1.7 squirrelmail.spec
--- openpkg-src/squirrelmail/squirrelmail.spec 26 Jun 2003 13:21:08 -0000
1.6
+++ openpkg-src/squirrelmail/squirrelmail.spec 28 Jun 2003 13:00:49 -0000
1.7
@@ -33,7 +33,7 @@
Group: Mail
License: GPL
Version: 1.4.0
-Release: 20030626
+Release: 20030628
# list of sources
Source0:
http://download.sourceforge.net/squirrelmail/squirrelmail-%{version}.tar.bz2
@@ -50,16 +50,17 @@
%description
SquirrelMail is a standards-based webmail package written in
PHP4. It includes built-in pure PHP support for the IMAP and
- SMTP protocols, and all pages render in pure HTML 4.0 (with
- no Javascript) for maximum compatibility across browsers. It
- has very few requirements and is very easy to configure and
- install. SquirrelMail has all the functionality you would
- want from an email client, including strong MIME support,
- address books, and folder manipulation.
+ SMTP protocols, and all pages render in pure HTML 4.0 (with no
+ Javascript) for maximum compatibility across browsers. It has
+ very few requirements and is very easy to configure and install.
+ SquirrelMail has all the functionality you would want from an email
+ client, including strong MIME support, address books, and folder
+ manipulation.
%prep
%setup -q
rm -f plugins/make_archive.pl
+
# rearrange the documentation
mv AUTHORS ChangeLog COPYING INSTALL README UPGRADE doc/
mv ReleaseNotes doc/ReleaseNotes.txt
@@ -74,6 +75,7 @@
mv plugins/squirrelspell/doc/* doc/plugins/squirrelspell
rm -f doc/plugins/squirrelspell/index.php
rm -rf plugins/squirrelspell/doc
+
# fixup various files
echo "left_refresh=300" >>data/default_pref
echo "hour_format=1" >>data/default_pref
@@ -83,16 +85,19 @@
%install
rm -rf $RPM_BUILD_ROOT
+
# create directory structure
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/squirrelmail \
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/prefs \
$RPM_BUILD_ROOT%{l_prefix}/var/squirrelmail/spool/attach
+
# install default_pref
%{l_shtool} install -c -m 644 \
data/default_pref \
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/prefs/
+
# install the config files
%{l_shtool} install -c -m 644 \
-e 's;@l_prefix@;%{l_prefix};g' \
@@ -103,6 +108,7 @@
%{l_shtool} install -c -m 644 \
config/config_local.php \
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/
+
# install the squirrelmail configuration perl script
%{l_shtool} install -c -m 755 \
-e 's;chdir($dir);chdir("%{l_prefix}/etc/squirrelmail");g' \
@@ -111,14 +117,17 @@
-e 's;config/config_local.php;config_local.php;g' \
config/conf.pl \
$RPM_BUILD_ROOT%{l_prefix}/bin/squirrelconf
+
# install main index file to view in client browser
%{l_shtool} install -c -m 644 \
index.php \
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/
+
# copy over the rest, a lot of stuff
for dir in class functions help images include locale plugins src themes; do
cp -rp $dir $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/
done
+
# replace false config paths throught
%{l_shtool} subst \
-e 's;SM_PATH \. \(.\)config/;\1%{l_prefix}/etc/squirrelmail/;g' \
@@ -131,6 +140,7 @@
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/message_details/*.php
\
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/plugins/squirrelspell/*.php \
$RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/src/*.php
+
# determine package ingredients and tag config files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5043 -r1.5044 news.txt
--- openpkg-web/news.txt 28 Jun 2003 12:57:28 -0000 1.5043
+++ openpkg-web/news.txt 28 Jun 2003 13:00:48 -0000 1.5044
@@ -1,3 +1,4 @@
+28-Jun-2003: Upgraded package: P<squirrelmail-1.4.0-20030628>
28-Jun-2003: Upgraded package: P<openjade-1.3.2-20030628>
28-Jun-2003: Upgraded package: P<postgresql-7.3.3-20030628>
28-Jun-2003: Upgraded package: P<cadaver-0.21.0-20030628>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]