X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=TeXmacs.spec;h=4f0472f0fb78add983ae82ab8bd899bc5f01318f;hb=cf08955a54a7928f87d96ef329894d8d38226e2a;hp=8dac58c67acbf0d03bf687835ae0bce8dade280d;hpb=44e7c56b60b9163595fe9950c3d33c56f26a6440;p=packages%2FTeXmacs.git diff --git a/TeXmacs.spec b/TeXmacs.spec index 8dac58c..4f0472f 100644 --- a/TeXmacs.spec +++ b/TeXmacs.spec @@ -1,40 +1,52 @@ -Summary: A wysiwyg mathematical text editor -Summary(pl): Edytor WYSIWYG do tekstów matematycznych +# TODO: +# - update pl-description +Summary: A WYSIWYG scientific text editor +Summary(pl): Edytor WYSIWYG do tekstów naukowych Name: TeXmacs -Version: 1.0.3.9 -Release: 1 +Version: 1.0.4.2 +Release: 2 License: GPL Group: Applications/Editors Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz -# Source0-md5: 49b6673aacfba460c5b85cbf590221ca +# Source0-md5: 4e9afcdc7625c4849111aa2a494081f3 Source1: %{name}.desktop +Patch0: %{name}-pl_fix.patch URL: http://www.texmacs.org/ BuildRequires: XFree86-devel BuildRequires: automake BuildRequires: guile-devel >= 1.4.1 BuildRequires: libstdc++-devel +Requires: kpathsea Requires: tetex -Requires: guile-devel +Requires: tetex-dvips +Requires: tetex-metafont 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. +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 +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. 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. +generated formulas, which makes TeXmacs suitable as an interface for +computer algebra systems. TeXmacs also supports the Guile/Scheme +extension language, so that you may customize the interface and write +your own extensions to the editor. + +Converters exist for TeX/LaTeX and they are under development for +Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a +complete scientific office suite, with spreadsheet capacities, a +technical drawing editor and a presentation mode. %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. +naukowych, 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 @@ -44,9 +56,10 @@ a tak %prep %setup -q -n %{name}-%{version}-src +%patch0 -p1 %build -cp -f /usr/share/automake/config.sub . +cp -f %{_datadir}/automake/config.sub . %configure2_13 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build @@ -55,12 +68,13 @@ cp -f /usr/share/automake/config.sub . %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 @@ -74,4 +88,5 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/%{name}/bin/* %{_datadir}/%{name} %{_desktopdir}/*.desktop +%{_pixmapsdir}/*.xpm %{_mandir}/man?/*