This commit is contained in:
parent
ac16df7e5e
commit
2d2ae893fd
7
lyx.spec
7
lyx.spec
@ -21,9 +21,7 @@ Name: lyx
|
|||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
%if %{?suse_version} <1330
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%endif
|
|
||||||
BuildRequires: enchant-devel
|
BuildRequires: enchant-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: file-devel
|
BuildRequires: file-devel
|
||||||
@ -46,9 +44,8 @@ Source3: ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-%{version}.tar.xz.sig
|
|||||||
# This was rejected by upstream (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg133878.html)
|
# This was rejected by upstream (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg133878.html)
|
||||||
Patch0: lyx-2.1.2-xdg_open.patch
|
Patch0: lyx-2.1.2-xdg_open.patch
|
||||||
Patch1: lyx-2.1.2.2-remove-date-time.patch
|
Patch1: lyx-2.1.2.2-remove-date-time.patch
|
||||||
# PATCH-FIX-UPSTREAM backported fix for switch to gcc5 (will be part of 2.1.4)
|
# The following patches are from the 2.1.x branch, fixes build with gcc5
|
||||||
Patch2: Fix-build-with-GNU-libstdc++-C++11-ABI.patch
|
Patch2: Fix-build-with-GNU-libstdc++-C++11-ABI.patch
|
||||||
# PATCH-FIX-UPSTREAM build with automake 15 (fixed in 2.1.4)
|
|
||||||
Patch3: Automake-15.patch
|
Patch3: Automake-15.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: ImageMagick
|
Requires: ImageMagick
|
||||||
@ -125,9 +122,7 @@ document under "Help" on the menubar.
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
TEXMF=%{_datadir}/texmf
|
TEXMF=%{_datadir}/texmf
|
||||||
%configure \
|
%configure \
|
||||||
%if %{?suse_version} < 1330
|
|
||||||
--without-included-boost \
|
--without-included-boost \
|
||||||
%endif
|
|
||||||
--without-aspell \
|
--without-aspell \
|
||||||
--with-hunspell \
|
--with-hunspell \
|
||||||
--with-enchant
|
--with-enchant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user