1 Summary: A wysiwyg mathematical text editor
2 Summary(pl): Edytor WYSIWYG do tekstów matematycznych
8 Group: Applications/Editors
9 Group(de): Applikationen/Editors
10 Group(pl): Aplikacje/Edytory
11 Group(pt): Aplicações/Editores
12 Source0: ftp://ftp.dante.de/tex-archive/systems/unix/TeXmacs/%{name}-%{version}-%{veradd}-src.tar.gz
13 Vendor: Jo the ripper software
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
19 editor, which was both inspired by TeX and GNU Emacs. The program
20 implements high quality typesetting using TeX fonts, but it is also
21 provides a user friendly interface.
23 The high typesetting quality still goes through for automatically
24 generated formulas, and it is possible to use TeXmacs as an interface
25 to computer algebra systems. GNU TeXmacs also supports the
26 Guile/Scheme extension language, which makes it possible to adapt the
27 user interface to specific needs and even to extend the editor.
30 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
31 matematycznych, zainspirowanym przez TeX-a i GNU Emacsa. Ma
32 zaimplementowany wysokiej jako¶ci sk³ad przy u¿yciu fontów TeX-a, ale
33 udostêpnia tak¿e przyjazny interfejs u¿ytkownika.
35 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
36 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
37 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
38 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
39 a tak¿e rozszerzanie edytora.
42 %setup -q -n %{name}-%{version}-%{veradd}-src
45 ./configure --prefix=$RPM_BUILD_ROOT%{_prefix}
46 %{__make} CXXFLAGS="%{rpmcflags}" STATIC_TEXMACS
49 rm -rf $RPM_BUILD_ROOT
51 ./configure --prefix=%{_prefix}
52 install bin/fig2ps $RPM_BUILD_ROOT%{_bindir}
53 install bin/texmacs $RPM_BUILD_ROOT%{_bindir}
54 GUILE_DATA_PATH=`guile-config info pkgdatadir`
55 GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
56 cp -rf $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs
57 chmod 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs/ice-9
58 rm -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/lib/*.so
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/texmacs
66 %attr(755,root,root) %{_bindir}/fig2ps
67 %{_includedir}/TeXmacs.h
68 %{_mandir}/man1/texmacs.1*
69 %{_datadir}/TeXmacs-0.3.0-5