amaya/amaya.spec

Name: amaya
Summary: The W3C Web browser and editor
Version: 9.1
Release: 1.2
License: W3C
Group: Applications/Internet
URL: http://www.w3.org/Amaya/
Description: Amaya is a Web editor, i.e. a tool used to create and update documents directly on the Web. Browsing features are seamlessly integrated with the editing and remote access features in a uniform environment. This follows the original vision of the Web as a space for collaboration and not just a one-way publishing medium.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries

%define desktop-vendor rpmforge

Summary: The W3C Web browser and editor
Name: amaya
Version: 9.1
Release: 1.2%{?dist}
License: W3C
Group: Applications/Internet
URL: http://www.w3.org/Amaya/

Source: http://www.w3.org/Amaya/Distribution/amaya-src-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: autoconf, automake, libpng-devel, libjpeg-devel
BuildRequires: desktop-file-utils, gcc-c++, ncurses-devel, flex
BuildRequires: zlib-devel, gtk+-devel, imlib-devel, w3c-libwww-devel

%description
Amaya is a Web editor, i.e. a tool used to create and update documents
directly on the Web. Browsing features are seamlessly integrated with the
editing and remote access features in a uniform environment. This follows
the original vision of the Web as a space for collaboration and not just a
one-way publishing medium.

%prep
%setup -n Amaya

%{__cat} <<EOF >%{name}.desktop
[Desktop Entry]
Name=Amaya
Comment=Web browser and editor
Exec=amaya
Terminal=false
Type=Application
StartupNotify=true
Encoding=UTF-8
Categories=Application;Network;X-Red-Hat-Extra;
EOF

%build
%{__mkdir} linux
cd linux
../configure --prefix="%{_libdir}" --exec-prefix="%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -d %{buildroot}%{_libdir}
%{__install} -d %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}
cd linux
%makeinstall prefix="%{buildroot}%{_libdir}" exec_prefix="%{buildroot}%{_prefix}"
%{__rm} -f %{buildroot}%{_bindir}/amaya*
%{__ln_s} %{_bindir}/amaya-gtk %{buildroot}%{_bindir}/amaya
%{__ln_s} %{_libdir}/Amaya/gtk/bin/amaya %{buildroot}%{_bindir}/amaya-gtk
cd -
%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
desktop-file-install --vendor %{desktop_vendor}    \
	--add-category X-Red-Hat-Base              \
	--dir %{buildroot}%{_datadir}/applications \
	amaya.desktop

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README*
%{_bindir}/amaya
%{_bindir}/amaya-gtk
%{_libdir}/Amaya/
%{_datadir}/applications/%{desktop_vendor}-amaya.desktop

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 9.1-1.2
- Rebuild for Fedora Core 5.

* Tue Mar 08 2005 Dries Verachtert <dries@ulyssis.org> - 9.1-1
- Update to release 9.1.

* Wed Jan 05 2005 Dries Verachtert <dries@ulyssis.org> - 8.7-1
- Initial package.