Summary: A WYSIWYM (What You See Is What You Mean) frontend to LaTeX Summary(ja): LaTeX形式でも保存できる簡易ワープロ Name: lyx Version: 1.4.2 Release: 0vl1 License: GPL Group: Applications/Editors URL: http://www.lyx.org/ Source: ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}.tar.bz2 # http://www.otaru-uc.ac.jp/~yokota/comp/layouts/japanize_lyx-1.3.5.tgz Source1: japanize_lyx-1.3.5.tgz # http://133.16.174.22/lyx/lyx-manual/ja_LyX_Doc-1.3.3-1.tar.gz Source2: ja_LyX_Doc-1.3.3-1.tar.gz # http://www.otaru-uc.ac.jp/~yokota/comp/CJK-LyX/lyx-1.4_1.mo Source3: lyx-1.4_1.mo # ftp://cellular.phys.pusan.ac.kr:21/CJK-LyX/qt/CJK-LyX-qt-1.4.2-1.patch Patch0: CJK-LyX-qt-1.4.2-1.patch Patch1: lyx-1.4.2-platex.patch Requires: tetex, python, qt, latex-xft-fonts BuildRequires: XOrg-devel, qt-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root Conflicts: CJK-LyX-qt Vendor: Project Vine Distribution: Vine Linux %description LyX is a modern approach to writing documents which breaks with the obsolete "typewriter paradigm" of most other document preparation systems. It is designed for people who want professional quality output with a minimum of time and effort, without becoming specialists in typesetting. The major innovation in LyX is WYSIWYM (What You See Is What You Mean). That is, the author focuses on content, not on the details of formatting. This allows for greater productivity, and leaves the final typesetting to the backends (like LaTeX) that are specifically designed for the task. With LyX, the author can concentrate on the contents of his writing, and let the computer take care of the rest. This is LyX built with the Qt frontend. %description -l ja LaTeX形式で出力もできる簡易ワープロです。数式の入力も簡単にできます。 特別な知識が無くても、最小限の努力でプロ並の出力を得られるように設計 してあります。 %prep %setup -q %patch0 -p1 -b .i18n %patch1 -p1 %build %configure --with-frontend=qt \ --without-warnings --disable-debug make %install rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/texmf/tex/latex mv -f ${RPM_BUILD_ROOT}%{_datadir}/lyx/tex \ ${RPM_BUILD_ROOT}%{_datadir}/texmf/tex/latex/lyx tar xzvf %{SOURCE1} install -m 644 layouts/* ${RPM_BUILD_ROOT}%{_datadir}/lyx/layouts/ tar xzvf %{SOURCE2} install -m 644 1.3.3/* ${RPM_BUILD_ROOT}%{_datadir}/lyx/doc/ install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_datadir}/locale/ja/LC_MESSAGES/lyx.mo mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications cat > ${RPM_BUILD_ROOT}%{_datadir}/applications/lyx.desktop <& /dev/null || : %{_bindir}/texhash if [ -d %{_datadir}/lyx ]; then cd %{_datadir}/lyx echo "Configuring LyX for your system..." %__python ./configure.py >& /dev/null || : fi %postun update-desktop-database %{_datadir}/applications >& /dev/null || : %{_bindir}/texhash %files -f %{name}.lang %defattr(-,root,root) %doc ABOUT-NLS ANNOUNCE COPYING README UPGRADING ChangeLog NEWS %{_bindir}/* %dir %{_datadir}/lyx %{_datadir}/lyx/* %dir %{_datadir}/texmf/tex/latex/lyx %{_datadir}/texmf/tex/latex/lyx/* %{_datadir}/applications/lyx.desktop %{_mandir}/man*/* %changelog * Mon Nov 6 2006 M.H - new upstream release - base spec file CJK-LyX-qt.spec and VinePlus lyx.spec