From: Tomasz Pala Date: Sat, 4 Jan 2003 10:17:15 +0000 (+0000) Subject: - use %{name} where it could be, not everywhere, X-Git-Tag: auto/ac/amaya-8_2-1~17 X-Git-Url: http://git.pld-linux.org/?p=packages%2Famaya.git;a=commitdiff_plain;h=701003ac60eb2ca2a8a1dbf61c1cf492735ea6a7 - use %{name} where it could be, not everywhere, - /usr/X11R6 %{_prefix} is back. Changed files: amaya.spec -> 1.5 --- diff --git a/amaya.spec b/amaya.spec index e6fe09e..a025258 100644 --- a/amaya.spec +++ b/amaya.spec @@ -5,7 +5,6 @@ Version: 7.1 Release: 2 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 #Source1: ftp://ftp.w3.org/pub/amaya/Dutch.tgz #Source2: ftp://ftp.w3.org/pub/amaya/Spanish.tgz @@ -14,16 +13,19 @@ Source0: ftp://ftp.w3.org/pub/amaya/%{name}-src-%{version}.tgz #Source5: ftp://ftp.w3.org/pub/amaya/German.tgz Patch0: %{name}-ac-gtkglarea.patch Patch1: %{name}-install.patch +URL: http://www.w3.org/Amaya/ BuildRequires: autoconf BuildRequires: expat-devel BuildRequires: gtk+-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: zlib-devel -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%description +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man +%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 @@ -34,7 +36,6 @@ Authors: 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 @@ -50,7 +51,9 @@ Autorzy: %patch1 -p1 %build +#%{__aclocal} %{__autoconf} +#%{__autoheader} cp -f /usr/share/automake/{config.,missing}* . mkdir Linux cd Linux @@ -66,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_prefix}/bin,%{_libdir}} cd Linux %{__make} install -ln -sf %{_libdir}/Amaya/applis/bin/%{name} $RPM_BUILD_ROOT%{_prefix}/bin/%{name} +ln -sf %{_libdir}/Amaya/applis/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya %files %defattr(644,root,root,755)