Accepting request 69726 from home:cornelisbb:branches:Publishing
update to 2.0.0 and used url as source and gz no longer recompressed to bz2 OBS-URL: https://build.opensuse.org/request/show/69726 OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
550e6e3095
commit
a11fa164a0
28
lyx.spec
28
lyx.spec
@@ -20,29 +20,22 @@
|
||||
|
||||
Name: lyx
|
||||
#!BuildIgnore: lyx
|
||||
BuildRequires: ImageMagick aspell-devel boost-devel fdupes gv ispell libdrm-devel libjpeg-devel libqt4-devel python sgmltool update-desktop-files
|
||||
%if %suse_version > 1020
|
||||
BuildRequires: texlive-devel texlive-latex
|
||||
%else
|
||||
BuildRequires: te_latex tetex
|
||||
%endif
|
||||
BuildRequires: ImageMagick aspell-devel boost-devel fdupes gv hunspell-devel libdrm-devel libjpeg-devel libqt4-devel python sgmltool texlive-devel texlive-latex update-desktop-files
|
||||
License: LGPLv2.1+
|
||||
Group: Productivity/Publishing/TeX/Frontends
|
||||
Requires: texlive-latex ImageMagick
|
||||
AutoReqProv: on
|
||||
Version: 1.6.9
|
||||
Release: 6
|
||||
%define rversion 1.6.9
|
||||
Version: 2.0.0
|
||||
Release: 3
|
||||
Summary: LaTeX-Based WYSIWYG Editor
|
||||
Url: http://www.lyx.org/
|
||||
Source: lyx-%{rversion}.tar.bz2
|
||||
Source: ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.0.tar.gz
|
||||
Source1: lyx.desktop
|
||||
Source2: lyx.png
|
||||
# PATCH-FIX-UPSTREAM gcc46.patch -- Add missing include to fix compilation with gcc 4.6
|
||||
Patch: gcc46.patch
|
||||
Source3: lyxrc.dist
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Recommends: xindy
|
||||
Recommends: texlive-xetex xindy
|
||||
|
||||
%description
|
||||
LyX is a front-end for LaTeX under X11. It combines the comfortable use
|
||||
@@ -52,8 +45,7 @@ level attributes ("large italic") but high level layouts (styles) for
|
||||
each paragraph. Of course, low level formatting is still possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{rversion}
|
||||
%patch
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
#%{?suse_update_config:%{suse_update_config -f config}}
|
||||
@@ -73,7 +65,7 @@ TEXMF=$(kpsexpand '$TEXMFDIST')
|
||||
%if %suse_version < 1020
|
||||
--with-extra-inc=/usr/X11R6/include/X11 \
|
||||
%endif
|
||||
--with-aspell \
|
||||
--with-aspell --with-hunspell \
|
||||
--with-frontend=qt4
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
@@ -86,6 +78,10 @@ TEXMF=$(kpsexpand '$TEXMFDIST')
|
||||
%endif
|
||||
%endif
|
||||
make install DESTDIR=$RPM_BUILD_ROOT TEXMF=$TEXMF
|
||||
|
||||
# some defaults
|
||||
install -p -m644 -D %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/lyx/lyxrc.dist
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||
pushd $RPM_BUILD_ROOT%{_datadir}/lyx/doc/
|
||||
for i in *
|
||||
|
Reference in New Issue
Block a user