]> git.pld-linux.org Git - packages/TeXmacs.git/blobdiff - TeXmacs.spec
- converted to UTF-8
[packages/TeXmacs.git] / TeXmacs.spec
index cde0c3b3a487efa8e5a3637528ec0e9a38efd936..a26eeec52c96d551cd6a270fd02567dcd8699084 100644 (file)
@@ -1,69 +1,93 @@
-Summary:       A wysiwyg mathematical text editor
-Summary(pl):   Edytor WYSIWYG do tekstów matematycznych
+Summary:       A WYSIWYG scientific text editor
+Summary(pl.UTF-8):   Edytor WYSIWYG do tekstów naukowych
 Name:          TeXmacs
-Version:       0.3.0
-%define        veradd  7
-Release:       7
+Version:       1.0.6.1
+Release:       1
 License:       GPL
 Group:         Applications/Editors
-Group(de):     Applikationen/Editors
-Group(pl):     Aplikacje/Edytory
-Group(pt):     Aplicações/Editores
-Source0:       ftp://ftp.dante.de/tex-archive/systems/unix/TeXmacs/%{name}-%{version}-%{veradd}-src.tar.gz
-Vendor:                Jo the ripper software
+Source0:       ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
+# Source0-md5: 7bd4c93ef5204a8a27c064298869574e
+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:      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.
 
-%description -l pl
-GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
-matematycznych, zainspirowanym przez TeX-a i GNU Emacsa. Ma
-zaimplementowany wysokiej jako¶ci sk³ad przy u¿yciu fontów TeX-a, ale
-udostêpnia tak¿e przyjazny interfejs u¿ytkownika.
+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.
 
-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 edytora.
+%description -l pl.UTF-8
+GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów
+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
+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.
+
+Istnieją konwertery dla TeX/LaTeX, są także w przygotowaniu dla
+Html/MathML/Xml. W przyszłości, TeXmacs jest planowany jako kompletny zestaw
+naukowy, z możliwościami arkusza, edytorem technicznych rysunków i trybem
+prezentacji.
 
 %prep
-%setup -q -n %{name}-%{version}-%{veradd}-src
+%setup -q -n %{name}-%{version}-src
 
 %build
-./configure --prefix=$RPM_BUILD_ROOT%{_prefix}
-%{__make} CXXFLAGS="%{rpmcflags}" STATIC_TEXMACS
+cp -f %{_datadir}/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
-./configure --prefix=%{_prefix}
-install bin/fig2ps $RPM_BUILD_ROOT%{_bindir}
-install bin/texmacs $RPM_BUILD_ROOT%{_bindir}
-GUILE_DATA_PATH=`guile-config info pkgdatadir`
-GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
-cp -rf $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs
-chmod 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs/ice-9
-rm -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/lib/*.so
+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
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/texmacs
-%attr(755,root,root) %{_bindir}/fig2ps
-%{_includedir}/TeXmacs.h
-%{_mandir}/man1/texmacs.1*
-%{_datadir}/TeXmacs-0.3.0-5
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/*.h
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/bin
+%attr(755,root,root) %{_libdir}/%{name}/bin/*
+%{_datadir}/%{name}
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.xpm
+%{_mandir}/man?/*
This page took 0.069413 seconds and 4 git commands to generate.