Name: Mosaic Version: 2.7 Release: 0.1.b5%{?dist} Summary: Web Browser Group: Applications/Internet License: NCSA URL: http://www.ncsa.uiuc.edu/Projects/mosaic.html Source0: ftp://ftp.ncsa.uiuc.edu/Mosaic/Unix/source/Mosaic-src-2.7b5.tar.gz Source1: Mosaic.desktop Patch0: Mosaic-2.7b5-compile.patch Patch1: Mosaic-2.7b5-modern.patch Patch2: Mosaic-2.7b5-crash.patch Patch3: Mosaic-2.7b5-script.patch Patch4: Mosaic-2.7b5-hash_url.patch Patch5: Mosaic-2.7b5-redirect.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openmotif-devel libjpeg-devel libpng-devel BuildRequires: autoconf ImageMagick desktop-file-utils %description Mosaic is the web browser and client for protocols such as FTP, Usenet, and Gopher. Its has a clean, easily understood user interface and is capable of displaying images inline with text. %prep %setup -q -n %{name}-src %patch0 -p1 -b .compile %patch1 -p1 -b .modern %patch2 -p1 -b .crash %patch3 -p1 -b .script %patch4 -p1 -b .hash_url %patch5 -p1 -b .redirect %build autoconf %configure --with-png --with-jpeg make %{?_smp_mflags} # Convert the icon into Icon Theme Specification compilant one convert src/pixmaps/s_icon.1.xpm Mosaic.png %install rm -rf $RPM_BUILD_ROOT # Directory structure install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps install -d $RPM_BUILD_ROOT%{_datadir}/applications install -d $RPM_BUILD_ROOT%{_bindir} # Executable install src/Mosaic $RPM_BUILD_ROOT%{_bindir} # Icon install -pm 0644 Mosaic.png $RPM_BUILD_ROOT%{_datadir}/pixmaps # Menu entry desktop-file-install --vendor=fedora %{SOURCE1} \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/Mosaic %{_datadir}/pixmaps/Mosaic.png %{_datadir}/applications/fedora-Mosaic.desktop %doc CHANGES COPYRIGHT FEATURES INSTALL README %doc README.resources.html %changelog * Tue Nov 25 2008 Lubomir Rintel - 2.7-0.1.b5 - Initial packaging