]> git.pld-linux.org Git - packages/amaya.git/blame - amaya.spec
up to 11.4.4; gtk1 dropped, only wxwidgets now
[packages/amaya.git] / amaya.spec
CommitLineData
e157f8ba 1Summary: Web Browser/Editor from the World Wide Web Consortium
500e4efe 2Summary(pl.UTF-8): Przeglądarka/edytor stron WWW z World Wide Web Consortium
e157f8ba 3Name: amaya
057d42e2
ER
4Version: 11.4.4
5Release: 0.1
e157f8ba 6License: Copyright 1995-2002 (MIT) (INRIA), (L)GPL compatible
7Group: X11/Applications/Networking
057d42e2
ER
8Source0: ftp://ftp.w3.org/pub/amaya/%{name}-sources-%{version}.tgz
9# Source0-md5: e8072c7b1d06b983951c56e9f51fbacf
796ec945 10Patch0: %{name}-opt.patch
701003ac 11URL: http://www.w3.org/Amaya/
796ec945
JB
12BuildRequires: OpenGL-GLU-devel
13BuildRequires: autoconf >= 2.54
d40d69cb 14BuildRequires: automake
e157f8ba 15BuildRequires: expat-devel
796ec945
JB
16BuildRequires: libjpeg-devel >= 6b
17BuildRequires: libpng-devel >= 1.0
28a5669a 18BuildRequires: libraptor
19BuildRequires: libraptor-devel
20BuildRequires: libtool >= 2:1.4d-3
057d42e2
ER
21BuildRequires: redland-devel >= 0.9.16
22BuildRequires: w3c-libwww-devel >= 5.4.0-8
23BuildRequires: zlib-devel
796ec945
JB
24BuildRequires: wxGTK2-unicode-devel
25BuildRequires: wxGTK2-unicode-gl-devel
701003ac 26BuildRoot: %{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 33Amaya is a complete web browsing and authoring environment and comes
34equipped with a WYSIWYG style of interface, similar to that of the
35most popular commercial browsers. With such an interface, users do not
36need to know the HTML or CSS languages.
37
b93d60f7
JR
38%description -l pl.UTF-8
39Amaya jest kompletną przeglądarką WWW i środowiskiem tworzenia stron
40WWW, wyposażona jest w interfejs WYSIWYG podobny do stosowanego w
41najbardziej popularnych komercyjnych przeglądarkach. Z takim
42interfejsem użytkownicy nie muszą wiedzieć co to jest HTML czy CSS.
e157f8ba 43
e157f8ba 44%prep
057d42e2
ER
45%setup -q -n Amaya%{version}
46install -d sys-libs
47mv Mesa freetype libwww redland wxWidgets sys-libs
48cd Amaya
e157f8ba 49%patch0 -p1
50
51%build
057d42e2 52cd Amaya
28a5669a 53%{__libtoolize}
b01b5274 54%{__aclocal}
e157f8ba 55%{__autoconf}
b01b5274 56%{__autoheader}
057d42e2 57install -d Linux
e157f8ba 58cd 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
77rm -rf $RPM_BUILD_ROOT
796ec945 78install -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 83ln -sf %{_libdir}/Amaya/wx/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya
e157f8ba 84
d40d69cb
JB
85%clean
86rm -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
This page took 0.070724 seconds and 4 git commands to generate.