OpenPKG CVS Repository
http://cvs.openpkg.org/
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 26-Feb-2003 13:28:57
Branch: HEAD Handle: 2003022612285502
Added files:
openpkg-re/vcheck vc.lyx
openpkg-src/lyx lyx.spec
Modified files:
openpkg-web news.txt
Log:
initial release, qt option is broken
Summary:
RevisionChanges Path
1.1 +9 -0 openpkg-re/vcheck/vc.lyx
1.1 +173 -0 openpkg-src/lyx/lyx.spec
1.3460 +1 -0 openpkg-web/news.txt
patch -p0 '@@ .'
Index: openpkg-re/vcheck/vc.lyx
$ cvs diff -u -r0 -r1.1 vc.lyx
--- /dev/null 2003-02-26 13:28:55.0 +0100
+++ vc.lyx2003-02-26 13:28:55.0 +0100
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog lyx = {
+ version = 1.3.0
+ url = ftp://ftp.lyx.org/pub/lyx/stable/
+ regex = lyx-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 '@@ .'
Index: openpkg-src/lyx/lyx.spec
$ cvs diff -u -r0 -r1.1 lyx.spec
--- /dev/null 2003-02-26 13:28:57.0 +0100
+++ lyx.spec 2003-02-26 13:28:57.0 +0100
@@ -0,0 +1,173 @@
+##
+## lyx.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 Cable Wireless Deutschland GmbH
+## Copyright (c) 2000-2003 The OpenPKG Project http://www.openpkg.org/
+## Copyright (c) 2000-2003 Ralf S. Engelschall [EMAIL PROTECTED]
+##
+## 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 mlelstv - JUNK because Qt does not yet build
+
+%define V_lyx1.3.0
+%define V_xforms 1.0
+
+# package information
+Name: lyx
+Summary: Graphical frontend for LaTeX (nearly WYSIWYG)
+URL: http://www.lyx.org/
+Vendor: The LyX Team
+Packager: The OpenPKG Project
+Distribution: OpenPKG [JUNK]
+Group:Print
+License: GPL2
+Version: %{V_lyx}
+Release: 20030226
+
+# list of sources
+Source0: ftp://ftp.lyx.org/pub/lyx/stable/lyx-%{V_lyx}.tar.gz
+Source1:
ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/xforms-%{V_xforms}-release.tgz
+Patch0: lyx.patch
+
+# package options
+%option with_xforms yes
+%option with_qt no
+
+%if %{with_xforms} == yes
+%undefine with_qt
+%define with_qt no
+%endif
+%if %{with_xforms} == no
+%undefine with_qt
+%define with_qt yes
+%endif
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot:%{l_buildroot}
+BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, perl
+BuildPreReq: X11, tetex, gettext, libiconv
+%if %{with_xforms} == yes
+BuildPreReq: jpeg, tiff, xpm
+%endif
+%if %{with_qt} == yes
+BuildPreReq: qt
+%endif
+PreReq: OpenPKG, openpkg = 20030103
+PreReq: X11, tetex, tetex::with_x11 = yes, gv, ghostscript
+AutoReq: no
+AutoReqProv: no
+
+%description
+LyX is an advanced open source document processor that encourages
+an approach to writing based on the structure of your documents,
+not their appearance. LyX lets you concentrate on writing, leaving
+details of visual layout to the software.
+
+%prep
+%setup -q -c
+%if %{with_xforms} == yes
+%setup -q -T -D -a 1
+( cd xforms-%{V_xforms}-release
+ %patch0 -p0
+) || exit 1
+%endif
+
+%build
+x11_bin=`%{l_prefix}/etc/rc --query x11_bindir`
+x11_inc=`%{l_prefix}/etc/rc --query