~ubuntu-branches/ubuntu/hardy/texmacs/hardy

« back to all changes in this revision

Viewing changes to misc/rpm/TeXmacs.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Treinen
  • Date: 2004-04-19 20:34:00 UTC
  • Revision ID: james.westby@ubuntu.com-20040419203400-g4e34ih0315wcn8v
Tags: upstream-1.0.3-R2
ImportĀ upstreamĀ versionĀ 1.0.3-R2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary: A structured wysiwyg scientific text editor
 
2
Name: @PACKAGE@
 
3
Version: @VERSION@
 
4
Release: @RELEASE@
 
5
Url: http://www.texmacs.org
 
6
Source: ftp://ftp.texmacs.org/pub/TeXmacs/TeXmacs-%{version}-src.tar.gz
 
7
License: GNU GPL 2.0
 
8
Packager: Joris van der Hoeven <vdhoeven@texmacs.org>
 
9
Distribution: GNU/Linux
 
10
Vendor: Jo the ripper software
 
11
Group: Applications/Editors
 
12
Requires: tetex
 
13
Buildrequires: guile-devel
 
14
BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
15
 
 
16
%description
 
17
 
 
18
GNU TeXmacs is a free scientific text editor, which was both inspired
 
19
by TeX and GNU Emacs. The editor allows you to write structured documents
 
20
via a wysiwyg (what-you-see-is-what-you-get) and user friendly interface.
 
21
New styles may be created by the user. The program implements high-quality
 
22
typesetting algorithms and TeX fonts, which help you to produce
 
23
professionally looking documents.
 
24
 
 
25
The high typesetting quality still goes through for automatically
 
26
generated formulas, which makes TeXmacs suitable as an interface
 
27
for computer algebra systems. TeXmacs also supports the Guile/Scheme
 
28
extension language, so that you may customize the interface and
 
29
write your own extensions to the editor.
 
30
 
 
31
In the future, TeXmacs is planned to evoluate towards
 
32
a complete scientific office suite, with spreadsheet capacities,
 
33
a technical drawing editor and a presentation mode.
 
34
 
 
35
%prep
 
36
%setup -q -n TeXmacs-%{version}-src
 
37
 
 
38
%build
 
39
%configure
 
40
make STATIC_TEXMACS
 
41
 
 
42
%install
 
43
make DESTDIR=$RPM_BUILD_ROOT install
 
44
export GUILE_DATA_PATH=`guile-config info pkgdatadir`
 
45
export GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
 
46
cp -r -f $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs
 
47
chmod -f 644 $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs/ice-9/*
 
48
chmod -f 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs/progs/ice-9
 
49
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications
 
50
mkdir -p $RPM_BUILD_ROOT/usr/share/application-registry
 
51
mkdir -p $RPM_BUILD_ROOT/usr/share/mime-info
 
52
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
 
53
cp -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.desktop $RPM_BUILD_ROOT/etc/X11/applnk/Applications
 
54
cp -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.applications $RPM_BUILD_ROOT/usr/share/application-registry
 
55
cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.keys $RPM_BUILD_ROOT/usr/share/mime-info
 
56
cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/mime/texmacs.mime $RPM_BUILD_ROOT/usr/share/mime-info
 
57
cp $RPM_BUILD_ROOT%{_datadir}/TeXmacs/misc/pixmaps/TeXmacs.xpm $RPM_BUILD_ROOT/usr/share/pixmaps
 
58
 
 
59
%files
 
60
%{_bindir}/fig2ps
 
61
%{_bindir}/texmacs
 
62
%{_includedir}/TeXmacs.h
 
63
%doc %{_mandir}/*/*
 
64
%{_libexecdir}/TeXmacs
 
65
%{_datadir}/TeXmacs
 
66
/etc/X11/applnk/Applications/texmacs.desktop
 
67
/usr/share/application-registry/texmacs.applications
 
68
/usr/share/mime-info/texmacs.keys
 
69
/usr/share/mime-info/texmacs.mime
 
70
/usr/share/pixmaps/TeXmacs.xpm
 
71
 
 
72
%clean
 
73
rm -rf $RPM_BUILD_ROOT
 
74
 
 
75
%changelog
 
76
 
 
77
* Mon Sep 22 2003   Joris van der Hoeven <vdhoeven@texmacs.org>
 
78
- 1.0.1.24 Release tag set by the configure script
 
79
 
 
80
* Sat Jun 28 2003   Joris van der Hoeven <vdhoeven@texmacs.org>
 
81
- 1.0.1.16 Moved "TeXmacs-%{version}" in root directory to "TeXmacs"
 
82
 
 
83
* Tue Jul 22 2002   Joris van der Hoeven <vdhoeven@texmacs.org>
 
84
- 1.0.0.10 Migrated architecture dependent options to configure.in
 
85
 
 
86
* Thu Feb 07 2002   Joris van der Hoeven <vdhoeven@texmacs.org>
 
87
- 0.3.5.14 Added -f for chmod
 
88
 
 
89
* Thu Feb 07 2002   Joris van der Hoeven <vdhoeven@texmacs.org>
 
90
- 0.3.5.11 Extra compilation options reduce size of executable
 
91
 
 
92
* Sun Nov 26 2001   Joris van der Hoeven <vdhoeven@texmacs.org>
 
93
- 0.3.5.7 TeXmacs mime types & pixmap
 
94
 
 
95
* Thu Jul 5 2001   Joris van der Hoeven & Christophe Merlet
 
96
- 0.3.4.3 Further corrections
 
97
 
 
98
* Sun Jun 3 2001   Bo Forslund  <bo.forslund@abc.se>
 
99
- 0.3.4.3 Some tiny adjustments in the spec