]>
Commit | Line | Data |
---|---|---|
5533e3a3 | 1 | Summary: A WYSIWYG scientific text editor |
1324e397 | 2 | Summary(pl.UTF-8): Edytor WYSIWYG do tekstów naukowych |
bc9af6eb | 3 | Name: TeXmacs |
476baf6c | 4 | Version: 1.0.6.10 |
91afdd1b | 5 | Release: 1 |
bc9af6eb AF |
6 | License: GPL |
7 | Group: Applications/Editors | |
26cd1f7c | 8 | Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz |
476baf6c | 9 | # Source0-md5: 073a2de1448b24ef215d6d0d39139dc8 |
655d2f92 | 10 | Source1: %{name}.desktop |
26cd1f7c | 11 | URL: http://www.texmacs.org/ |
ae2aeffc | 12 | BuildRequires: XFree86-devel |
5db20ee9 | 13 | BuildRequires: automake |
d3ce822d | 14 | BuildRequires: guile-devel >= 1.4.1 |
26cd1f7c | 15 | BuildRequires: libstdc++-devel |
21253777 | 16 | Requires: kpathsea |
2393ba6f | 17 | Requires: tetex |
21253777 | 18 | Requires: tetex-dvips |
570c33d5 | 19 | Requires: tetex-metafont |
6325db4c | 20 | Requires: ghostscript |
bc9af6eb AF |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
570c33d5 PG |
24 | GNU TeXmacs is a free scientific text editor, which was both inspired |
25 | by TeX and GNU Emacs. The editor allows you to write structured | |
5533e3a3 | 26 | documents via a WYSIWYG (what-you-see-is-what-you-get) and user |
570c33d5 PG |
27 | friendly interface. New styles may be created by the user. The program |
28 | implements high-quality typesetting algorithms and TeX fonts, which | |
29 | help you to produce professionally looking documents. | |
bc9af6eb AF |
30 | |
31 | The high typesetting quality still goes through for automatically | |
570c33d5 PG |
32 | generated formulas, which makes TeXmacs suitable as an interface for |
33 | computer algebra systems. TeXmacs also supports the Guile/Scheme | |
34 | extension language, so that you may customize the interface and write | |
35 | your own extensions to the editor. | |
36 | ||
37 | Converters exist for TeX/LaTeX and they are under development for | |
38 | Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a | |
39 | complete scientific office suite, with spreadsheet capacities, a | |
40 | technical drawing editor and a presentation mode. | |
bc9af6eb | 41 | |
1574700e JR |
42 | %description -l pl.UTF-8 |
43 | GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów | |
570c33d5 | 44 | naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany |
1574700e JR |
45 | wysokiej jakości skład tekstu przy użyciu fontów TeXa a także |
46 | udostępnia przyjazny interfejs użytkownika. | |
2393ba6f | 47 | |
1574700e JR |
48 | Wysoka jakość składu jest zachowana przy automatycznie generowanych |
49 | wzorach i jest możliwe używanie TeXmacsa jako interfejsu do systemów | |
50 | algebry. GNU TeXmacs obsługuje także język rozszerzeń Guile/Scheme, co | |
51 | umożliwia adaptowanie interfejsu użytkownika do specyficznych potrzeb, | |
52 | a także rozszerzanie możliwości edytora. | |
2393ba6f | 53 | |
1574700e JR |
54 | Istnieją konwertery dla TeX/LaTeX, są także w przygotowaniu dla |
55 | Html/MathML/Xml. W przyszłości, TeXmacs jest planowany jako kompletny zestaw | |
56 | naukowy, z możliwościami arkusza, edytorem technicznych rysunków i trybem | |
05cd6d2c | 57 | prezentacji. |
58 | ||
bc9af6eb | 59 | %prep |
26cd1f7c | 60 | %setup -q -n %{name}-%{version}-src |
bc9af6eb AF |
61 | |
62 | %build | |
ad804c93 | 63 | cp -f %{_datadir}/automake/config.sub . |
05cd6d2c | 64 | %configure |
26cd1f7c | 65 | |
6325db4c | 66 | # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build |
6f3ed008 JB |
67 | %{__make} \ |
68 | CXXOPTIMIZE="%{rpmcflags} -fno-exceptions" | |
bc9af6eb AF |
69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
5cd7eb94 | 72 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
26cd1f7c AM |
73 | |
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT | |
bc9af6eb | 76 | |
655d2f92 | 77 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
5cd7eb94 | 78 | install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm |
655d2f92 | 79 | |
bc9af6eb AF |
80 | %clean |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
26cd1f7c AM |
85 | %attr(755,root,root) %{_bindir}/* |
86 | %{_includedir}/*.h | |
f52d45a1 AM |
87 | %dir %{_libdir}/%{name} |
88 | %dir %{_libdir}/%{name}/bin | |
89 | %attr(755,root,root) %{_libdir}/%{name}/bin/* | |
90 | %{_datadir}/%{name} | |
655d2f92 | 91 | %{_desktopdir}/*.desktop |
5cd7eb94 | 92 | %{_pixmapsdir}/*.xpm |
26cd1f7c | 93 | %{_mandir}/man?/* |