]> git.pld-linux.org Git - packages/amaya.git/blobdiff - amaya.spec
- use system libwww
[packages/amaya.git] / amaya.spec
index 90c0724be553f86b4ef5dddf7c5ea7b79574dc00..9a1c13c46540deaa0c6b4dae786721a4797f6901 100644 (file)
@@ -1,32 +1,30 @@
 Summary:       Web Browser/Editor from the World Wide Web Consortium
-Summary(pl):   Przegl±darka/edytor stron www z World Wide Web Consortium
+Summary(pl.UTF-8):     Przeglądarka/edytor stron WWW z World Wide Web Consortium
 Name:          amaya
-Version:       7.1
+Version:       8.6
 Release:       1
 License:       Copyright 1995-2002 (MIT) (INRIA), (L)GPL compatible
 Group:         X11/Applications/Networking
-URL:           http://www.w3.org/Amaya/
 Source0:       ftp://ftp.w3.org/pub/amaya/%{name}-src-%{version}.tgz
+# Source0-md5: a70d4fcb5c3f8d81eff78522dc7f8b01
 #Source1:      ftp://ftp.w3.org/pub/amaya/Dutch.tgz
 #Source2:      ftp://ftp.w3.org/pub/amaya/Spanish.tgz
 #Source3:      ftp://ftp.w3.org/pub/amaya/Italian.tgz
 #Source4:      ftp://ftp.w3.org/pub/amaya/Swedish.tgz
 #Source5:      ftp://ftp.w3.org/pub/amaya/German.tgz
-Patch0:                %{name}-ac-gtkglarea.patch
-Patch1:                %{name}-install.patch
+Patch0:                %{name}-install.patch
+URL:           http://www.w3.org/Amaya/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: expat-devel
 BuildRequires: gtk+-devel
+BuildRequires: imlib-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: zlib-devel
-BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-
 Amaya is a complete web browsing and authoring environment 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
@@ -36,12 +34,11 @@ Authors:
 --------- Irene.Vatton@w3.org, Jose.Kahan@w3.org,
   Vincent.Quint@w3.org, Laurent.Carcone@w3.org
 
-%description -l pl
-
-Amaya jest kompletn± przegl±dark± www i ¶rodowiskiem tworzenia stron
-www, wyposa¿ona jest w interfejs WYSIWYG podobny do stosowanego w
-najbardziej popularnych komercyjnych przegl±darkach. Z takim
-interfejsem u¿ytkownicy nie musz± wiedzieæ co to jest HTML czy CSS.
+%description -l pl.UTF-8
+Amaya jest kompletną przeglądarką WWW i środowiskiem tworzenia stron
+WWW, wyposażona jest w interfejs WYSIWYG podobny do stosowanego w
+najbardziej popularnych komercyjnych przeglądarkach. Z takim
+interfejsem użytkownicy nie muszą wiedzieć co to jest HTML czy CSS.
 
 Autorzy:
 --------- Irene.Vatton@w3.org, Jose.Kahan@w3.org,
@@ -50,36 +47,44 @@ Autorzy:
 %prep
 %setup -q -n Amaya
 %patch0 -p1
-%patch1 -p1
 
 %build
+%{__aclocal}
 %{__autoconf}
+%{__autoheader}
 cp -f /usr/share/automake/{config.,missing}* .
 mkdir Linux
 cd Linux
 ../%configure \
-       --prefix=$RPM_BUILD_ROOT%{_prefix} \
+       --prefix=%{_prefix} \
+       --datadir=%{_libdir} \
        --without-graphic-libs \
        --with-dav \
+       --with-gtk \
        --with-x
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/bin
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
 cd Linux
-%{__make} install
-ln -sf %{_prefix}/Amaya/applis/bin/%{name} $RPM_BUILD_ROOT%{_prefix}/bin/%{name} 
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_libdir} \
+       datadir=$RPM_BUILD_ROOT%{_libdir}
 
-%files
-%defattr(644,root,root,755)
-%doc amaya/COPYRIGHT README README.amaya README.gl
-%attr(755,root,root) %{_bindir}/amaya
-%dir %{_prefix}/Amaya
-%{_prefix}/Amaya/amaya
-%{_prefix}/Amaya/annotlib
-%{_prefix}/Amaya/[cdf]*
-%attr(755,root,root) %{_prefix}/Amaya/applis/bin/*
+ln -sf %{_libdir}/Amaya/applis/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya
 
 %clean
 rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc amaya/COPYRIGHT README README.amaya README.gl README.wx
+%attr(755,root,root) %{_bindir}/amaya
+%dir %{_libdir}/Amaya
+%{_libdir}/Amaya/amaya
+%{_libdir}/Amaya/annotlib
+%{_libdir}/Amaya/[cdf]*
+%dir %{_libdir}/Amaya/applis
+%dir %{_libdir}/Amaya/applis/bin
+%attr(755,root,root) %{_libdir}/Amaya/applis/bin/*
This page took 0.496548 seconds and 4 git commands to generate.