]>
Commit | Line | Data |
---|---|---|
e157f8ba | 1 | Summary: Web Browser/Editor from the World Wide Web Consortium |
500e4efe | 2 | Summary(pl.UTF-8): Przeglądarka/edytor stron WWW z World Wide Web Consortium |
e157f8ba | 3 | Name: amaya |
057d42e2 ER |
4 | Version: 11.4.4 |
5 | Release: 0.1 | |
e157f8ba | 6 | License: Copyright 1995-2002 (MIT) (INRIA), (L)GPL compatible |
7 | Group: X11/Applications/Networking | |
057d42e2 ER |
8 | Source0: ftp://ftp.w3.org/pub/amaya/%{name}-sources-%{version}.tgz |
9 | # Source0-md5: e8072c7b1d06b983951c56e9f51fbacf | |
796ec945 | 10 | Patch0: %{name}-opt.patch |
701003ac | 11 | URL: http://www.w3.org/Amaya/ |
796ec945 JB |
12 | BuildRequires: OpenGL-GLU-devel |
13 | BuildRequires: autoconf >= 2.54 | |
d40d69cb | 14 | BuildRequires: automake |
e157f8ba | 15 | BuildRequires: expat-devel |
796ec945 JB |
16 | BuildRequires: libjpeg-devel >= 6b |
17 | BuildRequires: libpng-devel >= 1.0 | |
28a5669a | 18 | BuildRequires: libraptor |
19 | BuildRequires: libraptor-devel | |
20 | BuildRequires: libtool >= 2:1.4d-3 | |
057d42e2 ER |
21 | BuildRequires: redland-devel >= 0.9.16 |
22 | BuildRequires: w3c-libwww-devel >= 5.4.0-8 | |
23 | BuildRequires: zlib-devel | |
796ec945 JB |
24 | BuildRequires: wxGTK2-unicode-devel |
25 | BuildRequires: wxGTK2-unicode-gl-devel | |
701003ac | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e157f8ba | 27 | |
057d42e2 ER |
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 | |
796ec945 | 31 | |
701003ac | 32 | %description |
e157f8ba | 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. | |
37 | ||
b93d60f7 JR |
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. | |
e157f8ba | 43 | |
e157f8ba | 44 | %prep |
057d42e2 ER |
45 | %setup -q -n Amaya%{version} |
46 | install -d sys-libs | |
47 | mv Mesa freetype libwww redland wxWidgets sys-libs | |
48 | cd Amaya | |
e157f8ba | 49 | %patch0 -p1 |
50 | ||
51 | %build | |
057d42e2 | 52 | cd Amaya |
28a5669a | 53 | %{__libtoolize} |
b01b5274 | 54 | %{__aclocal} |
e157f8ba | 55 | %{__autoconf} |
b01b5274 | 56 | %{__autoheader} |
057d42e2 | 57 | install -d Linux |
e157f8ba | 58 | cd Linux |
59 | ../%configure \ | |
796ec945 | 60 | WXCONFIG=/usr/bin/wx-gtk2-unicode-config \ |
057d42e2 ER |
61 | --prefix=%{_libdir} \ |
62 | --enable-system-libwww \ | |
796ec945 | 63 | --enable-system-wx \ |
e157f8ba | 64 | --with-dav \ |
057d42e2 | 65 | --with-gl |
796ec945 | 66 | |
057d42e2 ER |
67 | %{__make} -j1 \ |
68 | AMAYA_LIBWWW_SRC= \ | |
69 | AMAYA_LIBWWW_INCLUDES="$(libwww-config --cflags)" \ | |
70 | AMAYA_LIBWWW_LIBS="$(libwww-config --libs)" \ | |
71 | IMGLIBS="-lpng -ljpeg" \ | |
72 | EXPAT_LIBRARIES="-lpng -ljpeg" | |
73 | ||
74 | # EXPAT_LIBRARIES/IMGLIBS is fake, just convient place to add LIBS | |
e157f8ba | 75 | |
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
796ec945 | 78 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}} |
057d42e2 ER |
79 | %{__make} -C Amaya/Linux install \ |
80 | AMAYA_LIBWWW_SRC= \ | |
796ec945 | 81 | DESTDIR=$RPM_BUILD_ROOT |
020215f7 | 82 | |
057d42e2 | 83 | ln -sf %{_libdir}/Amaya/wx/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya |
e157f8ba | 84 | |
d40d69cb JB |
85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
e157f8ba | 88 | %files |
89 | %defattr(644,root,root,755) | |
057d42e2 ER |
90 | %doc Amaya/{amaya/COPYRIGHT,README,README.wx} |
91 | %attr(755,root,root) %{_bindir}/amaya | |
92 | %dir %{_libdir}/Amaya | |
93 | %{_libdir}/Amaya/amaya | |
94 | %{_libdir}/Amaya/annotlib | |
95 | %{_libdir}/Amaya/config | |
96 | %{_libdir}/Amaya/dicopar | |
97 | %{_libdir}/Amaya/doc | |
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 |