TeXmacs-vl.spec 4.5 KB

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