lyx/lyx.spec

283 lines
9.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: lyx
Version: 2.3.4.4
Release: 1mamba
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>
URL: http://www.lyx.org/
Source0: ftp://ftp.lip6.fr/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.bz2
#Source0: ftp://ftp.lyx.org/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.xz
Source1: lyx-desktop
Patch0: %{name}-2.0.0-hunspell-1.3.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libaspell-devel
BuildRequires: libenchant-devel
BuildRequires: libgcc
BuildRequires: libhunspell-devel
BuildRequires: libmagic-devel
BuildRequires: libmythes-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# 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.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
#./autogen.sh
%configure \
--enable-qt5 \
--with-qt-dir=%{_libdir}/qt5 \
--with-aspell \
--without-included-boost \
%make QT_MOC=moc-qt5
%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
* Tue Mar 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4.4-1mamba
- update to 2.3.4.4
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4.2-1mamba
- automatic version update by autodist
* Tue Jan 28 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Fri Jun 21 2019 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
* Sat Dec 15 2018 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic version update by autodist
* Fri Oct 14 2016 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Sun Jul 24 2016 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* 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
* Tue Feb 10 2015 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist
* Mon Nov 17 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2.2-1mamba
- automatic version update by autodist
* Fri Oct 31 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2.1-1mamba
- automatic version update by autodist
* Wed Sep 24 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* 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)