Summary: A wysiwyg mathematical text editor Summary(pl): Edytor WYSIWYG do tekstów matematycznych Name: TeXmacs Version: 1.0.3 Release: 1 License: GPL Group: Applications/Editors Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz # Source0-md5: 833928d728a4f720971284fc8afbc6f4 URL: http://www.texmacs.org/ BuildRequires: XFree86-devel BuildRequires: automake BuildRequires: guile-devel >= 1.4.1 BuildRequires: libstdc++-devel Requires: tetex Requires: guile-devel Requires: ghostscript BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text editor, which was both inspired by TeX and GNU Emacs. The program implements high quality typesetting using TeX fonts, but it is also provides a user friendly interface. The high typesetting quality still goes through for automatically generated formulas, and it is possible to use TeXmacs as an interface to computer algebra systems. GNU TeXmacs also supports the Guile/Scheme extension language, which makes it possible to adapt the user interface to specific needs and even to extend the editor. %description -l pl GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów matematycznych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany wysokiej jakości skład tekstu przy użyciu fontów TeXa a także udostępnia przyjazny interfejs użytkownika. Wysoka jakość składu jest zachowana przy automatycznie generowanych wzorach i jest możliwe używanie TeXmacsa jako interfejsu do systemów algebry. GNU TeXmacs obsługuje także język rozszerzeń Guile/Scheme, co umożliwia adaptowanie interfejsu użytkownika do specyficznych potrzeb, a także rozszerzanie możliwości edytora. %prep %setup -q -n %{name}-%{version}-src %build cp -f /usr/share/automake/config.sub . %configure # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build %{__make} \ CXXOPTIMIZE="%{rpmcflags} -fno-exceptions" %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* %{_includedir}/*.h %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/bin %attr(755,root,root) %{_libdir}/%{name}/bin/* %{_datadir}/%{name} %{_mandir}/man?/*