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