Upgrade to version 1.0.6.12
[texmacs.git] / src / misc / rpm / TeXmacs.spec
blob136da8a905552e22f81168aa5facbd7c5b6f5719
1 Summary: A structured wysiwyg scientific text editor
2 Name: TeXmacs
3 Version: 1.0.6.12
4 Release: 1
5 Url: http://www.texmacs.org
6 Source: ftp://ftp.texmacs.org/pub/TeXmacs/TeXmacs-1.0.6.12-src.tar.gz
7 License: GNU GPL 2.0
8 Packager: Joris van der Hoeven <vdhoeven@texmacs.org>
9 Distribution: GNU/Linux
10 Vendor: Jo the ripper software
11 Group: Applications/Editors
12 Requires: tetex
13 Buildrequires: guile-devel
14 BuildRoot: %{_tmppath}/TeXmacs-1.0.6.12-root
16 %description
18 GNU TeXmacs is a free wysiwyw (what you see is what you want) editing
19 platform with special features for scientists. The software aims to provide
20 a unified and user friendly framework for editing structured documents with
21 different types of content (text, graphics, mathematics, interactive content,
22 etc.). The rendering engine uses high-quality typesetting algorithms so as to
23 produce professionally looking documents, which can either be printed out
24 or presented from a laptop.
26 The software includes a text editor with support for mathematical formulas,
27 a small technical picture editor and a tool for making presentations from
28 a laptop. Moreover, TeXmacs can be used as an interface for many external
29 systems for computer algebra, numerical analysis, statistics, etc.
30 New presentation styles can be written by the user and new features can be
31 added to the editor using the Scheme extension language. A native spreadsheet
32 and tools for collaborative authoring are planned for later.
34 TeXmacs runs on all major Unix platforms and Windows. Documents can be
35 saved in TeXmacs, Xml or Scheme format and printed as Postscript or
36 Pdf files. Converters exist for TeX/LaTeX and Html/Mathml.
38 %prep
39 %setup -q -n TeXmacs-1.0.6.12-src
41 %build
42 %configure
43 make STATIC_TEXMACS
45 %install
46 make DESTDIR=$RPM_BUILD_ROOT install
47 export GUILE_DATA_PATH=`guile-config info pkgdatadir`
48 export GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
49 cp -r -f $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs
50 chmod -f 644 $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs/ice-9/*
51 chmod -f 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs/ice-9
52 mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications
53 mkdir -p $RPM_BUILD_ROOT/usr/share/application-registry
54 mkdir -p $RPM_BUILD_ROOT/usr/share/mime-info
55 mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
56 cp -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.desktop $RPM_BUILD_ROOT/etc/X11/applnk/Applications
57 cp -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.applications $RPM_BUILD_ROOT/usr/share/application-registry
58 cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.keys $RPM_BUILD_ROOT/usr/share/mime-info
59 cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.mime $RPM_BUILD_ROOT/usr/share/mime-info
60 cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/pixmaps/TeXmacs.xpm $RPM_BUILD_ROOT/usr/share/pixmaps
62 %files
63 %{_bindir}/fig2ps
64 %{_bindir}/texmacs
65 %{_includedir}/TeXmacs.h
66 %doc %{_mandir}/*/*
67 %{_libexecdir}/TeXmacs
68 %{_datadir}/TeXmacs
69 /etc/X11/applnk/Applications/texmacs.desktop
70 /usr/share/application-registry/texmacs.applications
71 /usr/share/mime-info/texmacs.keys
72 /usr/share/mime-info/texmacs.mime
73 /usr/share/pixmaps/TeXmacs.xpm
75 %clean
76 rm -rf $RPM_BUILD_ROOT
78 %changelog
80 * Sun Oct 09 2005 Joris van der Hoeven <vdhoeven@texmacs.org>
81 - 1.0.5.10 Changed description
83 * Thu Aug 30 2004 Joris van der Hoeven <vdhoeven@texmacs.org>
84 - 1.0.4.2 correct name of tarball for release>1
86 * Thu Jan 22 2004 Joris van der Hoeven <vdhoeven@texmacs.org>
87 - 1.0.3.2 change VERSION -> DEVEL_VERSION, RELEASE -> DEVEL_RELEASE
89 * Mon Sep 22 2003 Joris van der Hoeven <vdhoeven@texmacs.org>
90 - 1.0.1.24 Release tag set by the configure script
92 * Sat Jun 28 2003 Joris van der Hoeven <vdhoeven@texmacs.org>
93 - 1.0.1.16 Moved "TeXmacs-%{version}" in root directory to "TeXmacs"
95 * Tue Jul 22 2002 Joris van der Hoeven <vdhoeven@texmacs.org>
96 - 1.0.0.10 Migrated architecture dependent options to configure.in
98 * Thu Feb 07 2002 Joris van der Hoeven <vdhoeven@texmacs.org>
99 - 0.3.5.14 Added -f for chmod
101 * Thu Feb 07 2002 Joris van der Hoeven <vdhoeven@texmacs.org>
102 - 0.3.5.11 Extra compilation options reduce size of executable
104 * Sun Nov 26 2001 Joris van der Hoeven <vdhoeven@texmacs.org>
105 - 0.3.5.7 TeXmacs mime types & pixmap
107 * Thu Jul 5 2001 Joris van der Hoeven & Christophe Merlet
108 - 0.3.4.3 Further corrections
110 * Sun Jun 3 2001 Bo Forslund <bo.forslund@abc.se>
111 - 0.3.4.3 Some tiny adjustments in the spec