322 lines
11 KiB
RPMSpec
322 lines
11 KiB
RPMSpec
#
|
|
# spec file for package lyx (Version 1.6rc2)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: lyx
|
|
#!BuildIgnore: lyx
|
|
BuildRequires: ImageMagick aspell-devel boost-devel fdupes gv ispell libdrm-devel libjpeg-devel libqt4-devel lprng python sgmltool update-desktop-files
|
|
%if %suse_version > 1020
|
|
BuildRequires: texlive-devel texlive-latex
|
|
%else
|
|
BuildRequires: te_latex tetex
|
|
%endif
|
|
License: LGPL v2.1 or later
|
|
Group: Productivity/Publishing/TeX/Frontends
|
|
Requires: texlive-latex ImageMagick free-ttf-fonts
|
|
AutoReqProv: on
|
|
Version: 1.6rc2
|
|
Release: 1
|
|
%define rversion 1.6.0rc2
|
|
Summary: LaTeX-Based WYSIWYG Editor
|
|
Url: http://www.lyx.org/
|
|
Source: lyx-%{rversion}.tar.bz2
|
|
Source1: lyx.desktop
|
|
Source2: lyx.png
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
LyX is a front-end for LaTeX under X11. It combines the comfortable use
|
|
of a word processor with the high quality of LaTeX typesetting.
|
|
Documents are displayed in a WYSIWYG-like way. User does not choose low
|
|
level attributes ("large italic") but high level layouts (styles) for
|
|
each paragraph. Of course, low level formatting is still possible.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{rversion}
|
|
|
|
%build
|
|
#%{?suse_update_config:%{suse_update_config -f config}}
|
|
#./autogen.sh
|
|
export CFLAGS="$RPM_OPT_FLAGS -DHAVE_STRERROR -fno-inline"
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -DHAVE_STRERROR -fno-inline"
|
|
export QTDIR=/usr/lib/qt3/
|
|
export PATH=$QTDIR/bin:$PATH
|
|
%configure \
|
|
--with-texmf=/usr/lib/teTeX/texmf \
|
|
--with-extra-inc=/usr/X11R6/include/X11 \
|
|
--with-aspell \
|
|
--with-frontend=qt4 \
|
|
--with-qt-dir=$QTDIR \
|
|
--with-qt-libraries=$QTDIR/%{_lib} \
|
|
--with-qt-includes=$QTDIR/include
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT TEXMF=/usr/lib/teTeX/texmf
|
|
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
|
pushd $RPM_BUILD_ROOT/usr/share/lyx/doc/
|
|
for i in *
|
|
do
|
|
ln -s /usr/share/lyx/doc/$i \
|
|
$RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
|
|
done
|
|
popd
|
|
cp ABOUT-NLS ANNOUNCE COPYING INSTALL* NEWS \
|
|
README README.localization RELEASE-NOTES UPGRADING \
|
|
$RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/texmf/tex/latex
|
|
ln -s /usr/share/lyx/tex $RPM_BUILD_ROOT/usr/share/texmf/tex/latex/lyx
|
|
%suse_update_desktop_file -i lyx Office WordProcessor
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
%find_lang %name
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %name.lang
|
|
%defattr(-,root,root)
|
|
%docdir /usr/share/lyx/doc
|
|
%doc %{_defaultdocdir}/lyx
|
|
/usr/bin/lyx
|
|
/usr/bin/lyxclient
|
|
/usr/bin/tex2lyx
|
|
/usr/share/applications/lyx.desktop
|
|
/usr/share/pixmaps/lyx.png
|
|
/usr/share/texmf/tex/latex/lyx
|
|
/usr/share/lyx
|
|
%doc %{_mandir}/man1/lyx.1.gz
|
|
%doc %{_mandir}/man1/lyxclient.1.gz
|
|
%doc %{_mandir}/man1/tex2lyx.1.gz
|
|
|
|
%changelog
|
|
* Fri Sep 19 2008 stbinner@suse.de
|
|
- update to 1.6 release candidate 2 (bnc#427534)
|
|
* multiple work areas as tab items
|
|
* split views
|
|
* user-formattable collapsable insets
|
|
* layout modules
|
|
* citation dialog
|
|
* support for the LaTeX package hyperref
|
|
* dialog for insertion of hyperlinks and URLs
|
|
* revised support for wrapped floats
|
|
* new implementation of math macros
|
|
* TAB completion in the math editor and in text mode
|
|
* framework for tooltip showing in the document work area
|
|
* new symbols dialog
|
|
* and much more: http://wiki.lyx.org/LyX/NewInLyX16
|
|
* Tue Jul 22 2008 coolo@suse.de
|
|
- update to 1.5.5:
|
|
* for changelog, see http://www.lyx.org/announce/1_5_5.txt
|
|
- take out autogen.sh call
|
|
* Tue Apr 29 2008 dmueller@suse.de
|
|
- add upstream fix for qt 4.4 crash on startup
|
|
* Fri Mar 07 2008 dmueller@suse.de
|
|
- update to 1.5.4:
|
|
* for a changelog, see http://www.lyx.org/announce/1_5_4.txt
|
|
* Sat Jan 12 2008 coolo@suse.de
|
|
- update to 1.5.3 release: various UI improvements
|
|
* see http://www.lyx.org/announce/1_5_3.txt
|
|
* Sun Aug 05 2007 stbinner@suse.de
|
|
- update to 1.5.1 release: several bugs and crashes fixed
|
|
* Sat Aug 04 2007 stbinner@suse.de
|
|
- update to 1.5 release:
|
|
* Unicode support, Integrated CJK support
|
|
* Full interface support for Armenian and Farsi
|
|
* Multiple views of the same buffer
|
|
* Outliner and embedded Table of Contents
|
|
* Session management, Source code Viewer
|
|
* New Font Selection Interface, Tabular extensions
|
|
* Native support for Nomenclatures
|
|
* Tabbed Widgets, Qt 4 Fronend
|
|
* Change tracking enhancements
|
|
* Enhanced clipboard/selection handling
|
|
* Limited support for local class and layout files
|
|
* Thu Jul 05 2007 coolo@suse.de
|
|
- use %%find_lang
|
|
* Thu Jul 05 2007 coolo@suse.de
|
|
- put desktop file and icon into package
|
|
* Sun Apr 29 2007 stbinner@suse.de
|
|
- fix build for < 10.3
|
|
* Fri Apr 27 2007 bg@suse.de
|
|
- update to version 1.5.0beta2, notably:
|
|
o merge with CJK version
|
|
o initial unicode support
|
|
o qt4 frontend
|
|
o http://www.lyx.org/announce/1_5_0_beta2.txt
|
|
- use included boost (which is newer than our system boost, and
|
|
unfortunately not compatible)
|
|
- use TeXLive
|
|
* Sat Oct 21 2006 schwab@suse.de
|
|
- Fix bogus version check.
|
|
* Mon Jul 17 2006 bg@suse.de
|
|
- specfile cleanups and fixes for 1.4.2
|
|
- moved lyx binaries to /usr/bin to be in the same prefix as the
|
|
shared files.
|
|
* Thu Jul 13 2006 bg@suse.de
|
|
- update to version 1.4.2
|
|
o many bugfixes
|
|
o improved import filter for TeX files
|
|
o several new features like wordcount, branches and changetracking
|
|
for documents
|
|
o the configuration now searches for many more helper utilities
|
|
- use system boost libraries instead of included boost
|
|
* Tue Jul 11 2006 bg@suse.de
|
|
- make autogen.sh work with newer versions of autoconf
|
|
* Fri Jan 27 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Jan 23 2006 dmueller@suse.de
|
|
- package lyx.png icon as well
|
|
* Tue Nov 29 2005 pth@suse.de
|
|
- Fix compiler version check.
|
|
- Fix type-punning.
|
|
* Thu Nov 17 2005 dmueller@suse.de
|
|
- fix build
|
|
* Tue Aug 30 2005 bg@suse.de
|
|
- adding kpdf to checklist in configure (Bug #113507)
|
|
* Mon Jul 18 2005 bg@suse.de
|
|
- update to version 1.3.6
|
|
* Tue Jun 07 2005 bg@suse.de
|
|
- update to CVS version 20050606
|
|
* Tue Oct 19 2004 bg@suse.de
|
|
- update to version 1.3.5
|
|
- fix for locale no (Bug #27748)
|
|
* Thu Feb 19 2004 bg@suse.de
|
|
- update to version 1.3.4
|
|
* Tue Feb 03 2004 bg@suse.de
|
|
- update to version 1.3.3
|
|
* Sat Jan 10 2004 adrian@suse.de
|
|
- build as user
|
|
* Sat Aug 16 2003 adrian@suse.de
|
|
- add desktop file from kappfinder
|
|
* Mon Jul 28 2003 bg@suse.de
|
|
- add free-ttf-fonts to dependency list (Bug #28103)
|
|
* Mon Jul 28 2003 bg@suse.de
|
|
- update to version 1.3.2
|
|
- add ImageMagick to dependency list (Bug #27110)
|
|
- fix Bug #26642 (too many arguments in lyx configure)
|
|
* Mon Jun 16 2003 kukuk@suse.de
|
|
- Remove gsview from neededforbuild
|
|
* Thu Jun 12 2003 kukuk@suse.de
|
|
- Fix filelist
|
|
* Fri Apr 25 2003 mfabian@suse.de
|
|
- update to version 1.3.1
|
|
* Tue Mar 04 2003 mfabian@suse.de
|
|
- fix build for x86_64 (--with-qt-libraries=$QTDIR/%%{_lib})
|
|
* Mon Mar 03 2003 bg@suse.de
|
|
- update to version 1.3.0
|
|
- apply workaround for ICE
|
|
- change frontend to qt
|
|
* Thu Feb 06 2003 bg@suse.de
|
|
- removed -mminimal-toc for ppc64 (bug #23266).
|
|
* Thu Jan 30 2003 ro@suse.de
|
|
- update to 1.2.3 (builds with xforms-1.0)
|
|
- updated neededforbuild
|
|
* Mon Aug 12 2002 meissner@suse.de
|
|
- removed hylafax from neededforbuild
|
|
* Tue Jun 25 2002 olh@suse.de
|
|
- build with -mminimal-toc on ppc64
|
|
* Thu Jun 20 2002 mfabian@suse.de
|
|
- use special ASCII version of tolower instead of the locale
|
|
dependent tolower for case insensitive comparison of keywords
|
|
because otherwise the comparison fails in Turkish locale
|
|
(lower case of 'I' is 'i' without the dot in Turkish locale)
|
|
- fix kb_keymap::getiso for latin 5 locale (Turkish) to
|
|
make Turkish input work correctly.
|
|
* Wed Jun 12 2002 mfabian@suse.de
|
|
- update to 1.2.0
|
|
- remove lyx-1.1.6fix4-buildroot.patch, not needed anymore
|
|
- add /usr/X11R6/bin/noweb2lyx to file list
|
|
* Mon Apr 15 2002 bg@suse.de
|
|
- fix building with g++ 3.1
|
|
* Sat Mar 09 2002 ro@suse.de
|
|
- replaced lprold by lprng in neededforbuild
|
|
* Thu Jan 31 2002 mfabian@suse.de
|
|
- use BuildRoot
|
|
- fix SuSEconfig.lyx script for SuSE Linux 8.0
|
|
* Tue Jan 15 2002 bg@suse.de
|
|
- update to version 1.1.6fix4
|
|
* Fri Jul 20 2001 kukuk@suse.de
|
|
- changed neededforbuild <gs_serv> to <ghostscript-serv>
|
|
* Fri Jul 06 2001 bg@suse.de
|
|
- fix severe performance problems when displaying previews
|
|
(workaround for Bug #9191)
|
|
- resolve compile problem on ia64
|
|
- make sure, SuSEconfig.lyx is installed executable
|
|
* Thu Jun 28 2001 bg@suse.de
|
|
- update to version 1.6fix2
|
|
- resolves compile problems on several architectures
|
|
* Tue May 15 2001 froh@suse.de
|
|
- fixed suse_update_config
|
|
* Wed May 09 2001 uli@suse.de
|
|
- bzipped tarball
|
|
* Mon Apr 02 2001 bg@suse.de
|
|
- update to version 1.6fix1
|
|
- did not integrate Czech locales, this is subject of a bugzilla
|
|
entry.
|
|
- resolve Bug 5185 (SuSEconfig.lyx being too verbose)
|
|
- fix for gcc 2.95 is not necessary anymore.
|
|
* Mon Sep 25 2000 uli@suse.de
|
|
- added libjpeg to neededforbuild
|
|
* Tue Aug 29 2000 bg@suse.de
|
|
- added fix from uli for gcc 2.95.3
|
|
* Fri Aug 25 2000 bg@suse.de
|
|
- new version 1.1.5fix1
|
|
* Tue May 30 2000 kasal@suse.de
|
|
- patched to work with Czech locales
|
|
* Tue May 30 2000 bg@suse.de
|
|
- added two bugfix patches
|
|
- moved /usr/doc/packages
|
|
- removed Makefile.Linux
|
|
* Wed Feb 23 2000 bg@suse.de
|
|
- add Bugfix Patch
|
|
* Fri Feb 04 2000 bg@suse.de
|
|
- changed to new version 1.1.4
|
|
* Sun Jan 16 2000 bg@suse.de
|
|
- 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 bg@suse.de
|
|
- changed to new version 1.1.3
|
|
* Mon Sep 20 1999 ro@suse.de
|
|
- added Requires TeX
|
|
* Mon Sep 13 1999 bs@suse.de
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
* Wed Mar 17 1999 fehr@suse.de
|
|
- changed to new version 1.0.1
|
|
* Wed Feb 24 1999 ro@suse.de
|
|
- added xformsd to neededforbuild
|
|
* Wed Feb 11 1998 fehr@suse.de
|
|
- Changed to new Version 0.12.0pre8
|
|
* Tue Oct 07 1997 fehr@suse.de
|
|
- Prepared package for automatic build
|
|
* Mon May 12 1997 fehr@suse.de
|
|
- New version 0.10.7
|
|
* Thu Jan 02 1997 fehr@suse.de
|
|
- Added lpr as spool command to system.lyxrc
|
|
* Thu Jan 02 1997 fehr@suse.de
|
|
- New Version 0.10.3
|
|
* Thu Jan 02 1997 fehr@suse.de
|
|
- New Version 0.10.1
|