rebuilt with qt5 [release 2.2.0-2mamba;Fri Jul 08 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 06:38:07 +01:00
parent e9c112c13b
commit f08f3ae256

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: lyx
Version: 2.1.4
Release: 1mamba
Version: 2.2.0
Release: 2mamba
Summary: WYSIWYM (What You See Is What You Mean) document processor
Group: Applications/Publishing
Vendor: openmamba
@ -13,6 +13,19 @@ Source0: ftp://ftp.lip6.fr/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.x
Source1: lyx-desktop
Patch0: %{name}-2.0.0-hunspell-1.3.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaspell-devel
BuildRequires: libboost-devel
BuildRequires: libenchant-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libhunspell-devel
BuildRequires: libmagic-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: tetex >= 3.0
BuildRequires: tetex-latex >= 3.0
@ -24,41 +37,6 @@ 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
@ -98,12 +76,12 @@ Despite its simple GUI interface (available in many languages), it supports tabl
%build
#./autogen.sh
%configure \
--with-frontend=qt4 \
--with-qt4-dir=%{_libdir}/qt4 \
--enable-qt5 \
--with-qt-dir=%{_libdir}/qt5 \
--with-aspell \
--without-included-boost
--without-included-boost \
%make
%make QT_MOC=moc-qt5
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -135,6 +113,12 @@ install -D -m644 %{S:1} \
#NEWS README
%changelog
* Fri Jul 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
- rebuilt with qt5
* Fri May 27 2016 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Thu Jul 30 2015 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
- automatic version update by autodist