[521] | 1 | Summary: A structured wysiwyg scientific text editor |
---|
| 2 | Name: TeXmacs |
---|
| 3 | Version: 1.0.6 |
---|
| 4 | Release: 0vl1 |
---|
| 5 | Url: http://www.texmacs.org |
---|
| 6 | Source: ftp://ftp.texmacs.org/pub/TeXmacs/TeXmacs-%{version}-src.tar.gz |
---|
| 7 | Patch0: TeXmacs-1.0.6-maxima-5.11.patch |
---|
| 8 | License: GNU GPL 2.0 |
---|
| 9 | Group: Applications/Editors |
---|
| 10 | Requires: tetex guile |
---|
| 11 | Buildrequires: guile-devel freetype2-devel XOrg-devel |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | |
---|
| 16 | GNU TeXmacs is a free wysiwyw (what you see is what you want) editing |
---|
| 17 | platform with special features for scientists. The software aims to provide |
---|
| 18 | a unified and user friendly framework for editing structured documents with |
---|
| 19 | different types of content (text, graphics, mathematics, interactive content, |
---|
| 20 | etc.). The rendering engine uses high-quality typesetting algorithms so as to |
---|
| 21 | produce professionally looking documents, which can either be printed out |
---|
| 22 | or presented from a laptop. |
---|
| 23 | |
---|
| 24 | The software includes a text editor with support for mathematical formulas, |
---|
| 25 | a small technical picture editor and a tool for making presentations from |
---|
| 26 | a laptop. Moreover, TeXmacs can be used as an interface for many external |
---|
| 27 | systems for computer algebra, numerical analysis, statistics, etc. |
---|
| 28 | New presentation styles can be written by the user and new features can be |
---|
| 29 | added to the editor using the Scheme extension language. A native spreadsheet |
---|
| 30 | and tools for collaborative authoring are planned for later. |
---|
| 31 | |
---|
| 32 | TeXmacs runs on all major Unix platforms and Windows. Documents can be |
---|
| 33 | saved in TeXmacs, Xml or Scheme format and printed as Postscript or |
---|
| 34 | Pdf files. Converters exist for TeX/LaTeX and Html/Mathml. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q -n TeXmacs-%{version}-src |
---|
| 38 | %patch0 -p1 |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %configure |
---|
| 42 | %__make TEXMACS |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | %__make DESTDIR=%{buildroot} install |
---|
| 46 | export GUILE_DATA_PATH=`guile-config info pkgdatadir` |
---|
| 47 | export GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9` |
---|
| 48 | %__cp -r -f $GUILE_LOAD_PATH %{buildroot}%{_datadir}/TeXmacs/progs |
---|
| 49 | %__chmod -f 644 %{buildroot}%{_datadir}/TeXmacs/progs/ice-9/* |
---|
| 50 | %__chmod -f 755 %{buildroot}%{_datadir}/TeXmacs/progs/ice-9 |
---|
| 51 | %__mkdir -p %{buildroot}/etc/X11/applnk/Applications |
---|
| 52 | %__mkdir -p %{buildroot}/usr/share/application-registry |
---|
| 53 | %__mkdir -p %{buildroot}/usr/share/mime-info |
---|
| 54 | %__mkdir -p %{buildroot}/usr/share/pixmaps |
---|
| 55 | %__cp -f %{buildroot}%{_datadir}/TeXmacs/misc/mime/texmacs.desktop %{buildroot}/etc/X11/applnk/Applications |
---|
| 56 | %__cp -f %{buildroot}%{_datadir}/TeXmacs/misc/mime/texmacs.applications %{buildroot}/usr/share/application-registry |
---|
| 57 | %__cp %{buildroot}%{_datadir}/TeXmacs/misc/mime/texmacs.keys %{buildroot}/usr/share/mime-info |
---|
| 58 | %__cp %{buildroot}%{_datadir}/TeXmacs/misc/mime/texmacs.mime %{buildroot}/usr/share/mime-info |
---|
| 59 | %__cp %{buildroot}%{_datadir}/TeXmacs/misc/pixmaps/TeXmacs.xpm %{buildroot}/usr/share/pixmaps |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root) |
---|
| 63 | %{_bindir}/* |
---|
| 64 | %{_includedir}/* |
---|
| 65 | %{_mandir}/*/* |
---|
| 66 | %{_libexecdir}/TeXmacs |
---|
| 67 | %{_datadir}/TeXmacs |
---|
| 68 | /etc/X11/applnk/Applications/texmacs.desktop |
---|
| 69 | /usr/share/application-registry/texmacs.applications |
---|
| 70 | /usr/share/mime-info/texmacs.keys |
---|
| 71 | /usr/share/mime-info/texmacs.mime |
---|
| 72 | /usr/share/pixmaps/TeXmacs.xpm |
---|
| 73 | |
---|
| 74 | %clean |
---|
| 75 | %__rm -rf %{buildroot} |
---|
| 76 | |
---|
| 77 | %changelog |
---|
| 78 | * Sun Apr 22 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.0.6-0vl1 |
---|
| 79 | - new upstream version |
---|
| 80 | - add patch for maxima-5.11 |
---|
| 81 | - update description |
---|
| 82 | |
---|
| 83 | * Sat Apr 23 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.0.4-0vl1 |
---|
| 84 | - New upstream version |
---|
| 85 | |
---|
| 86 | * Sat Apr 10 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.0.3-0vl1 |
---|
| 87 | - New upstream version |
---|
| 88 | |
---|
| 89 | * Sat Oct 11 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.2-0vl2 |
---|
| 90 | - %%defattr was missing - fixed |
---|
| 91 | - make TEXMACS, not STATIC_TEXMACS |
---|
| 92 | |
---|
| 93 | * Fri Sep 26 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.0.2-0vl1 |
---|
| 94 | - New upstream version |
---|
| 95 | |
---|
| 96 | * Thu Aug 7 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.0.1.21-0vl1 |
---|
| 97 | - New upstream version |
---|
| 98 | |
---|
| 99 | * Sat Jun 28 2003 Joris van der Hoeven <vdhoeven@texmacs.org> |
---|
| 100 | - 1.0.1.16 Moved "TeXmacs-%{version}" in root directory to "TeXmacs" |
---|
| 101 | |
---|
| 102 | * Mon Jun 2 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 1.0.1-1vl1 |
---|
| 103 | - Import from original |
---|
| 104 | |
---|
| 105 | * Tue Jul 22 2002 Joris van der Hoeven <vdhoeven@texmacs.org> |
---|
| 106 | - 1.0.0.10 Migrated architecture dependent options to configure.in |
---|
| 107 | |
---|
| 108 | * Thu Feb 07 2002 Joris van der Hoeven <vdhoeven@texmacs.org> |
---|
| 109 | - 0.3.5.14 Added -f for chmod |
---|
| 110 | |
---|
| 111 | * Thu Feb 07 2002 Joris van der Hoeven <vdhoeven@texmacs.org> |
---|
| 112 | - 0.3.5.11 Extra compilation options reduce size of executable |
---|
| 113 | |
---|
| 114 | * Sun Nov 26 2001 Joris van der Hoeven <vdhoeven@texmacs.org> |
---|
| 115 | - 0.3.5.7 TeXmacs mime types & pixmap |
---|
| 116 | |
---|
| 117 | * Thu Jul 5 2001 Joris van der Hoeven & Christophe Merlet |
---|
| 118 | - 0.3.4.3 Further corrections |
---|
| 119 | |
---|
| 120 | * Sun Jun 3 2001 Bo Forslund <bo.forslund@abc.se> |
---|
| 121 | - 0.3.4.3 Some tiny adjustments in the spec |
---|