diff --git a/README.md b/README.md index 83fbf73..0b1ee76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # lyx +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. + diff --git a/lyx-2.0.0-hunspell-1.3.patch b/lyx-2.0.0-hunspell-1.3.patch new file mode 100644 index 0000000..424d5b7 --- /dev/null +++ b/lyx-2.0.0-hunspell-1.3.patch @@ -0,0 +1,12 @@ +diff -Nru lyx-2.0.0.orig//config/spell.m4 lyx-2.0.0/config/spell.m4 +--- lyx-2.0.0.orig//config/spell.m4 2011-03-27 23:25:24.000000000 +0200 ++++ lyx-2.0.0/config/spell.m4 2011-07-30 11:31:01.203945313 +0200 +@@ -53,7 +53,7 @@ + if $lyx_use_hunspell ; then + AC_CHECK_HEADERS(hunspell/hunspell.hxx, + [AC_SEARCH_LIBS(Hunspell_spell, +- [hunspell hunspell-1.2],, [lyx_use_hunspell=false])], ++ [hunspell hunspell-1.2 hunspell-1.3],, [lyx_use_hunspell=false])], + [lyx_use_hunspell=false]) + fi + AC_MSG_CHECKING([whether to use hunspell]) diff --git a/lyx-desktop b/lyx-desktop new file mode 100644 index 0000000..a3f23c8 --- /dev/null +++ b/lyx-desktop @@ -0,0 +1,84 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=LyX +Name[bn]=লাইক্স +Name[hi]=एलवाईएक्स +Name[hr]=Lyx +Name[lo]=Lyx +Name[sv]=Lyx +GenericName=Word Processor +GenericName[af]=Woord Verwerker +GenericName[ar]=معالج نصوص +GenericName[az]=Kəlmə İşləmə +GenericName[be]=Тэкставы працэсар +GenericName[bg]=Текстообработваща програма +GenericName[bn]=ওয়ার্ড প্রসেসর +GenericName[br]=Skridtreterezh +GenericName[bs]=Obrada teksta +GenericName[ca]=Processador Word +GenericName[cs]=Textový procesor +GenericName[cy]=Prosesydd Geiriau +GenericName[da]=Tekstbehandling +GenericName[de]=Textverarbeitung +GenericName[el]=Επεξεργαστής κειμένου +GenericName[eo]=Verkilo +GenericName[es]=Procesador de textos +GenericName[et]=Tekstitöötlus +GenericName[eu]=Testu prozesatzailea +GenericName[fa]=لغت پرداز‌ +GenericName[fi]=Tekstinkäsittelyohjelma +GenericName[fr]=Traitement de texte +GenericName[fy]=Tekstferwurker +GenericName[ga]=Próiseálaí focal +GenericName[gl]=Procesador de Textos +GenericName[he]=מעבד תמלילים +GenericName[hi]=वर्ड प्रोसेसर +GenericName[hr]=Program za obrada teksta +GenericName[hu]=Szövegszerkesztő +GenericName[is]=Ritvinnsla +GenericName[it]=Videoscrittura +GenericName[ja]=ワープロ +GenericName[km]=កម្មវិធី​វាយ​អត្ថបទ +GenericName[lo]=ໂປຣແກຣມປະມວນຜົນຄຳ +GenericName[lt]=Tekstų apdorotojas +GenericName[lv]=Tekstu Procesors +GenericName[mk]=Програма за уредување на текст +GenericName[mn]=Текст боловсруулагч +GenericName[ms]=Pemproses Kata +GenericName[nb]=Tekstbehandler +GenericName[nds]=Textprogramm +GenericName[nl]=Tekstverwerker +GenericName[nn]=Teksthandsamar +GenericName[nso]=Sediragatsi sa Mantsu +GenericName[pa]=ਸ਼ਬਦਕਾਰ +GenericName[pl]=Procesor tekstu +GenericName[pt]=Processador de Texto +GenericName[pt_BR]=Processador de Texto +GenericName[ro]=Procesor de text +GenericName[ru]=Текстовый процессор +GenericName[rw]=Munonosora Mwandiko +GenericName[se]=Teakstagieđahalli +GenericName[sk]=Textový procesor +GenericName[sl]=Urejevalnik besedila +GenericName[sr]=Обрада текста +GenericName[sr@Latn]=Obrada teksta +GenericName[ss]=Sichubi magama +GenericName[sv]=Ordbehandlare +GenericName[ta]=வேர்ட் ப்ரஸ்ஸஸார் +GenericName[tg]=Протсессори матн +GenericName[th]=โปรแกรมประมวลผลคำ +GenericName[tr]=Kelime İşlemci +GenericName[tt]=Süz Eşkärtüçe +GenericName[uk]=Текстовий процесор +GenericName[uz]=Матн процессори +GenericName[ven]=Tshiiti tsha Maipfi +GenericName[vi]=Trình xử lí Word +GenericName[zh_CN]=字处理器 +GenericName[zh_TW]=文書處理程式 +GenericName[zu]=Umqhubekisi wegama +Exec=lyx +Terminal=false +Icon=lyx +MimeType=application/x-lyx +Type=Application +Categories=Qt;Office; diff --git a/lyx.spec b/lyx.spec new file mode 100644 index 0000000..7b28c14 --- /dev/null +++ b/lyx.spec @@ -0,0 +1,250 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: lyx +Version: 2.1.0 +Release: 1mamba +Summary: WYSIWYM (What You See Is What You Mean) document processor +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.lyx.org/ +Source0: ftp://ftp.lip6.fr/pub/lyx/stable/%{majver}.x/lyx-%{version}.tar.xz +#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 +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 +## 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 +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. + +%prep +%setup -q +#%patch0 -p1 + +%build +#./autogen.sh +%configure \ + --with-frontend=qt4 \ + --with-qt4-dir=%{_libdir}/qt4 \ + --with-aspell \ + --without-included-boost + +%make + +%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 +* Sun Apr 27 2014 Automatic Build System 2.1.0-1mamba +- automatic version update by autodist + +* Tue Feb 04 2014 Automatic Build System 2.0.7.1-1mamba +- automatic version update by autodist + +* Thu Jan 23 2014 Automatic Build System 2.0.7-1mamba +- automatic version update by autodist + +* Thu May 09 2013 Automatic Build System 2.0.6-1mamba +- automatic version update by autodist + +* Thu Jan 03 2013 Automatic Build System 2.0.5.1-1mamba +- automatic version update by autodist + +* Sat Dec 15 2012 Silvan Calarco 2.0.5-2mamba +- libboost 1.52 mass rebuild + +* Sun Nov 11 2012 Automatic Build System 2.0.5-1mamba +- automatic version update by autodist + +* Fri Jun 29 2012 Automatic Build System 2.0.4-1mamba +- automatic version update by autodist + +* Wed Feb 29 2012 Automatic Build System 2.0.3-1mamba +- automatic version update by autodist + +* Wed Nov 30 2011 Automatic Build System 2.0.2-1mamba +- automatic version update by autodist + +* Fri Sep 09 2011 Automatic Build System 2.0.1-1mamba +- automatic version update by autodist + +* Sat Jul 30 2011 Silvan Calarco 2.0.0-2mamba +- rebuilt with hunspell 1.3 + +* Thu May 12 2011 Automatic Build System 2.0.0-1mamba +- update to 2.0.0 + +* Mon Feb 07 2011 Automatic Build System 1.6.9-1mamba +- automatic update by autodist + +* Tue Dec 14 2010 Automatic Build System 1.6.8-2mamba +- automatic rebuild by autodist + +* Mon Nov 15 2010 Automatic Build System 1.6.8-1mamba +- automatic update to 1.6.8 by autodist + +* Thu Jul 15 2010 Automatic Build System 1.6.7-1mamba +- automatic update to 1.6.7 by autodist + +* Sun Jun 13 2010 Automatic Build System 1.6.6.1-2mamba +- automatic rebuild by autodist + +* Sat May 29 2010 Automatic Build System 1.6.6.1-1mamba +- automatic update to 1.6.6.1 by autodist + +* Tue May 18 2010 Automatic Build System 1.6.6-1mamba +- automatic update to 1.6.6 by autodist + +* Sun Dec 06 2009 Automatic Build System 1.6.5-1mamba +- automatic update to 1.6.5 by autodist + +* Tue Nov 17 2009 Automatic Build System 1.6.4.2-1mamba +- automatic update to 1.6.4.2 by autodist + +* Tue Sep 01 2009 Automatic Build System 1.6.4.1-1mamba +- automatic update to 1.6.4.1 by autodist + +* Sat Aug 22 2009 Automatic Build System 1.6.4-1mamba +- automatic update to 1.6.4 by autodist + +* Wed Jun 10 2009 Automatic Build System 1.6.3-1mamba +- automatic update by autodist + +* Sun Mar 15 2009 Silvan Calarco 1.6.2-1mamba +- automatic update to 1.6.2 by autodist + +* Sat Dec 13 2008 Silvan Calarco 1.6.1-1mamba +- automatic update to 1.6.1 by autodist + +* Thu Nov 13 2008 Silvan Calarco 1.6.0-1mamba +- automatic update to 1.6.0 by autodist + +* Fri Aug 29 2008 Silvan Calarco 1.5.6-1mamba +- update to 1.5.6 + +* Tue May 13 2008 Aleph0 1.5.5-1mamba +- update to 1.5.5 + +* Wed Apr 30 2008 Aleph0 1.5.4-1mamba +- update to 1.5.4 + +* Wed Oct 17 2007 Aleph0 1.5.2-1mamba +- update to 1.5.2 + +* Tue Sep 04 2007 Aleph0 1.5.1-1mamba +- update to 1.5.1 + +* Wed May 16 2007 Aleph0 1.4.4-1mamba +- update to 1.4.4 +- updated desktop file + +* Mon Jul 17 2006 Davide Madrisan 1.4.2-1qilnx +- update to version 1.4.2 by autospec + +* Fri Mar 17 2006 Davide Madrisan 1.4.0-1qilnx +- update to version 1.4.0 by autospec +- added some missing build requirements + +* Tue Dec 06 2005 Stefano Cotta Ramusino 1.3.6-1qilnx +- package created by autospec +- added KDE menu link (using kappfinder)