]> git.pld-linux.org Git - packages/TeXmacs.git/blob - TeXmacs.spec
7136da5b258f6d6da6e0d0f85b3ea7f4e4d13e91
[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:        1.0.3.7
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:  130ad369d12c96b50235e28f375f6ec0
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:       tetex
17 Requires:       guile-devel
18 Requires:       ghostscript
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
23 editor, which was both inspired by TeX and GNU Emacs. The program
24 implements high quality typesetting using TeX fonts, but it is also
25 provides a user friendly interface.
26
27 The high typesetting quality still goes through for automatically
28 generated formulas, and it is possible to use TeXmacs as an interface
29 to computer algebra systems. GNU TeXmacs also supports the
30 Guile/Scheme extension language, which makes it possible to adapt the
31 user interface to specific needs and even to extend the editor.
32
33 %description -l pl
34 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
35 matematycznych, zainspirowanym przez TeXa i GNU Emacsa. Ma
36 zaimplementowany wysokiej jako¶ci sk³ad tekstu przy u¿yciu fontów TeXa
37 a tak¿e udostêpnia przyjazny interfejs u¿ytkownika.
38
39 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
40 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
41 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
42 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
43 a tak¿e rozszerzanie mo¿liwo¶ci edytora.
44
45 %prep
46 %setup -q -n %{name}-%{version}-src
47
48 %build
49 cp -f /usr/share/automake/config.sub .
50 %configure2_13
51
52 # DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
53 %{__make} \
54         CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_desktopdir}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/*
71 %{_includedir}/*.h
72 %dir %{_libdir}/%{name}
73 %dir %{_libdir}/%{name}/bin
74 %attr(755,root,root) %{_libdir}/%{name}/bin/*
75 %{_datadir}/%{name}
76 %{_desktopdir}/*.desktop
77 %{_mandir}/man?/*
This page took 0.053972 seconds and 2 git commands to generate.