]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- updated to 0.8.6
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The GTK+ Web Browser
3 Summary(pl):    DILLO - przegl±darka WWW
4 Name:           dillo
5 Version:        0.8.6
6 Release:        0.1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  b65233d368bbd265a55effcf2c17f84b
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-gzip_fallback.patch
14 Patch1:         %{name}-0.7.0-alt-asp-charset-encodings-sysconfdir.patch
15 URL:            http://www.dillo.org/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel >= 1.0.9
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/dillo
24
25 %description
26 Dillo is a small GTK+ based (GNOME is NOT required!) web browser.
27 Dillo aims to be a multi-platform browser alternative that's small,
28 stable, developer-friendly, usable, fast, and extensible.
29
30 %description -l pl
31 Dillo jest ma³±, opart± na bibliotece GTK+ (GNOME nie jest wymagany)
32 przegl±dark± WWW. Dillo ma byæ wieloplatformow± alternatywn±
33 przegl±dark±, która jest ma³a, stabilna, przyjazna dla developerów,
34 u¿yteczna, szybka i rozszerzalna.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --enable-cookies \
47         --enable-ipv6 \
48         --disable-dlgui
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
59 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
60 install encodings  $RPM_BUILD_ROOT%{_sysconfdir}
61
62 #%%find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 #%%files -f %{name}.lang
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
71 %attr(755,root,root) %{_bindir}/*
72 %{_desktopdir}/*
73 %{_pixmapsdir}/*
74 %dir %{_libdir}/dillo
75 %attr(755,root,root) %{_libdir}/dillo/*
76 %dir %{_sysconfdir}
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.058478 seconds and 4 git commands to generate.