256 lines
8.4 KiB
RPMSpec
256 lines
8.4 KiB
RPMSpec
|
#
|
||
|
# spec file for package lyx (Version 1.4.2)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: lyx
|
||
|
#!BuildIgnore: lyx
|
||
|
BuildRequires: ImageMagick aspell-devel boost-devel gv ispell libdrm-devel libjpeg-devel lprng qt3-devel sgmltool te_ams te_latex te_web update-desktop-files
|
||
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||
|
Group: Productivity/Publishing/TeX/Frontends
|
||
|
Requires: tetex te_latex ImageMagick free-ttf-fonts
|
||
|
Autoreqprov: on
|
||
|
Version: 1.4.2
|
||
|
Release: 14
|
||
|
Summary: LaTeX-Based WYSIWYG Editor
|
||
|
URL: http://www.lyx.org/
|
||
|
Source: lyx-%{version}.tar.bz2
|
||
|
Patch: debugstream.diff
|
||
|
Patch1: boost_regex.diff
|
||
|
Patch5: autogen.diff
|
||
|
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}-%{version}
|
||
|
%patch
|
||
|
%patch1
|
||
|
%patch5
|
||
|
|
||
|
%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 \
|
||
|
--without-included-boost \
|
||
|
--with-aspell \
|
||
|
--with-frontend=qt \
|
||
|
--with-qt-dir=$QTDIR \
|
||
|
--with-qt-libraries=$QTDIR/%{_lib} \
|
||
|
--with-qt-includes=$QTDIR/include
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%install
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||
|
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 ChangeLog INSTALL* NEWS \
|
||
|
README* 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
|
||
|
|
||
|
%clean
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%docdir /usr/share/lyx/doc
|
||
|
%doc %{_defaultdocdir}/lyx
|
||
|
/usr/share/locale/*/LC_MESSAGES/lyx.mo
|
||
|
/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 -n lyx
|
||
|
* 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
|
||
|
* Thu Apr 24 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
|