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: 4e9afcdc7625c4849111aa2a494081f3
12 Source1: %{name}.desktop
13 Patch0: %{name}-pl_fix.patch
14 URL: http://www.texmacs.org/
15 BuildRequires: XFree86-devel
16 BuildRequires: automake
17 BuildRequires: guile-devel >= 1.4.1
18 BuildRequires: libstdc++-devel
22 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.
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.
58 %setup -q -n %{name}-%{version}-src
62 cp -f %{_datadir}/automake/config.sub .
65 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
67 CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
74 DESTDIR=$RPM_BUILD_ROOT
76 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
77 install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/*
86 %dir %{_libdir}/%{name}
87 %dir %{_libdir}/%{name}/bin
88 %attr(755,root,root) %{_libdir}/%{name}/bin/*
90 %{_desktopdir}/*.desktop