%define majver %(echo %version | cut -d. -f1-2) Name: lyx Version: 2.0.0 Release: 2mamba Summary: WYSIWYM (What You See Is What You Mean) document processor Group: Applications/Publishing Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.lyx.org/ Source0: ftp://ftp.lip6.fr/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.xz #Source0: ftp://ftp.lyx.org/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.xz Source1: lyx-desktop Patch0: %{name}-2.0.0-hunspell-1.3.patch License: GPL BuildRequires: gettext-devel BuildRequires: tetex >= 3.0 BuildRequires: tetex-latex >= 3.0 BuildRequires: tetex-xdvi >= 3.0 BuildRequires: tetex-dvips >= 3.0 BuildRequires: ImageMagick BuildRequires: latex2html BuildRequires: transfig >= 3.2.4 BuildRequires: linuxdoc-tools >= 0.9.21 BuildRequires: python BuildRequires: m4, perl, gimp, emacs-X11 ## AUTOBUILDREQ-BEGIN BuildRequires: aspell-devel BuildRequires: ghostscript-devel BuildRequires: glibc-devel BuildRequires: groff BuildRequires: gv BuildRequires: latex2html BuildRequires: libaiksaurus-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libICE-devel BuildRequires: libpng-devel BuildRequires: libqt4-devel BuildRequires: libselinux-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXcursor-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libz-devel BuildRequires: linuxdoc-tools BuildRequires: tetex BuildRequires: tetex-dvips BuildRequires: tetex-latex ## AUTOBUILDREQ-END Requires: tetex Requires: tetex-latex Requires: tetex-dvips Requires: ghostscript Requires: gv Requires: groff Requires: latex2html Requires: linuxdoc-tools BuildRoot: %{_tmppath}/%{name}-%{version}-root # FIXME: missing packages # checking for a Noweb -> LyX converter... # +checking for "noweb2lyx"... no # checking for a Noweb -> LaTeX converter... # +checking for "noweave"... no # # html2latex, wvCleanLatex (or word2x), chktex, maple, # sgmltools (or db2dvi), tiff2ps, tgif, gracebat %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. LyX was originally a Unix application, but now runs natively on Windows and MacOS X as well, thanks largely to the cross-platform Qt toolkit. LyX produces high quality, professional output -- using LaTeX, an industrial strength typesetting engine, in the background; LyX is far more than a front-end to LaTeX, however. No knowledge of LaTeX is necessary to use LyX, although it will give a user more power. LyX is stable and fully featured. It has been used for documents as large as a thesis, or as small as a business letter. Despite its simple GUI interface (available in many languages), it supports tables, figures, and hyperlinked cross-references, and has a best-of-breed math editor. %prep %setup -q %patch0 -p1 %build ./autogen.sh %configure \ --with-frontend=qt4 \ --with-qt4-dir=%{_libdir}/qt4 \ --with-aspell \ --without-included-boost %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %{find_lang} %{name} # create KDE menu link install -D -m644 %{S:1} \ %{buildroot}%{_datadir}/applications/lyx.desktop %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/lyx %{_bindir}/lyxclient %{_bindir}/tex2lyx #%{_bindir}/noweb2lyx #%{_bindir}/reLyX %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_mandir}/man1/* %{_datadir}/applications/lyx.desktop %doc COPYING NEWS README %changelog * Sat Jul 30 2011 Silvan Calarco 2.0.0-2mamba - rebuilt with hunspell 1.3 * Thu May 12 2011 Automatic Build System 2.0.0-1mamba - update to 2.0.0 * Mon Feb 07 2011 Automatic Build System 1.6.9-1mamba - automatic update by autodist * Tue Dec 14 2010 Automatic Build System 1.6.8-2mamba - automatic rebuild by autodist * Mon Nov 15 2010 Automatic Build System 1.6.8-1mamba - automatic update to 1.6.8 by autodist * Thu Jul 15 2010 Automatic Build System 1.6.7-1mamba - automatic update to 1.6.7 by autodist * Sun Jun 13 2010 Automatic Build System 1.6.6.1-2mamba - automatic rebuild by autodist * Sat May 29 2010 Automatic Build System 1.6.6.1-1mamba - automatic update to 1.6.6.1 by autodist * Tue May 18 2010 Automatic Build System 1.6.6-1mamba - automatic update to 1.6.6 by autodist * Sun Dec 06 2009 Automatic Build System 1.6.5-1mamba - automatic update to 1.6.5 by autodist * Tue Nov 17 2009 Automatic Build System 1.6.4.2-1mamba - automatic update to 1.6.4.2 by autodist * Tue Sep 01 2009 Automatic Build System 1.6.4.1-1mamba - automatic update to 1.6.4.1 by autodist * Sat Aug 22 2009 Automatic Build System 1.6.4-1mamba - automatic update to 1.6.4 by autodist * Wed Jun 10 2009 Automatic Build System 1.6.3-1mamba - automatic update by autodist * Sun Mar 15 2009 Silvan Calarco 1.6.2-1mamba - automatic update to 1.6.2 by autodist * Sat Dec 13 2008 Silvan Calarco 1.6.1-1mamba - automatic update to 1.6.1 by autodist * Thu Nov 13 2008 Silvan Calarco 1.6.0-1mamba - automatic update to 1.6.0 by autodist * Fri Aug 29 2008 Silvan Calarco 1.5.6-1mamba - update to 1.5.6 * Tue May 13 2008 Aleph0 1.5.5-1mamba - update to 1.5.5 * Wed Apr 30 2008 Aleph0 1.5.4-1mamba - update to 1.5.4 * Wed Oct 17 2007 Aleph0 1.5.2-1mamba - update to 1.5.2 * Tue Sep 04 2007 Aleph0 1.5.1-1mamba - update to 1.5.1 * Wed May 16 2007 Aleph0 1.4.4-1mamba - update to 1.4.4 - updated desktop file * Mon Jul 17 2006 Davide Madrisan 1.4.2-1qilnx - update to version 1.4.2 by autospec * Fri Mar 17 2006 Davide Madrisan 1.4.0-1qilnx - update to version 1.4.0 by autospec - added some missing build requirements * Tue Dec 06 2005 Stefano Cotta Ramusino 1.3.6-1qilnx - package created by autospec - added KDE menu link (using kappfinder)