]> git.pld-linux.org Git - packages/TeXmacs.git/blob - TeXmacs.spec
- fix compilation on alpha; rel 2
[packages/TeXmacs.git] / TeXmacs.spec
1 Summary:        A wysiwyg mathematical text editor
2 Summary(pl):    Edytor WYSIWYG do tekstów matematycznych
3 Name:           TeXmacs
4 Version:        0.3.5.11
5 Release:        2
6 License:        GPL
7 Group:          Applications/Editors
8 Group(de):      Applikationen/Editors
9 Group(pl):      Aplikacje/Edytory
10 Group(pt):      Aplicações/Editores
11 Source0:        ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
12 Patch0:         %{name}-ac_fixes.patch
13 Patch1:         %{name}-polish.patch
14 Patch2:         %{name}-alpha.patch
15 URL:            http://www.texmacs.org/
16 BuildRequires:  XFree86-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  guile-devel
20 BuildRequires:  libstdc++-devel
21 Requires:       tetex
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
26 editor, which was both inspired by TeX and GNU Emacs. The program
27 implements high quality typesetting using TeX fonts, but it is also
28 provides a user friendly interface.
29
30 The high typesetting quality still goes through for automatically
31 generated formulas, and it is possible to use TeXmacs as an interface
32 to computer algebra systems. GNU TeXmacs also supports the
33 Guile/Scheme extension language, which makes it possible to adapt the
34 user interface to specific needs and even to extend the editor.
35
36 %description -l pl
37 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
38 matematycznych, zainspirowanym przez TeX-a i GNU Emacsa. Ma
39 zaimplementowany wysokiej jako¶ci sk³ad przy u¿yciu fontów TeX-a, ale
40 udostêpnia tak¿e przyjazny interfejs u¿ytkownika.
41
42 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
43 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
44 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
45 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
46 a tak¿e rozszerzanie edytora.
47
48 %prep
49 %setup -q -n %{name}-%{version}-src
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53
54 %build
55 aclocal
56 autoconf
57 %configure
58
59 %{__make} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -fno-implicit-templates"
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
73 %{_includedir}/*.h
74 %dir %{_libdir}/%{name}-%{version}
75 %dir %{_libdir}/%{name}-%{version}/bin
76 %dir %{_libdir}/%{name}-%{version}/lib
77 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
78 %attr(755,root,root) %{_libdir}/%{name}-%{version}/lib/*
79 %{_datadir}/%{name}-%{version}
80 %{_mandir}/man?/*
This page took 0.064896 seconds and 4 git commands to generate.