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