1 Summary: Web Browser/Editor from the World Wide Web Consortium
2 Summary(pl.UTF-8): Przeglądarka/edytor stron WWW z World Wide Web Consortium
6 License: Copyright 1995-2002 (MIT) (INRIA), (L)GPL compatible
7 Group: X11/Applications/Networking
8 Source0: ftp://ftp.w3.org/pub/amaya/%{name}-sources-%{version}.tgz
9 # Source0-md5: e8072c7b1d06b983951c56e9f51fbacf
10 Patch0: %{name}-opt.patch
11 Patch1: libpng-1.5.patch
12 URL: http://www.w3.org/Amaya/
13 BuildRequires: OpenGL-GLU-devel
14 BuildRequires: autoconf >= 2.54
15 BuildRequires: automake
16 BuildRequires: dos2unix
17 BuildRequires: expat-devel
18 BuildRequires: libjpeg-devel >= 6b
19 BuildRequires: libpng-devel >= 1.0
20 BuildRequires: libraptor
21 BuildRequires: libraptor-devel
22 BuildRequires: libtool >= 2:1.4d-3
23 BuildRequires: redland-devel >= 0.9.16
24 BuildRequires: w3c-libwww-devel >= 5.4.0-8
25 BuildRequires: zlib-devel
26 BuildRequires: wxGTK2-unicode-devel
27 BuildRequires: wxGTK2-unicode-gl-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 # ../.././thotlib/base/batchmessage.c:29:25: error: format not a string literal and no format arguments [-Werror=format-security]
31 # ../.././thotlib/base/batchmessage.c:37:25: error: format not a string literal and no format arguments [-Werror=format-security]
32 %define filterout_cxx -Werror=format-security
35 Amaya is a complete web browsing and authoring environment and comes
36 equipped with a WYSIWYG style of interface, similar to that of the
37 most popular commercial browsers. With such an interface, users do not
38 need to know the HTML or CSS languages.
40 %description -l pl.UTF-8
41 Amaya jest kompletną przeglądarką WWW i środowiskiem tworzenia stron
42 WWW, wyposażona jest w interfejs WYSIWYG podobny do stosowanego w
43 najbardziej popularnych komercyjnych przeglądarkach. Z takim
44 interfejsem użytkownicy nie muszą wiedzieć co to jest HTML czy CSS.
47 %setup -q -n Amaya%{version}
49 mv Mesa freetype libwww redland wxWidgets sys-libs
54 # AC_SUBST_FILE doesn't work with CR+LF
55 #dos2unix amaya/Makefile.in
66 WXCONFIG=/usr/bin/wx-gtk2-unicode-config \
68 --enable-system-libwww \
75 AMAYA_LIBWWW_INCLUDES="$(libwww-config --cflags)" \
76 AMAYA_LIBWWW_LIBS="$(libwww-config --libs)" \
77 IMGLIBS="-lpng -ljpeg" \
78 EXPAT_LIBRARIES="-lpng -ljpeg"
80 # EXPAT_LIBRARIES/IMGLIBS is fake, just convient place to add LIBS
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}}
85 %{__make} -C Amaya/Linux install \
87 DESTDIR=$RPM_BUILD_ROOT
89 ln -sf %{_libdir}/Amaya/wx/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
96 %doc Amaya/{amaya/COPYRIGHT,README,README.wx}
97 %attr(755,root,root) %{_bindir}/amaya
99 %{_libdir}/Amaya/amaya
100 %{_libdir}/Amaya/annotlib
101 %{_libdir}/Amaya/config
102 %{_libdir}/Amaya/dicopar
104 %{_libdir}/Amaya/fonts
105 %{_libdir}/Amaya/resources
106 %dir %{_libdir}/Amaya/wx
107 %dir %{_libdir}/Amaya/wx/bin
108 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/amaya
109 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/amaya_bin
110 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/print