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