OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 10-Mar-2008 20:12:11
Branch: HEAD Handle: 2008031019121000
Added files:
openpkg-src/dovecot dovecot.spec
Log:
new package: dovecot 1.0.13 (IMAP Server)
Summary:
Revision Changes Path
1.1 +111 -0 openpkg-src/dovecot/dovecot.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/dovecot/dovecot.spec
============================================================================
$ cvs diff -u -r0 -r1.1 dovecot.spec
--- /dev/null 2008-03-10 20:11:00 +0100
+++ dovecot.spec 2008-03-10 20:12:11 +0100
@@ -0,0 +1,111 @@
+##
+## dovecot.spec -- OpenPKG RPM Package Specification
+## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
+##
+## 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.
+##
+
+# FIXME: rse: run-command stuff still missing
+
+# package version
+%define V_major 1.0
+%define V_minor 13
+
+# package information
+Name: dovecot
+Summary: IMAP Server
+URL: http://www.dovecot.org/
+Vendor: Timo Sirainen et al.
+Packager: OpenPKG Foundation e.V.
+Distribution: OpenPKG Community
+Class: EVAL
+Group: Mail
+License: MIT+LGPL
+Version: %{V_major}.%{V_minor}
+Release: 20080310
+
+# list of sources
+Source0:
http://www.dovecot.org/releases/%{V_major}/dovecot-%{version}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20060823
+PreReq: OpenPKG, openpkg >= 20060823
+BuildPreReq: openssl
+PreReq: openssl
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Dovecot is an IMAP and POP3 server, written with security primarily
+ in mind. Dovecot is an excellent choice for both small and large
+ installations. It's fast, simple to set up, requires no special
+ administration and it uses very little memory.
+
+%track
+ prog dovecot = {
+ version = %{version}
+ url = http://www.dovecot.org/download.html
+ regex = dovecot-(__VER__)\.tar\.gz
+ }
+
+%prep
+ %setup -q
+
+%build
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --sysconfdir=%{l_prefix}/etc/dovecot \
+ --with-libiconv-prefix=%{l_prefix} \
+ --with-ssldir=%{l_prefix}/etc/dovecot \
+ --with-ssl=openssl \
+ --with-rundir=%{l_prefix}/var/dovecot/run \
+ --with-statedir=%{l_prefix}/var/dovecot/db \
+ --with-storages=maildir,mbox \
+ --without-docs
+ %{l_make} %{l_mflags -O}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/dovecot/*/*.la >/dev/null 2>&1 ||
true
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/include/dovecot
+ mv $RPM_BUILD_ROOT%{l_prefix}/etc/dovecot/dovecot-example.conf \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/dovecot/dovecot.conf
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/var/dovecot/run \
+ $RPM_BUILD_ROOT%{l_prefix}/var/dovecot/log \
+ $RPM_BUILD_ROOT%{l_prefix}/var/dovecot/db
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/dovecot/dovecot.conf' \
+ '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/dovecot'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]