]> git.pld-linux.org Git - packages/TeXmacs.git/blob - TeXmacs.spec
- pl translations, try to fix prep/build/install (probably not finished)
[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.0
5 %define veradd  7
6 Release:        7
7 License:        GPL
8 Group:          Applications/Editors
9 Group(de):      Applikationen/Editors
10 Group(pl):      Aplikacje/Edytory
11 Group(pt):      Aplicações/Editores
12 Source0:        ftp://ftp.dante.de/tex-archive/systems/unix/TeXmacs/%{name}-%{version}-%{veradd}-src.tar.gz
13 Vendor:         Jo the ripper software
14 Requires:       tetex
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
19 editor, which was both inspired by TeX and GNU Emacs. The program
20 implements high quality typesetting using TeX fonts, but it is also
21 provides a user friendly interface.
22
23 The high typesetting quality still goes through for automatically
24 generated formulas, and it is possible to use TeXmacs as an interface
25 to computer algebra systems. GNU TeXmacs also supports the
26 Guile/Scheme extension language, which makes it possible to adapt the
27 user interface to specific needs and even to extend the editor.
28
29 %description -l pl
30 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
31 matematycznych, zainspirowanym przez TeX-a i GNU Emacsa. Ma
32 zaimplementowany wysokiej jako¶ci sk³ad przy u¿yciu fontów TeX-a, ale
33 udostêpnia tak¿e przyjazny interfejs u¿ytkownika.
34
35 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
36 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
37 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
38 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
39 a tak¿e rozszerzanie edytora.
40
41 %prep
42 %setup -q -n %{name}-%{version}-%{veradd}-src
43
44 %build
45 ./configure --prefix=$RPM_BUILD_ROOT%{_prefix}
46 %{__make} CXXFLAGS="%{rpmcflags}" STATIC_TEXMACS
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} install
51 ./configure --prefix=%{_prefix}
52 install bin/fig2ps $RPM_BUILD_ROOT%{_bindir}
53 install bin/texmacs $RPM_BUILD_ROOT%{_bindir}
54 GUILE_DATA_PATH=`guile-config info pkgdatadir`
55 GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
56 cp -rf $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs
57 chmod 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs/ice-9
58 rm -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/lib/*.so
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/texmacs
66 %attr(755,root,root) %{_bindir}/fig2ps
67 %{_includedir}/TeXmacs.h
68 %{_mandir}/man1/texmacs.1*
69 %{_datadir}/TeXmacs-0.3.0-5
This page took 0.03263 seconds and 4 git commands to generate.