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