I've been looking for too but you should know that
redhat packages are working perfectly on a SuSE system.
The are very few differences, the main ones are :
- the package do not have the same name (=> use rpm --nodeps)
- the files hierarchy are a little different, the most common and
obvious change is doc goes in /usr/doc/package/[name of the package]

Anyway here is included the 1.1.4 spec file from the SuSE 6.4 
Perharp's it could work by simply deleting the patch1 stuff and
adapting the patch1 stuff

Cordially
Emmanuel

"Kayvan A. Sylvan" wrote:
> 
> Does anyone have any SUSE RPMs for lyx they can upload to ftp.sylvan.com?
> 
> Just put them into ftp://ftp.sylvan.com/incoming and I will have them for
> when folks like Ramin come looking in my ftp area.
> 
>                         ---Kayvan
> 
> ----- Forwarded message from Ramin Yasdi <[EMAIL PROTECTED]> -----
> 
> Delivered-To: [EMAIL PROTECTED]
> Date: Tue, 27 Jun 2000 14:17:23 +0200
> From: Ramin Yasdi <[EMAIL PROTECTED]>
> Organization: gmd.de
> X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
> X-Accept-Language: de-DE
> To: [EMAIL PROTECTED]
> Subject: SUSE RPMs
> 
> Dear Kayan,
> 
> Do you have a new SUSE RPMs of lyx 1.1.5 for my thinkpad laptop running
> on linux ?
> 
> Thanks in advance
> 
> Ramin
> 
> ----- End forwarded message -----
> 
> --
> Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
> Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
> http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory

