]>
Commit | Line | Data |
---|---|---|
1 | Summary: A WYSIWYG scientific text editor | |
2 | Summary(pl.UTF-8): Edytor WYSIWYG do tekstów naukowych | |
3 | Name: TeXmacs | |
4 | Version: 1.0.7 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Editors | |
8 | Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz | |
9 | # Source0-md5: 4b58579250a697cbf68ed83ef3805030 | |
10 | Source1: %{name}.desktop | |
11 | URL: http://www.texmacs.org/ | |
12 | BuildRequires: xorg-lib-libX11-devel | |
13 | BuildRequires: automake | |
14 | BuildRequires: guile-devel >= 1.4.1 | |
15 | BuildRequires: libstdc++-devel | |
16 | Requires: kpathsea | |
17 | Requires: tetex | |
18 | Requires: tetex-dvips | |
19 | Requires: tetex-metafont | |
20 | Requires: ghostscript | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
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 | |
26 | documents via a WYSIWYG (what-you-see-is-what-you-get) and user | |
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. | |
30 | ||
31 | The high typesetting quality still goes through for automatically | |
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. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów | |
44 | naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany | |
45 | wysokiej jakości skład tekstu przy użyciu fontów TeXa a także | |
46 | udostępnia przyjazny interfejs użytkownika. | |
47 | ||
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. | |
53 | ||
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 | |
57 | prezentacji. | |
58 | ||
59 | %prep | |
60 | %setup -q -n %{name}-%{version}-src | |
61 | ||
62 | %build | |
63 | cp -f %{_datadir}/automake/config.sub . | |
64 | %configure | |
65 | ||
66 | # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build | |
67 | %{__make} \ | |
68 | CXXOPTIMIZE="%{rpmcflags} -fno-exceptions" | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
73 | ||
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT | |
76 | ||
77 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
78 | install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_bindir}/* | |
86 | %{_includedir}/*.h | |
87 | %dir %{_libdir}/%{name} | |
88 | %dir %{_libdir}/%{name}/bin | |
89 | %attr(755,root,root) %{_libdir}/%{name}/bin/* | |
90 | %{_datadir}/%{name} | |
91 | %{_desktopdir}/*.desktop | |
92 | %{_pixmapsdir}/*.xpm | |
93 | %{_mandir}/man?/* |