2 # - update pl-translation
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: ebec9edf0872def83e42a1faa54f7d2a
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
19 Requires: tetex-metafont
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 GNU TeXmacs is a free scientific text editor, which was both inspired
26 by TeX and GNU Emacs. The editor allows you to write structured
27 documents via a wysiwyg (what-you-see-is-what-you-get) and user
28 friendly interface. New styles may be created by the user. The program
29 implements high-quality typesetting algorithms and TeX fonts, which
30 help you to produce professionally looking documents.
32 The high typesetting quality still goes through for automatically
33 generated formulas, which makes TeXmacs suitable as an interface for
34 computer algebra systems. TeXmacs also supports the Guile/Scheme
35 extension language, so that you may customize the interface and write
36 your own extensions to the editor.
38 Converters exist for TeX/LaTeX and they are under development for
39 Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a
40 complete scientific office suite, with spreadsheet capacities, a
41 technical drawing editor and a presentation mode.
44 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
45 naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany
46 wysokiej jako¶ci sk³ad tekstu przy u¿yciu fontów TeXa a tak¿e
47 udostêpnia przyjazny interfejs u¿ytkownika.
49 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
50 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
51 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
52 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
53 a tak¿e rozszerzanie mo¿liwo¶ci edytora.
56 %setup -q -n %{name}-%{version}-src
59 cp -f %{_datadir}/automake/config.sub .
62 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
64 CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_desktopdir}
71 DESTDIR=$RPM_BUILD_ROOT
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
82 %dir %{_libdir}/%{name}
83 %dir %{_libdir}/%{name}/bin
84 %attr(755,root,root) %{_libdir}/%{name}/bin/*
86 %{_desktopdir}/*.desktop