]> git.pld-linux.org Git - packages/TeXmacs.git/blob - TeXmacs.spec
- up to 1.0.5.12
[packages/TeXmacs.git] / TeXmacs.spec
1 Summary:        A WYSIWYG scientific text editor
2 Summary(pl):    Edytor WYSIWYG do tekstów naukowych
3 Name:           TeXmacs
4 Version:        1.0.5.12
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:  9a4075df4d120d9c834ac78b6c964341
10 Source1:        %{name}.desktop
11 URL:            http://www.texmacs.org/
12 BuildRequires:  XFree86-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
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?/*
This page took 0.072583 seconds and 3 git commands to generate.