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