]>
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 |
f23a6db2 | 4 | Version: 1.0.7 |
81b2ac7d | 5 | Release: 3 |
bc9af6eb AF |
6 | License: GPL |
7 | Group: Applications/Editors | |
26cd1f7c | 8 | Source0: ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz |
f23a6db2 | 9 | # Source0-md5: 4b58579250a697cbf68ed83ef3805030 |
655d2f92 | 10 | Source1: %{name}.desktop |
26cd1f7c | 11 | URL: http://www.texmacs.org/ |
5db20ee9 | 12 | BuildRequires: automake |
58d39eae | 13 | BuildRequires: freetype-devel |
d3ce822d | 14 | BuildRequires: guile-devel >= 1.4.1 |
26cd1f7c | 15 | BuildRequires: libstdc++-devel |
58d39eae | 16 | BuildRequires: rpm-pythonprov |
17 | BuildRequires: xorg-lib-libX11-devel | |
18 | BuildRequires: xorg-lib-libXext-devel | |
19 | Requires: ghostscript | |
21253777 | 20 | Requires: kpathsea |
2393ba6f | 21 | Requires: tetex |
21253777 | 22 | Requires: tetex-dvips |
570c33d5 | 23 | Requires: tetex-metafont |
bc9af6eb AF |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
570c33d5 PG |
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 | |
5533e3a3 | 29 | documents via a WYSIWYG (what-you-see-is-what-you-get) and user |
570c33d5 PG |
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. | |
bc9af6eb AF |
33 | |
34 | The high typesetting quality still goes through for automatically | |
570c33d5 PG |
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. | |
bc9af6eb | 44 | |
1574700e JR |
45 | %description -l pl.UTF-8 |
46 | GNU TeXmacs jest wolnodostępnym edytorem typu WYSIWYG do tekstów | |
570c33d5 | 47 | naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany |
1574700e JR |
48 | wysokiej jakości skład tekstu przy użyciu fontów TeXa a także |
49 | udostępnia przyjazny interfejs użytkownika. | |
2393ba6f | 50 | |
1574700e JR |
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. | |
2393ba6f | 56 | |
1574700e | 57 | Istnieją konwertery dla TeX/LaTeX, są także w przygotowaniu dla |
58d39eae | 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. | |
05cd6d2c | 61 | |
bc9af6eb | 62 | %prep |
26cd1f7c | 63 | %setup -q -n %{name}-%{version}-src |
bc9af6eb AF |
64 | |
65 | %build | |
ad804c93 | 66 | cp -f %{_datadir}/automake/config.sub . |
05cd6d2c | 67 | %configure |
26cd1f7c | 68 | |
6325db4c | 69 | # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build |
6f3ed008 JB |
70 | %{__make} \ |
71 | CXXOPTIMIZE="%{rpmcflags} -fno-exceptions" | |
bc9af6eb AF |
72 | |
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
5cd7eb94 | 75 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
26cd1f7c AM |
76 | |
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
bc9af6eb | 79 | |
655d2f92 | 80 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
5cd7eb94 | 81 | install TeXmacs/misc/pixmaps/TeXmacs-old.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm |
655d2f92 | 82 | |
bc9af6eb AF |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %files | |
87 | %defattr(644,root,root,755) | |
26cd1f7c AM |
88 | %attr(755,root,root) %{_bindir}/* |
89 | %{_includedir}/*.h | |
f52d45a1 AM |
90 | %dir %{_libdir}/%{name} |
91 | %dir %{_libdir}/%{name}/bin | |
92 | %attr(755,root,root) %{_libdir}/%{name}/bin/* | |
93 | %{_datadir}/%{name} | |
655d2f92 | 94 | %{_desktopdir}/*.desktop |
5cd7eb94 | 95 | %{_pixmapsdir}/*.xpm |
26cd1f7c | 96 | %{_mandir}/man?/* |