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 URL: http://www.w3.org/Amaya/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: autoconf >= 2.54
14 BuildRequires: automake
15 BuildRequires: expat-devel
16 BuildRequires: libjpeg-devel >= 6b
17 BuildRequires: libpng-devel >= 1.0
18 BuildRequires: libraptor
19 BuildRequires: libraptor-devel
20 BuildRequires: libtool >= 2:1.4d-3
21 BuildRequires: redland-devel >= 0.9.16
22 BuildRequires: w3c-libwww-devel >= 5.4.0-8
23 BuildRequires: zlib-devel
24 BuildRequires: wxGTK2-unicode-devel
25 BuildRequires: wxGTK2-unicode-gl-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 # ../.././thotlib/base/batchmessage.c:29:25: error: format not a string literal and no format arguments [-Werror=format-security]
29 # ../.././thotlib/base/batchmessage.c:37:25: error: format not a string literal and no format arguments [-Werror=format-security]
30 %define filterout_cxx -Werror=format-security
33 Amaya is a complete web browsing and authoring environment and comes
34 equipped with a WYSIWYG style of interface, similar to that of the
35 most popular commercial browsers. With such an interface, users do not
36 need to know the HTML or CSS languages.
38 %description -l pl.UTF-8
39 Amaya jest kompletną przeglądarką WWW i środowiskiem tworzenia stron
40 WWW, wyposażona jest w interfejs WYSIWYG podobny do stosowanego w
41 najbardziej popularnych komercyjnych przeglądarkach. Z takim
42 interfejsem użytkownicy nie muszą wiedzieć co to jest HTML czy CSS.
45 %setup -q -n Amaya%{version}
47 mv Mesa freetype libwww redland wxWidgets sys-libs
60 WXCONFIG=/usr/bin/wx-gtk2-unicode-config \
62 --enable-system-libwww \
69 AMAYA_LIBWWW_INCLUDES="$(libwww-config --cflags)" \
70 AMAYA_LIBWWW_LIBS="$(libwww-config --libs)" \
71 IMGLIBS="-lpng -ljpeg" \
72 EXPAT_LIBRARIES="-lpng -ljpeg"
74 # EXPAT_LIBRARIES/IMGLIBS is fake, just convient place to add LIBS
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}}
79 %{__make} -C Amaya/Linux install \
81 DESTDIR=$RPM_BUILD_ROOT
83 ln -sf %{_libdir}/Amaya/wx/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %doc Amaya/{amaya/COPYRIGHT,README,README.wx}
91 %attr(755,root,root) %{_bindir}/amaya
93 %{_libdir}/Amaya/amaya
94 %{_libdir}/Amaya/annotlib
95 %{_libdir}/Amaya/config
96 %{_libdir}/Amaya/dicopar
98 %{_libdir}/Amaya/fonts
99 %{_libdir}/Amaya/resources
100 %dir %{_libdir}/Amaya/wx
101 %dir %{_libdir}/Amaya/wx/bin
102 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/amaya
103 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/amaya_bin
104 %attr(755,root,root) %{_libdir}/Amaya/wx/bin/print