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