]> git.pld-linux.org Git - packages/amaya.git/blobdiff - amaya.spec
- updated to 8.2 (released 13/11/2003)
[packages/amaya.git] / amaya.spec
index a781fcb3f307420fe7d5ec2760aa70441d3b4a77..94b3fc2326b37cefaed8025970b819552ff00210 100644 (file)
@@ -1,28 +1,29 @@
 Summary:       Web Browser/Editor from the World Wide Web Consortium
 Summary(pl):   PrzeglĀ±darka/edytor stron www z World Wide Web Consortium
 Name:          amaya
-Version:       7.1
-Release:       2
+Version:       8.2
+Release:       1
 License:       Copyright 1995-2002 (MIT) (INRIA), (L)GPL compatible
 Group:         X11/Applications/Networking
 Source0:       ftp://ftp.w3.org/pub/amaya/%{name}-src-%{version}.tgz
+# Source0-md5: 5c70a26cb3b97c40febd779f4b604a29
 #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)
 
-
 %description
 Amaya is a complete web browsing and authoring environment and comes
 equipped with a WYSIWYG style of interface, similar to that of the
@@ -46,7 +47,6 @@ Autorzy:
 %prep
 %setup -q -n Amaya
 %patch0 -p1
-%patch1 -p1
 
 %build
 #%%{__aclocal}
@@ -56,19 +56,27 @@ cp -f /usr/share/automake/{config.,missing}* .
 mkdir Linux
 cd Linux
 ../%configure \
-       --prefix=$RPM_BUILD_ROOT%{_libdir} \
+       --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,%{_libdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
 cd Linux
-%{__make} install
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_libdir} \
+       datadir=$RPM_BUILD_ROOT%{_libdir}
+
 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
@@ -80,6 +88,3 @@ ln -sf %{_libdir}/Amaya/applis/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya
 %dir %{_libdir}/Amaya/applis
 %dir %{_libdir}/Amaya/applis/bin
 %attr(755,root,root) %{_libdir}/Amaya/applis/bin/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.353453 seconds and 4 git commands to generate.