1 Summary: A WYSIWYG scientific text editor
2 Summary(pl.UTF-8): Edytor WYSIWYG do tekstów naukowych
7 Group: Applications/Editors
8 Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
9 # Source0-md5: 073a2de1448b24ef215d6d0d39139dc8
10 Source1: %{name}.desktop
11 URL: http://www.texmacs.org/
12 BuildRequires: XFree86-devel
13 BuildRequires: automake
14 BuildRequires: guile-devel >= 1.4.1
15 BuildRequires: libstdc++-devel
19 Requires: tetex-metafont
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 GNU TeXmacs is a free scientific text editor, which was both inspired
25 by TeX and GNU Emacs. The editor allows you to write structured
26 documents via a WYSIWYG (what-you-see-is-what-you-get) and user
27 friendly interface. New styles may be created by the user. The program
28 implements high-quality typesetting algorithms and TeX fonts, which
29 help you to produce professionally looking documents.
31 The high typesetting quality still goes through for automatically
32 generated formulas, which makes TeXmacs suitable as an interface for
33 computer algebra systems. TeXmacs also supports the Guile/Scheme
34 extension language, so that you may customize the interface and write
35 your own extensions to the editor.
37 Converters exist for TeX/LaTeX and they are under development for
38 Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a
39 complete scientific office suite, with spreadsheet capacities, a
40 technical drawing editor and a presentation mode.
42 %description -l pl.UTF-8
43 GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów
44 naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany
45 wysokiej jakości skład tekstu przy użyciu fontów TeXa a także
46 udostępnia przyjazny interfejs użytkownika.
48 Wysoka jakość składu jest zachowana przy automatycznie generowanych
49 wzorach i jest możliwe używanie TeXmacsa jako interfejsu do systemów
50 algebry. GNU TeXmacs obsługuje także język rozszerzeń Guile/Scheme, co
51 umożliwia adaptowanie interfejsu użytkownika do specyficznych potrzeb,
52 a także rozszerzanie możliwości edytora.
54 Istnieją konwertery dla TeX/LaTeX, są także w przygotowaniu dla
55 Html/MathML/Xml. W przyszłości, TeXmacs jest planowany jako kompletny zestaw
56 naukowy, z możliwościami arkusza, edytorem technicznych rysunków i trybem
60 %setup -q -n %{name}-%{version}-src
63 cp -f %{_datadir}/automake/config.sub .
66 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
68 CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
75 DESTDIR=$RPM_BUILD_ROOT
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
78 install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/*
87 %dir %{_libdir}/%{name}
88 %dir %{_libdir}/%{name}/bin
89 %attr(755,root,root) %{_libdir}/%{name}/bin/*
91 %{_desktopdir}/*.desktop