1 Summary: A WYSYWIG frontend to LaTeX
5 Copyright: see COPYING file
7 Url: http://www.lyx.org/
8 Packager: Kayvan A. Sylvan <kayvan@sylvan.com>
9 Source: ftp://ftp.lyx.org/pub/lyx/stable/lyx-%{PACKAGE_VERSION}.tar.gz
10 BuildRoot: /var/tmp/rpm/lyx-root
13 Requires: xforms >= 0.88, tetex-xdvi, tetex, tetex-latex
16 LyX is a modern approach of writing documents with a computer
17 which breaks with the tradition of the obsolete typewriter
18 concept. It is designed for people who want a professional
19 output with a minimum of time and effort, without becoming specia-
20 lists in typesetting. Compared to common word processors LyX
21 will increase the productivity a lot, since most of the type-
22 setting will be done by the computer, not the author. With LyX
23 the author can concentrate on the contents of his writing,
24 since the computer will take care of the look.
27 Summary: Files for LyX packaged for tetex
29 Group: Applications/Publishing
31 %description -n tetex-lyx
32 This package contains the LaTeX files for LyX installed in the normal
33 place that the Redhat tetex package is installed and would see it.
40 CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" \
41 ./configure --prefix=/usr --without-warnings
46 rm -rf ${RPM_BUILD_ROOT}
47 install -d -m 755 ${RPM_BUILD_ROOT}
48 make prefix=${RPM_BUILD_ROOT}/usr install
49 gzip -f9 ${RPM_BUILD_ROOT}/usr/man/man?/*
52 # Set up the lyx-specific class files where TeX can see then
54 TEXMF=/usr/share/texmf
55 mkdir -p ${RPM_BUILD_ROOT}${TEXMF}/tex/latex
56 cp -r ${RPM_BUILD_ROOT}/usr/share/lyx/tex \
57 ${RPM_BUILD_ROOT}${TEXMF}/tex/latex/lyx
62 cp -a images/lyx.xpm ${RPM_BUILD_ROOT}/usr/share/lyx/images/
63 cp lib/reLyX/README README.reLyX
66 rm -rf ${RPM_BUILD_ROOT}
69 # Before configuring lyx for the local system
70 # PATH needs to be imported
71 if [ -f /etc/profile ]; then
77 echo "Configuring LyX for your system..."
78 cd $RPM_INSTALL_PREFIX/share/lyx
82 # Fix the TeX file hash
86 # Before configuring lyx for the local system
87 # PATH needs to be imported
88 if [ -f /etc/profile ]; then
94 echo "Re-configuring LyX for your system..."
95 cd $RPM_INSTALL_PREFIX/share/lyx
99 # Fix the TeX file hash
103 # Before configuring lyx for the local system
104 # PATH needs to be imported
105 if [ -f /etc/profile ]; then
111 echo "Reconfiguring LyX for your system..."
112 cd $RPM_INSTALL_PREFIX/share/lyx
116 %attr(-,root,root) %doc ABOUT-NLS ANNOUNCE OLD-CHANGES COPYING
117 %attr(-,root,root) %doc README UPGRADING ChangeLog NEWS
118 %attr(-,root,root) %doc lib/CREDITS README.reLyX
120 %attr(-,root,root) /usr/bin/*
121 %attr(-,root,root) /usr/man/*
122 %attr(-,root,root) /usr/share/locale/*/LC_MESSAGES/*
123 %attr(-,root,root) /usr/share/lyx
126 %attr(-,root,root) /usr/share/texmf/tex/latex/lyx