General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

amaya spec file : Dries RPM Repository

Back to the amaya rpms

Current spec in pydar2:


# $Id: amaya.spec 4286 2006-04-08 21:39:15Z dries $
# Authority: dries

%define desktop-vendor rpmforge

Summary: The W3C Web browser and editor
Name: amaya
Version: 9.1
Release: 1.2
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} <%{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  - 9.1-1.2
- Rebuild for Fedora Core 5.

* Tue Mar 08 2005 Dries Verachtert  - 9.1-1
- Update to release 9.1.

* Wed Jan 05 2005 Dries Verachtert  - 8.7-1
- Initial package.