-- 
      |\      _,,,---,,_       Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'    -.  ;-;;,_   mailto:[EMAIL PROTECTED] 
     |,4-  ) )-,_. ,\ (  `'-'  
    '---''(_/--'  `-'\_)
#
# spec file for package lyx (Version 1.1.4)
# 
# Copyright  (c)  2000  SuSE GmbH  Nuernberg, Germany.
#
# please send bugfixes or comments to [EMAIL PROTECTED]
#

# neededforbuild  xforms gpp libgpp xpm xformsd tetex te_latex te_web gs_serv gv 
gsview ispell hylafax lprold sgmltool
# usedforbuild    aaa_base aaa_dir base bash bindutil binutils bison bzip compress 
cpio cracklib devs diff ext2fs file fileutil find flex gawk gcc gdbm gettext gpm gpp 
gppshare groff gs_serv gsview gv gzip hylafax ispell kbd less libc libgpp libz lprold 
lx_suse make mktemp modules ncurses net_tool netcfg nkita nkitb nssv1 pam patch perl 
pgp ps rcs rpm sendmail sgmltool sh_utils shadow shlibs strace syslogd sysvinit te_ams 
te_latex te_web tetex texinfo textutil timezone unzip util vim xdevel xf86 xforms 
xformsd xpm xshared

Vendor:       SuSE GmbH, Nuernberg, Germany
Distribution: SuSE Linux 6.4 (i386)
Name:         lyx
Release:      28
Packager:     [EMAIL PROTECTED]

Copyright:    1995 Matthias Ettrich, 1995 - 2000 LyX Team
Group:        unsorted
Provides:     lyx 
Requires:     TeX
Autoreqprov:  on
Version:      1.1.4
Summary:      LyX - LaTeX based WYSIWYG editor 
Source: lyx-1.1.4.tar.gz
Patch0: lyx-1.1.4.dif
Patch1: patch-1.1.4fix1

%description
LyX is a frontend for LaTeX under X11. It combines the comfortable use
of a word processor with the high quality of LaTeX type
setting. Documents are almost WYSIWYG-like displayed.
Low level attributes ("large italic") are not directly chosen, but
high level layouts for each paragraph. Of course, low level formatting is
still possible.

Authors:
--------
    Matthias Ettrich <[EMAIL PROTECTED]>

SuSE series: tex

%prep
%setup -n lyx-1.1.4
%patch0 
%patch1 -p1
if [ -f Imakefile ] ; then xmkmf -a ; fi

%build
if [ -f Makefile.Linux ] ; then
    make -f Makefile.Linux compile
else
    make
fi ; 

%install
if [ -f Makefile.Linux ] ; then
    make -f Makefile.Linux install
else
    make install
fi ; 
if [ -f Imakefile ] ; then make install.man ; fi
echo "/usr/share/locale/*/LC_MESSAGES/lyx.mo" > filelist
%{?suse_check}

%files -f filelist
%docdir /usr/X11R6/man
%docdir /usr/openwin/man
%docdir /usr/doc/packages/lyx
%docdir /usr/share/lyx/doc
/usr/doc/packages/lyx
/usr/X11R6/bin/lyx
/usr/X11R6/bin/reLyX
/usr/share/texmf/tex/latex/lyx
%config /usr/share/lyx/lyxrc.example
%config /usr/share/lyx/lyxrc.defaults
%config /usr/share/lyx/textclass.lst
%config /usr/share/lyx/chkconfig.ltx
%config /usr/share/lyx/packages.lst
%doc /usr/share/lyx/CREDITS
/usr/share/lyx/doc
/usr/share/lyx/bind
/usr/share/lyx/clipart
/usr/share/lyx/configure
/usr/share/lyx/images
/usr/share/lyx/examples
/usr/share/lyx/kbd
/usr/share/lyx/layouts
/usr/share/lyx/templates
/usr/share/lyx/tex
/usr/share/lyx/reLyX
%doc /usr/share/man/man1/lyx.1.gz
%doc /usr/share/man/man1/reLyX.1.gz

%changelog -n lyx
* Wed Feb 23 2000 - [EMAIL PROTECTED]
- add Bugfix Patch
* Fri Feb 04 2000 - [EMAIL PROTECTED]
- changed to new version 1.1.4
* Sun Jan 16 2000 - [EMAIL PROTECTED]
- moved /usr/man to /usr/share/man
- added symlink to enable some styles in TeX
- applied a patch to fix some smaller bugs
* Thu Dec 30 1999 - [EMAIL PROTECTED]
- changed to new version 1.1.3
* Mon Sep 20 1999 - [EMAIL PROTECTED]
- added Requires TeX
* Mon Sep 13 1999 - [EMAIL PROTECTED]
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Mar 17 1999 - [EMAIL PROTECTED]
- changed to new version 1.0.1
* Wed Feb 24 1999 - [EMAIL PROTECTED]
- added xformsd to neededforbuild
* Wed Feb 11 1998 - [EMAIL PROTECTED]
- Changed to new Version 0.12.0pre8
* Tue Oct 07 1997 - [EMAIL PROTECTED]
- Prepared package for automatic build
* Mon May 12 1997 - [EMAIL PROTECTED]
- New version 0.10.7
* Wed Jan 01 1997 - [EMAIL PROTECTED]
- Added lpr as spool command to system.lyxrc
* Wed Jan 01 1997 - [EMAIL PROTECTED]
- New Version 0.10.3
* Wed Jan 01 1997 - [EMAIL PROTECTED]
- New Version 0.10.1
--- Makefile.Linux
+++ Makefile.Linux      2000/01/16 17:12:21
@@ -0,0 +1,21 @@
+#
+#
+#
+# Makefile.Linux to integrate package into source tree of SuSE Linux.
+#
+# Copyright (c) 1995 SuSE Gmbh Fuerth, Germany.  All rights reserved.
+#
+#
+
+
+compile: 
+       ./configure --prefix=/usr --with-texmf=/usr/lib/teTeX/texmf 
+--with-extra-inc=/usr/X11R6/include/X11 --bindir=/usr/X11R6/bin 
+--mandir=/usr/share/man
+       make
+
+install:
+       make install TEXMF=/usr/lib/teTeX/texmf
+       strip /usr/X11R6/bin/lyx
+       rm -rf /usr/doc/packages/lyx
+       mkdir -p /usr/doc/packages/lyx
+       cd /usr/doc/packages/lyx && ln -s ../../../../usr/share/lyx/doc/* .
+       test -d /usr/share/texmf/tex/latex && (ln -s /usr/share/lyx/tex 
+/usr/share/texmf/tex/latex/lyx)

Reply via email to