Name: dillo
Version: 0.8.6
Release: 3%{?dist}
Summary: Very small and fast GUI web browser
Group: Applications/Internet
License: GPL
URL: http://www.dillo.org/
Source0: http://www.dillo.org/download/dillo-0.8.6.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}-i18n.desktop
Patch0: dillo-0.8.0-nodebug.patch
#http://teki.jpn.ph/pc/software/index-e.shtml#dillo-i18n
Patch1: dillo-0.8.6-i18n-misc-20060524.diff.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk+-devel
BuildRequires: zlib-devel
BuildRequires: desktop-file-utils
BuildRequires: libpng-devel >= 1.2.0
BuildRequires: libjpeg-devel = 6b
BuildRequires: openssl-devel
BuildRequires: libXft-devel
BuildRequires: fltk-devel
Requires: wget
Provides: webclient
%description
Dillo is a very small and fast web browser using GTK.
Currently: no frames,https,javascript.
%prep
# i18n version
%setup -q
%patch0
%patch1 -p1
mv ../%{name}-%{version} ../%{name}-%{version}-i18n
# normal version
%setup -q
%patch0
%build
#normal
%configure --disable-dependency-tracking --enable-ipv6 --enable-anti-alias \
--enable-meta-refresh --enable-ssl --disable-rpath --disable-dlgui
# i18n
cd ../%{name}-%{version}-i18n
%configure --disable-dependency-tracking --enable-ipv6 --enable-anti-alias \
--enable-meta-refresh --enable-ssl --disable-rpath --disable-dlgui
cd ../%{name}-%{version}
make %{?_smp_mflags}
cd ../%{name}-%{version}-i18n
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
#i18n
cd ../%{name}-%{version}-i18n/
make install DESTDIR=$RPM_BUILD_ROOT
rm -f doc/Makefile*
#normal
cd ../%{name}-%{version}/
make install DESTDIR=$RPM_BUILD_ROOT
rm -f doc/Makefile*
# install i18n binary
%{__install} -p -m0755 ../%{name}-%{version}-i18n/src/dillo \
$RPM_BUILD_ROOT/%{_bindir}/dillo-i18n
# do the rest
%{__install} -d -m0755 $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor fedora \
--add-category X-Fedora \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
%{SOURCE1}
# i18n
%{__install} -d -m0755 $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor fedora \
--add-category X-Fedora \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
%{SOURCE3}
%{__install} -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/dillo.png
%find_lang dillo
%clean
rm -rf $RPM_BUILD_ROOT
%files -f dillo.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README ChangeLog doc
%config(noreplace) %{_sysconfdir}/*
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/dillo.png
%{_libdir}/%{name}
%changelog
* Tue Sep 12 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.6-3
- FE6 rebuild
* Tue Jul 04 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.6-2
- fix some more aspects of #187691 (package now contains dillo and dillo-i18n)
- fix #197370
* Sun Jun 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.6-1
- version upgrade
- fix #187691
* Mon Apr 17 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.5-3
- enable some options
* Wed Apr 05 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.5-2
- add i18n patch (#147381)
* Sat Mar 04 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.8.5-1
- reenable build
- version upgrade
- add dist
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Thu Feb 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.4-2
- Add icon, thanks to Robin Humble.
* Tue Jan 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.4-1
- Update to 0.8.4, fixes CAN-2005-0012 (#144953).
* Tue Sep 7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.2-0.fdr.1
- Update to 0.8.2.
- Disable dependency tracking to speed up the build.
* Thu Jun 20 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:0.8.1-0.fdr.1
- 0.8.1 release
* Mon Apr 19 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:0.8.0-0.fdr.3
- Require wget for https support.
* Thu Feb 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.2
- Use "make install DESTDIR" instead of the %%makeinstall macro to avoid
buildroot traces in installed files.
- Fix files list so that debuginfo files are not included in main package.
- Desktop entry improvements, split into external file.
- Include more docs.
- Convert spec file to UTF-8.
* Tue Feb 10 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:0.8.0-0.fdr.1
- 0.8.0 release
- Add patch to silence debug messages
* Mon Aug 25 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.7.3-0.fdr.2
- Include ChangeLog in docs.
- Use X-Fedora , not X-Red-Hat-Extra.
- Add proper BuildRequires,remove Requires, since they're automatically
picked up.
- use config(noreplace) for dillorc.
- add Provides webclient.
* Sat Aug 23 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.7.3-0.fdr.1
- Initial RPM release for fedora