2024-01-06 06:38:07 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 06:38:11 +01:00
|
|
|
%define srcver %(echo %version | tr _ -)
|
|
|
|
%define maj123ver %(echo %version | cut -d_ -f1)
|
2024-01-06 06:38:07 +01:00
|
|
|
Name: lyx
|
2024-01-06 06:38:11 +01:00
|
|
|
Version: 2.3.7_1
|
2024-01-06 06:38:07 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:38:07 +01:00
|
|
|
Summary: WYSIWYM (What You See Is What You Mean) document processor
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:38:09 +01:00
|
|
|
URL: https://www.lyx.org/
|
2024-01-06 06:38:11 +01:00
|
|
|
Source: https://ftp.lip6.fr/pub/lyx/stable/%{majver}.x/lyx-%{srcver}.tar.gz
|
2024-01-06 06:38:07 +01:00
|
|
|
Source1: lyx-desktop
|
|
|
|
Patch0: %{name}-2.0.0-hunspell-1.3.patch
|
|
|
|
License: GPL
|
2024-01-06 06:38:07 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:38:09 +01:00
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libQt5X11Extras-devel
|
2024-01-06 06:38:07 +01:00
|
|
|
BuildRequires: libaspell-devel
|
|
|
|
BuildRequires: libenchant-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libhunspell-devel
|
|
|
|
BuildRequires: libmagic-devel
|
2024-01-06 06:38:09 +01:00
|
|
|
BuildRequires: libmythes-devel
|
2024-01-06 06:38:07 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 06:38:09 +01:00
|
|
|
BuildRequires: libxcb-devel
|
2024-01-06 06:38:07 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 06:38:09 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-06 06:38:07 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:38:07 +01:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: tetex >= 3.0
|
|
|
|
BuildRequires: tetex-latex >= 3.0
|
|
|
|
BuildRequires: tetex-xdvi >= 3.0
|
|
|
|
BuildRequires: tetex-dvips >= 3.0
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
BuildRequires: latex2html
|
|
|
|
BuildRequires: transfig >= 3.2.4
|
|
|
|
BuildRequires: linuxdoc-tools >= 0.9.21
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: m4, perl, gimp, emacs-X11
|
|
|
|
Requires: tetex
|
|
|
|
Requires: tetex-latex
|
|
|
|
Requires: tetex-dvips
|
|
|
|
Requires: ghostscript
|
|
|
|
Requires: gv
|
|
|
|
Requires: groff
|
|
|
|
Requires: latex2html
|
|
|
|
Requires: linuxdoc-tools
|
|
|
|
|
|
|
|
# FIXME: missing packages
|
|
|
|
# checking for a Noweb -> LyX converter...
|
|
|
|
# +checking for "noweb2lyx"... no
|
|
|
|
# checking for a Noweb -> LaTeX converter...
|
|
|
|
# +checking for "noweave"... no
|
|
|
|
#
|
|
|
|
# html2latex, wvCleanLatex (or word2x), chktex, maple,
|
|
|
|
# sgmltools (or db2dvi), tiff2ps, tgif, gracebat
|
|
|
|
|
|
|
|
%description
|
|
|
|
LyX is an advanced open source document processor that encourages an approach to writing based on the structure of your documents, not their appearance.
|
|
|
|
LyX lets you concentrate on writing, leaving details of visual layout to the software.
|
|
|
|
|
|
|
|
LyX was originally a Unix application, but now runs natively on Windows and MacOS X as well, thanks largely to the cross-platform Qt toolkit.
|
|
|
|
|
|
|
|
LyX produces high quality, professional output -- using LaTeX, an industrial strength typesetting engine, in the background; LyX is far more than a front-end to LaTeX, however.
|
|
|
|
No knowledge of LaTeX is necessary to use LyX, although it will give a user more power.
|
|
|
|
|
|
|
|
LyX is stable and fully featured.
|
|
|
|
It has been used for documents as large as a thesis, or as small as a business letter.
|
|
|
|
Despite its simple GUI interface (available in many languages), it supports tables, figures, and hyperlinked cross-references, and has a best-of-breed math editor.
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
%prep
|
2024-01-06 06:38:11 +01:00
|
|
|
%setup -q -n %{name}-%{maj123ver}
|
2024-01-06 06:38:07 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 06:38:09 +01:00
|
|
|
#./autogen.sh
|
2024-01-06 06:38:07 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-06 06:38:07 +01:00
|
|
|
--enable-qt5 \
|
|
|
|
--with-qt-dir=%{_libdir}/qt5 \
|
2024-01-06 06:38:07 +01:00
|
|
|
--with-aspell \
|
2024-01-06 06:38:07 +01:00
|
|
|
--without-included-boost \
|
2024-01-06 06:38:07 +01:00
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
%make QT_MOC=moc-qt5
|
2024-01-06 06:38:07 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%{find_lang} %{name}
|
|
|
|
|
|
|
|
# create KDE menu link
|
|
|
|
install -D -m644 %{S:1} \
|
|
|
|
%{buildroot}%{_datadir}/applications/lyx.desktop
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/lyx
|
|
|
|
%{_bindir}/lyxclient
|
|
|
|
%{_bindir}/tex2lyx
|
|
|
|
#%{_bindir}/noweb2lyx
|
|
|
|
#%{_bindir}/reLyX
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_datadir}/applications/lyx.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/lyx.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/lyx.svg
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%doc COPYING
|
|
|
|
#NEWS README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:38:11 +01:00
|
|
|
* Fri Sep 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7_1-1mamba
|
|
|
|
- update to 2.3.7_1
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Wed May 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.6.1-1mamba
|
|
|
|
- update to 2.3.6.1
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Tue Dec 01 2020 Automatic Build System <autodist@mambasoft.it> 2.3.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Tue Sep 08 2020 Automatic Build System <autodist@mambasoft.it> 2.3.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.5.1-1mamba
|
|
|
|
- update to 2.3.5.1
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Tue Mar 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4.4-1mamba
|
|
|
|
- update to 2.3.4.4
|
|
|
|
|
2024-01-06 06:38:09 +01:00
|
|
|
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:08 +01:00
|
|
|
* Tue Jan 28 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:08 +01:00
|
|
|
* Fri Jun 21 2019 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:08 +01:00
|
|
|
* Sat Dec 15 2018 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:08 +01:00
|
|
|
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:08 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Fri Oct 14 2016 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Sun Jul 24 2016 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Thu Jul 30 2015 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Tue Feb 10 2015 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Mon Nov 17 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Fri Oct 31 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Wed Sep 24 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:38:07 +01:00
|
|
|
* Sun Apr 27 2014 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 04 2014 Automatic Build System <autodist@mambasoft.it> 2.0.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 23 2014 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 09 2013 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 2.0.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.5-2mamba
|
|
|
|
- libboost 1.52 mass rebuild
|
|
|
|
|
|
|
|
* Sun Nov 11 2012 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 29 2012 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 29 2012 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 30 2011 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 09 2011 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
|
|
- rebuilt with hunspell 1.3
|
|
|
|
|
|
|
|
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- update to 2.0.0
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Dec 14 2010 Automatic Build System <autodist@mambasoft.it> 1.6.8-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Nov 15 2010 Automatic Build System <autodist@mambasoft.it> 1.6.8-1mamba
|
|
|
|
- automatic update to 1.6.8 by autodist
|
|
|
|
|
|
|
|
* Thu Jul 15 2010 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
|
|
|
|
- automatic update to 1.6.7 by autodist
|
|
|
|
|
|
|
|
* Sun Jun 13 2010 Automatic Build System <autodist@mambasoft.it> 1.6.6.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 1.6.6.1-1mamba
|
|
|
|
- automatic update to 1.6.6.1 by autodist
|
|
|
|
|
|
|
|
* Tue May 18 2010 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
|
|
|
|
- automatic update to 1.6.6 by autodist
|
|
|
|
|
|
|
|
* Sun Dec 06 2009 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic update to 1.6.5 by autodist
|
|
|
|
|
|
|
|
* Tue Nov 17 2009 Automatic Build System <autodist@mambasoft.it> 1.6.4.2-1mamba
|
|
|
|
- automatic update to 1.6.4.2 by autodist
|
|
|
|
|
|
|
|
* Tue Sep 01 2009 Automatic Build System <autodist@mambasoft.it> 1.6.4.1-1mamba
|
|
|
|
- automatic update to 1.6.4.1 by autodist
|
|
|
|
|
|
|
|
* Sat Aug 22 2009 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- automatic update to 1.6.4 by autodist
|
|
|
|
|
|
|
|
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic update to 1.6.2 by autodist
|
|
|
|
|
|
|
|
* Sat Dec 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic update to 1.6.1 by autodist
|
|
|
|
|
|
|
|
* Thu Nov 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic update to 1.6.0 by autodist
|
|
|
|
|
|
|
|
* Fri Aug 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
|
|
|
|
- update to 1.5.6
|
|
|
|
|
|
|
|
* Tue May 13 2008 Aleph0 <aleph0@openmamba.org> 1.5.5-1mamba
|
|
|
|
- update to 1.5.5
|
|
|
|
|
|
|
|
* Wed Apr 30 2008 Aleph0 <aleph0@openmamba.org> 1.5.4-1mamba
|
|
|
|
- update to 1.5.4
|
|
|
|
|
|
|
|
* Wed Oct 17 2007 Aleph0 <aleph0@openmamba.org> 1.5.2-1mamba
|
|
|
|
- update to 1.5.2
|
|
|
|
|
|
|
|
* Tue Sep 04 2007 Aleph0 <aleph0@openmamba.org> 1.5.1-1mamba
|
|
|
|
- update to 1.5.1
|
|
|
|
|
|
|
|
* Wed May 16 2007 Aleph0 <aleph0@openmamba.org> 1.4.4-1mamba
|
|
|
|
- update to 1.4.4
|
|
|
|
- updated desktop file
|
|
|
|
|
|
|
|
* Mon Jul 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.2-1qilnx
|
|
|
|
- update to version 1.4.2 by autospec
|
|
|
|
|
|
|
|
* Fri Mar 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.0-1qilnx
|
|
|
|
- update to version 1.4.0 by autospec
|
|
|
|
- added some missing build requirements
|
|
|
|
|
|
|
|
* Tue Dec 06 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.3.6-1qilnx
|
|
|
|
- package created by autospec
|
|
|
|
- added KDE menu link (using kappfinder)
|