]> git.pld-linux.org Git - packages/TeXmacs.git/blob - TeXmacs.spec
164fc09cc5091e114cc19cfeb6e8f529329c0c34
[packages/TeXmacs.git] / TeXmacs.spec
1 # TODO:
2 # - update pl-translation
3 Summary:        A wysiwyg scientific text editor
4 Summary(pl):    Edytor WYSIWYG do tekstów naukowych
5 Name:           TeXmacs
6 Version:        1.0.4
7 Release:        1
8 License:        GPL
9 Group:          Applications/Editors
10 Source0:        ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
11 # Source0-md5:  ebec9edf0872def83e42a1faa54f7d2a
12 Source1:        %{name}.desktop
13 URL:            http://www.texmacs.org/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  automake
16 BuildRequires:  guile-devel >= 1.4.1
17 BuildRequires:  libstdc++-devel
18 Requires:       tetex
19 Requires:       tetex-metafont
20 Requires:       guile-devel
21 Requires:       ghostscript
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GNU TeXmacs is a free scientific text editor, which was both inspired
26 by TeX and GNU Emacs. The editor allows you to write structured
27 documents via a wysiwyg (what-you-see-is-what-you-get) and user
28 friendly interface. New styles may be created by the user. The program
29 implements high-quality typesetting algorithms and TeX fonts, which
30 help you to produce professionally looking documents.
31
32 The high typesetting quality still goes through for automatically
33 generated formulas, which makes TeXmacs suitable as an interface for
34 computer algebra systems. TeXmacs also supports the Guile/Scheme
35 extension language, so that you may customize the interface and write
36 your own extensions to the editor.
37
38 Converters exist for TeX/LaTeX and they are under development for
39 Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a
40 complete scientific office suite, with spreadsheet capacities, a
41 technical drawing editor and a presentation mode.
42
43 %description -l pl
44 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
45 naukowych, zainspirowanym przez TeXa i GNU Emacsa. Ma zaimplementowany
46 wysokiej jako¶ci sk³ad tekstu przy u¿yciu fontów TeXa a tak¿e
47 udostêpnia przyjazny interfejs u¿ytkownika.
48
49 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
50 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
51 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
52 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
53 a tak¿e rozszerzanie mo¿liwo¶ci edytora.
54
55 %prep
56 %setup -q -n %{name}-%{version}-src
57
58 %build
59 cp -f %{_datadir}/automake/config.sub .
60 %configure2_13
61
62 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
63 %{__make} \
64         CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_desktopdir}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
81 %{_includedir}/*.h
82 %dir %{_libdir}/%{name}
83 %dir %{_libdir}/%{name}/bin
84 %attr(755,root,root) %{_libdir}/%{name}/bin/*
85 %{_datadir}/%{name}
86 %{_desktopdir}/*.desktop
87 %{_mandir}/man?/*
This page took 0.058436 seconds and 2 git commands to generate.