1 %define version_suffix @RPM_VERSION_SUFFIX@
3 Summary: A WYSIWYM
(What You See Is What You Mean
) document processor
8 Group: Applications
/Publishing
9 URL: http
://www.lyx.org
/
10 Packager: The LyX Team
<lyx
-devel@lists.lyx.org
>
11 Source: ftp
://ftp.lyx.org
/pub
/lyx
/stable
/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-root
17 LyX is a document processor that encourages an approach to writing
18 based on the structure of your documents
, not their appearance. It
19 is released under a Free Software
/Open
Source license
(GPL v
.2).
21 LyX is
for people that write and want their writing to look great
,
22 right out of the box. No more endless tinkering with formatting
23 details
, 'finger painting' font attributes or futzing around with
24 page boundaries. You just write. In the background
, Prof. Knuth's
25 legendary TeX typesetting engine makes you look good.
27 On screen
, LyX looks like any word processor
; its printed output
--
28 or richly cross
-referenced PDF
, just as readily produced
-- looks
29 like nothing
else. Gone are the days of industrially bland .docs
,
30 all looking similarly not
-quite
-right
, yet coming out unpredictably
31 different on different printer drivers. Gone are the crashes
32 'eating' your dissertation the evening before going to press.
34 LyX is stable and fully featured. It is a multi
-platform
, fully
35 internationalized application running natively on Unix
/Linux
, the
36 Macintosh and modern Windows platforms.
42 .
/configure
--prefix
=%{_prefix} \
43 --mandir
=%{_mandir} --bindir=%{_bindir} --datadir=%{_datadir} \
44 --enable-build
-type=rel \
50 rm -rf $
{RPM_BUILD_ROOT
}
51 install -d
-m
755 $
{RPM_BUILD_ROOT
}
52 make DESTDIR
=$
{RPM_BUILD_ROOT
} install
53 gzip
-f9 $
{RPM_BUILD_ROOT
}%{_mandir}/man?
/*
56 # Set up the lyx-specific class files where TeX can see them
58 TEXMF
=%{_datadir}/texmf
59 mkdir -p $
{RPM_BUILD_ROOT
}$
{TEXMF
}/tex
/latex
60 mv $
{RPM_BUILD_ROOT
}%{_datadir}/%{name}/tex \
61 $
{RPM_BUILD_ROOT
}/$
{TEXMF
}/tex
/latex
/%{name}
66 # Don't use %{name}.png, this will not work with --version-suffix
67 cp
-a lib
/images
/lyx.png $
{RPM_BUILD_ROOT
}%{_datadir}/%{name}/images
/
70 rm -rf $
{RPM_BUILD_ROOT
}
73 # Make TeX understand where LyX-specific packages are
77 # Fix the TeX file hash
83 %doc ABOUT
-NLS ANNOUNCE COPYING
84 %doc README UPGRADING NEWS
88 %{_datadir}/locale
/*/LC_MESSAGES
/*
90 %{_datadir}/texmf/tex/latex/%{name}