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 openpkg$ Date: 06-Oct-2003 15:52:10
Branch: HEAD Handle: 2003100614520802
Added files:
openpkg-re/vcheck vc.elm
openpkg-src/elm elm.spec
Modified files:
openpkg-web news.txt
Log:
new package: elm 2.4.107 (Electronic Mail)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.elm
1.1 +104 -0 openpkg-src/elm/elm.spec
1.6869 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.elm
============================================================================
$ cvs diff -u -r0 -r1.1 vc.elm
--- /dev/null 2003-10-06 15:52:08.000000000 +0200
+++ vc.elm 2003-10-06 15:52:08.000000000 +0200
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog elm = {
+ version = 2.4ME+107
+ url = http://www.ozone.fmi.fi/KEH/
+ regex = elm-(2.4ME\+1\d+)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/elm/elm.spec
============================================================================
$ cvs diff -u -r0 -r1.1 elm.spec
--- /dev/null 2003-10-06 15:52:10.000000000 +0200
+++ elm.spec 2003-10-06 15:52:10.000000000 +0200
@@ -0,0 +1,104 @@
+##
+## elm.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package version
+%define V_base 2.4
+%define V_me 107
+
+# package information
+Name: elm
+Summary: Electronic Mail
+URL: http://www.ozone.fmi.fi/KEH/
+Vendor: Dave Taylor et al.
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Mail
+License: ELM License
+Version: %{V_base}.%{V_me}
+Release: 20031006
+
+# list of sources
+Source0: http://www.ozone.fmi.fi/KEH/elm-%{V_base}ME+%{V_me}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Elm (Electronic Mail) is the most popular Mail User Agent (MUA) from
+ the good USENET days. It contains enhanced MIME and character set
+ support, can read mail from POP or IMAP folders and can pass mail
+ to the PGP or GPG programs. It also includes modules for TLS/SSL,
+ iconv, and SMTP.
+
+%prep
+ %setup -q -n elm%{V_base}.ME+.%{V_me}
+
+%build
+ # configure program
+ %{l_shtool} subst \
+ -e 's;d_shared="$define";d_shared="$undef";g' \
+ -e 's;install_prefix/var/stage-$package;install_prefix/var/elm;g' \
+ -e 's;install_prefix/lib;install_prefix/lib/elm;g' \
+ -e
's;shlib="$install_prefix/$libdirname";shlib="$install_prefix/lib/elm";g' \
+ Configure
+ export cc="%{l_cc}"
+ export optimize="%{l_cflags -O}"
+ ./Configure -d -b -P%{l_prefix}
+
+ # build program
+ %{l_make} %{l_mflags -O}
+
+%install
+ # install program
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/elm
+ %{l_shtool} subst \
+ -e "s;\\(bin/elmregister master\\);\1 -F %{l_prefix}/lib/elm.filelist -R
$RPM_BUILD_ROOT;" \
+ -e 's;\(bin/elmregister replay\);#\1;' \
+ -e 's;\(bin/elmregister unstage\);#\1;' \
+ Makefile
+ %{l_make} %{l_mflags} install
+
+ # strip down installation
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/elm/elm.filelist
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/elm/elm.map.*
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/cat1
+ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+ strip $RPM_BUILD_ROOT%{l_prefix}/lib/elm/* >/dev/null 2>&1 || true
+
+ # determine installation files
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6868 -r1.6869 news.txt
--- openpkg-web/news.txt 6 Oct 2003 13:42:08 -0000 1.6868
+++ openpkg-web/news.txt 6 Oct 2003 13:52:08 -0000 1.6869
@@ -1,3 +1,4 @@
+06-Oct-2003: New package: P<elm-2.4.107-20031006>
06-Oct-2003: Upgraded package: P<openpkg-import-20031006-20031006>
06-Oct-2003: New package: P<openpkg-import-20031006-20031006>
06-Oct-2003: Upgraded package: P<fsl-1.3.0-20031006>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]