# TODO:
-# - update pl-translation
-Summary: A wysiwyg scientific text editor
+# - update pl-description
+Summary: A WYSIWYG scientific text editor
Summary(pl): Edytor WYSIWYG do tekstów naukowych
Name: TeXmacs
-Version: 1.0.4
+Version: 1.0.4.3
Release: 1
License: GPL
Group: Applications/Editors
Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
-# Source0-md5: ebec9edf0872def83e42a1faa54f7d2a
+# Source0-md5: 44c227be5a61cbca53cf59e0b957ba25
Source1: %{name}.desktop
URL: http://www.texmacs.org/
BuildRequires: XFree86-devel
BuildRequires: automake
BuildRequires: guile-devel >= 1.4.1
BuildRequires: libstdc++-devel
+Requires: kpathsea
Requires: tetex
+Requires: tetex-dvips
Requires: tetex-metafont
-Requires: guile-devel
Requires: ghostscript
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
GNU TeXmacs is a free scientific text editor, which was both inspired
by TeX and GNU Emacs. The editor allows you to write structured
-documents via a wysiwyg (what-you-see-is-what-you-get) and user
+documents via a WYSIWYG (what-you-see-is-what-you-get) and user
friendly interface. New styles may be created by the user. The program
implements high-quality typesetting algorithms and TeX fonts, which
help you to produce professionally looking documents.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
%clean
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/%{name}/bin/*
%{_datadir}/%{name}
%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.xpm
%{_mandir}/man?/*