Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again:Fedora
dillo
dillo2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dillo2.spec of Package dillo
%define name dillo %define realversion 2.2 %define version 2.2 %define release 0%{?_with_ssl:.ssl} %define freedesktop %(if [ -e %{_datadir}/applications ]; then echo 1; else echo 0; fi;) %{?_with_freedesktop: %{expand: %%global freedesktop 1}} %define subversion %{release} ################################################################################# # Enable building with local FLTK library %define localfltk 0 %{?_with_localfltk: %{expand: %%global localfltk 1}} ################################################################################# Name: %{name} Summary: Lightweight web browser Version: %{version} Release: 28.1 License: GPL Source0: http://www.dillo.org/download/dillo-%{realversion}.tar.bz2 Source1: dillo.png Patch1: dillo-local-fltk.patch URL: http://www.dillo.org/ Buildroot: %{_tmppath}/%{name}-root Group: Applications/Internet Provides: webclient ################################################################################# # Build dependencies # TODO: Add Xorg dependencies. %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} %define docdir %{_docdir}/%{name}-%{version} BuildRequires: gcc-c++ pkgconfig libpng-devel libjpeg-devel BuildRequires: libX11-devel libXi-devel libXft-devel BuildRequires: zlib-devel openssl-devel %endif %if 0%{?suse_version} %define docdir %{_docdir}/%{name} BuildRequires: gcc-c++ pkg-config libpng12-devel libpng12-compat-devel BuildRequires: xorg-x11-devel xorg-x11-libXext-devel Mesa-devel BuildRequires: xorg-x11-libs xorg-x11-util-devel %if 0%{?suse_version} > 1130 BuildRequires: libjpeg62-devel %else BuildRequires: libjpeg-devel %endif %endif %if 0%{?mandriva_version} %define docdir %{_docdir}/%{name} BuildRequires: gcc-c++ pkgconfig libpng-devel libjpeg-devel BuildRequires: X11-devel zlib-devel openssl-devel %endif %if !%{localfltk} # FLTK 2.x is still in development, but we're providing a SRPM for building. BuildRequires: fltk2-devel %endif # Other dependencies. DPIs for FTP, HTTPS, downloading require wget. Requires: wget # Autoconf/Automake - needed for CVS and some patched versions # (Uncomment these further below as well) %if %{localfltk} BuildRequires: autoconf BuildRequires: automake %endif ################################################################################# %description What's Dillo? * Dillo is a multi-platform graphical web browser known for its speed and small size. * Dillo is written in C and C++. * Dillo is based on FLTK2, the Fast Light ToolKit. * Dillo is free software made available under the terms of the GNU General Public License (GPL3). * Dillo strives to be friendly both to users and developers. * Dillo helps web authors to comply with web standards by using the bug meter. ################################################################################# %prep %setup -q -n dillo-%{realversion} %if %{localfltk} %patch1 -p0 # Avoid autoconf compatibility problems aclocal autoheader autoconf automake -a %endif ################################################################################# %build ./configure \ --prefix=%{_prefix} \ %{?_with_ssl: --enable-ssl } \ %{!?_with_ssl: --disable-ssl } \ --sysconfdir=/etc make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ################################################################################# %install %{__install} -d -m 0755 %{buildroot}%{_bindir} %{__install} -d -m 0755 %{buildroot}%{docdir} %{__install} -d -m 0755 %{buildroot}%{_datadir}/{pixmaps,applications,doc/dillo} make install-strip DESTDIR=%{buildroot} echo -e "[Desktop Entry] Name=Dillo GenericName=Web Browser Comment=Very small and fast GUI web browser Exec=dillo Icon=dillo Terminal=false Type=Application Encoding=UTF-8 Categories=Network;GTK;WebBrowser;" > %{name}.desktop %{__install} -m 0644 %{name}.desktop %{buildroot}%{_datadir}/applications %{__install} -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps %ifarch x86_64 mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} %endif ###################################### mv doc developers rm -f developers/Makefile* ################################################################################# %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} ################################################################################# %files %defattr(-,root,root) %doc README COPYING AUTHORS NEWS ChangeLog developers %dir %{_datadir}/doc/%{name} %config %{_sysconfdir}/dillo %{_bindir}/* %{_libdir}/* %{_mandir}/* %{_datadir}/doc/%{name}/user_help.html %{_datadir}/applications/dillo.desktop %{_datadir}/pixmaps/dillo.png ################################################################################# %changelog * Mon Mar 21 2011 Agnelo de la Crotche <agnelo@unixversal.com> - update to 2.2 - package for openSUSE 11.3, 11.4 * Sat Jul 4 2009 Kelson Vibber <software@hyperborea.org> - update to 2.1.1 * Fri Jun 19 2009 Kelson Vibber <software@hyperborea.org> - updated to RC3, make ssl optional using --with-ssl * Wed Jun 17 2009 Kelson Vibber <software@hyperborea.org> - enable ssl * Tue Jun 16 2009 Kelson Vibber <software@hyperborea.org> - Update to Dillo 2.1, move config files to /etc/dillo, add man page * Mon Oct 13 2008 Kelson Vibber <software@hyperborea.org> - First stab at update to Dillo 2. * Thu Apr 27 2006 Kelson Vibber <software@hyperborea.org> - Apply patch to enable building against a locally-installed FLTK * Wed Apr 26 2006 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.6 final. * Fri Mar 24 2006 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.6-rc2. - FLTK2 is not typically available to RPM, so provide option to disable the downloads GUI when building by passing "--without fltk" to rpmbuild - Fix autodetect problem with SuSE 10 * Mon Jun 20 2005 Kelson Vibber <software@hyperborea.org> - Rebuild with official 0.8.5 tarball to fix build problems on older Mandrake * Thu Jun 16 2005 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.5 using 0.8.5-rc1 tarball * Tue Jan 11 2005 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.4 - Includes security fix for CAN-2005-0012 - Update the RPM description * Mon Oct 25 2004 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.3 - First try at making distro layout configurable * Tue Jul 6 2004 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.2 * Sat May 15 2004 Kelson Vibber <software@hyperborea.org> - Upgrade to 0.8.1 * Thu Apr 1 2004 Kelson Vibber <software@hyperborea.org> - Remove explicit Requires: for XFree86 (many distros are moving to other X implementations) - Remove all Requires: for libraries, since RPM will take care of this automatically. (Cleaner spec, fewer probs w/ renaming/replacing packages) * Sun Feb 8 2004 Kelson Vibber <software@hyperborea.org> - Update to release 0.8.0 - Switch to freedesktop.org menu where appropriate * Tue Feb 3 2004 Kelson Vibber <software@hyperborea.org> - make changes for building current CVS version in preparation for 0.8.0 - only create _menudir on distributions that define it - use DESTDIR instead of changing prefix on make install - remove configure patch (now merged in) * Sun Oct 12 2003 Kelson Vibber <software@hyperborea.org> - move prefix settings from configure to install. - correct menu structure for Conectiva - check for versions of SuSE <= 7.3 that use different package names and include development headers in libpng and libjpeg - tidied & commented spec file * Sat Oct 04 2003 Kelson Vibber <software@hyperborea.org> - add build dependency on XFree86-devel. - remove libpng dependency for Conectiva because they rename their packages; rely on library dependencies instead * Mon Sep 01 2003 Kelson Vibber <software@hyperborea.org> - check for presence of libjpeg * Tue Aug 12 2003 Kelson Vibber <software@hyperborea.org> - patch to compile on SuSE 8.1. Shouldn't affect RH <= 9 or Mdk <= 9.1 * Wed Aug 06 2003 Kelson Vibber <software@hyperborea.org> - attempt to build for Conectiva * Tue Aug 05 2003 Kelson Vibber <software@hyperborea.org> - update to 0.7.3 * Thu Jul 24 2003 Kelson Vibber <software@hyperborea.org> - modified to account for limitations in nested if macros in some versions of RPM (such as that shipped with Mandrake 8.2) * Thu Jun 26 2003 Kelson Vibber <software@hyperborea.org> - patch to update links to use www.dillo.org - modified to build for SuSE (but manu/icon may need adjustment) * Mon Jun 23 2003 Kelson Vibber <software@hyperborea.org> - modified to build for Mandrake Linux menus and auto-detect Mandrake/Red Hat * Tue May 6 2003 Kelson Vibber <software@hyperborea.org> - minor fix to dillo.desktop file * Tue Apr 29 2003 Kelson Vibber <software@hyperborea.org> - Update to 0.7.2, separated patched/vanilla versions * Thu Feb 27 2003 Kelson Vibber <software@hyperborea.org> - Added patch to fix loss of bookmarks. * Mon Feb 17 2003 Kelson Vibber <software@hyperborea.org> - Start from scratch for 0.7.0 release. Melvin Hadasht's patches have been incorporated into the main tree. The remote and encodings patches are now out of date; I'll put them back in when they catch up or when I have a chance to update them myself. * Fri Nov 22 2002 Kelson Vibber <software@hyperborea.org> - Updated localization patches to work with /etc/dillo.encodings * Wed Oct 16 2002 Kelson Vibber <software@hyperborea.org> - Added localization patches from http://bobuk.ipost.ru/packages/dillo/ * Tue Oct 15 2002 Kelson Vibber <software@hyperborea.org> - Added new version of Melvin Hadasht's patch * Tue Sep 17 2002 Kelson Vibber <software@hyperborea.org> - Added icon - Added patch for Mosaic-style remote control from http://xemacs.seanm.ca/ - Added combined command-line help, full-window, local-only and embeddable patches from http://melvin.hadasht.free.fr/home/index.html * Sun Sep 15 2002 Kelson Vibber <software@hyperborea.org> - First version of RPM spec
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor