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