forked from w3c/Amaya-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amaya_wx.spec
122 lines (113 loc) · 4.03 KB
/
amaya_wx.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#
# spec file for package amaya (Version 4.3.1)
#
# Copyright (c) 1998 S.u.S.E. GmbH Fuerth, Germany.
#
# please send bugfixes or comments to [email protected].
#
# neededforbuild autoconf automake mmcore mmbase mmslib libz libpng libjpeg
%define version 11.4.7
Vendor: W3C World Wide Web Consortium
Distribution: W3C
Name: amaya_wx
Release: 0
License: W3C http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
Group: Applications/Networking
URL: http://www.w3.org/Amaya/
Autoreqprov: on
Packager: [email protected]
BuildRoot: /var/tmp/%{name}-buildroot
#BuildRoot: /usr/src/redhat/BUILD/
Summary: Web Editor from the World Wide Web Consortium
Version: %{version}
Source: amaya-fullsrc-%{version}.tgz
#Source: ftp://ftp.w3.org/pub/amaya/amaya-src-%{version}.tgz
#Source1: ftp://ftp.w3.org/pub/amaya/amaya-lib-src-%{version}.tgz
# Patch: amaya-src-%{version}.diff
%description
Amaya is a complete Web authoring tool with some browsing
funtionalities and comes equipped with a WYSIWYG style of
interface, similar to that of the most popular commercial
browsers. With such an interface, users do not need to
well know the HTML, MathML or CSS languages.
Authors:
--------
%changelog
* Fri Dec 4 2009 Irene Vatton <[email protected]>
The application uses now libssl.so and libcrypt.so
* Fri Jan 30 2009 Irene Vatton <[email protected]>
The application uses now libraptor.so.1
* Wed Nov 20 2008 Irene Vatton <[email protected]>
Possiblity to use system libraries and force flags
* Mon Feb 26 2007 Irene Vatton <[email protected]>
Introduction of a script to launch amaya
* Fri Sep 2 2005 Irene Vatton <[email protected]>
and Stephane Gully
Gnome/Kde integration
* Tue Oct 15 2004 Irene Vatton <[email protected]>
Possibility to install GTK and WX amaya versions
* Tue Jul 06 2004 Irene Vatton <[email protected]>
First WX amaya version
* Tue Feb 24 2004 Irene Vatton <[email protected]>
Updated for amaya-8.3
* Fri Apr 23 2003 Irene Vatton <[email protected]>
Adaptation to redhat 8.0
* Fri Jan 30 2003 Nabil Layaida <[email protected]>
Adaptation to rpmbuild
* Mon Sep 16 2002 Irene Vatton <[email protected]>
GTK options.
* Fri Nov 9 2001 Irene Vatton <[email protected]>
Integration of English and French dictionaries
* Mon Feb 28 2001 Irene Vatton <[email protected]>
updated for amaya-4.2.1
* Mon Jan 8 2001 Irene Vatton <[email protected]>
updated for amaya-4.1
* Sat Nov 11 2000 Daniel Veillard <[email protected]>
updated for amaya-4.0
* Tue Jul 04 2000 Daniel Veillard <[email protected]>
Updated for amaya-3.2
Removed Ramzi Guetari and Daniel Veillard from authors
* Fri Jun 24 1999 Daniel Veillard <[email protected]>
Updated for amaya-2.1
* Fri Oct 16 1998 Daniel Veillard <[email protected]>
took the spec file coming from SuSE-1.3 and updated it for RedHat,
description, license, and version 1.3b
%prep
%setup -n Amaya
# %patch
%build
export CFLAGS=
export CXXFLAGS=
mkdir -p $RPM_BUILD_ROOT/usr/share/
# Force 64-bit Mesa configure
# WARNING: Check that Mesa/configs/linux-x86-64 uses
# "LIB_DIR = lib" "EXTRA_LIB_PATH = -L/usr/X11R6/lib"
cp ../Mesa/configs/linux-x86-64-static ../Mesa/configs/current
#autoconf
#cd libwww && libtoolize --force --copy
#cd libwww && aclocal; autoheader; automake; autoconf
mkdir linux
cd linux
export HOME=`pwd`
../configure --enable-system-raptor --prefix=/usr/share --exec=/usr/share --datadir=/usr/share
#cp Options.orig Options
make depend
make
%install
cd linux
make install prefix=$RPM_BUILD_ROOT/usr/share
# Gnome/Kde integration
./script_install_gnomekde ./bin $RPM_BUILD_ROOT/usr/share /usr/share
%files
%doc README
/usr/share/pixmaps/
/usr/share/applications/
/usr/share/Amaya/
%post
/bin/ln -f -s /usr/share/Amaya/wx/bin/amaya /usr/bin/amaya
%postun
rm -f /usr/bin/amaya
rm -f /usr/share/applications/Amaya.desktop
rm -f /usr/share/pixmaps/amaya.png